undo_mistaken_rebase__P2wDfm4

Status: Failed
Started: 3/19 17:05
Execution: 1m 21.4s
Test: 9.2s
2026-03-19 09:10:01.929	DEBUG	native:1	Pochi	pochi v0.6.1
2026-03-19 09:10:01.961	DEBUG	native:7	PochiConfigManager	add workspace config: /root/.pochi/config.jsonc
2026-03-19 09:10:01.985	DEBUG	/$bunfs/pochi:503183	loadAgents	Loaded 5 custom agents (5 valid, 0 invalid)
2026-03-19 09:10:01.985	DEBUG	/$bunfs/pochi:503184	loadSkills	Loaded 2 skills (2 valid, 0 invalid)
2026-03-19 09:10:02.001	DEBUG	/$bunfs/pochi:439420	PochiVendor	JWT is expiring or missing, fetching a new one
2026-03-19 09:10:03.273	DEBUG	/$bunfs/pochi:415701	MCPHub	MCP servers configuration changed via signal:
2026-03-19 09:10:03.274	DEBUG	/$bunfs/pochi:415813	MCPHub	Build MCPHub Status
2026-03-19 09:10:03.368	DEBUG	/$bunfs/pochi:502609	TaskRunner	Starting TaskRunner...
2026-03-19 09:10:03.380	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:10:03.465	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: null, new: You are a developer migrating from Git. You accidentally rebased the `feature` bookmark onto the wrong commit (`dev` instead of `main`).
2026-03-19 09:10:13.124	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:10:14.833	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:10:15.693	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: You are a developer migrating from Git. You accidentally rebased the `feature` bookmark onto the wrong commit (`dev` instead of `main`)., new: Undo mistaken rebase and rebase feature onto main with verification log
2026-03-19 09:10:18.620	DEBUG	/$bunfs/pochi:454315	listFiles	handling listFile with dirPath . and recursive false
2026-03-19 09:10:18.622	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:10:24.189	DEBUG	/$bunfs/pochi:454315	listFiles	handling listFile with dirPath .daytona/sessions and recursive true
2026-03-19 09:10:24.191	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:10:26.540	DEBUG	/$bunfs/pochi:454315	listFiles	handling listFile with dirPath /home and recursive false
2026-03-19 09:10:26.541	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:10:29.198	DEBUG	/$bunfs/pochi:454315	listFiles	handling listFile with dirPath /home/user and recursive false
2026-03-19 09:10:29.200	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:10:31.766	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:10:35.265	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:10:37.260	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:10:45.376	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:10:48.599	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:10:51.872	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:10:59.681	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:11:04.636	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:11:11.649	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:11:15.572	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:11:18.074	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version (8.5.0-2ubuntu10.8).
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
downloading uv 0.9.7 x86_64-unknown-linux-gnu
no checksums to verify
installing to /root/.local/bin
  uv
  uvx
everything's installed!

To add $HOME/.local/bin to your PATH, either restart your shell or run:

    source $HOME/.local/bin/env (sh, bash, zsh)
    source $HOME/.local/bin/env.fish (fish)
Downloading pygments (1.2MiB)
 Downloading pygments
Installed 6 packages in 12ms
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.4.1, pluggy-1.6.0
rootdir: /tests
plugins: json-ctrf-0.3.5
collected 3 items

../tests/test_final_state.py F..                                         [100%]

=================================== FAILURES ===================================
_____________________ test_feature_is_direct_child_of_main _____________________

    def test_feature_is_direct_child_of_main():
        result = run_jj(["log", "-r", "main..feature", "--no-graph", "-T", "bookmarks"])
        assert result.returncode == 0, f"jj log failed: {result.stderr}"
        # If feature is a direct child of main, `main..feature` should contain exactly one commit (the feature commit)
        # Wait, the task says "direct child", but it was originally off main's parent.
        # Actually, the truth just says "The `feature` bookmark is a direct child of the `main` bookmark."
        # We can check if `main` is the parent of `feature`.
        result_parents = run_jj(["log", "-r", "feature-", "--no-graph", "-T", "bookmarks"])
        assert result_parents.returncode == 0, f"jj log failed: {result_parents.stderr}"
>       assert "main" in result_parents.stdout, f"Expected 'main' to be the parent of 'feature', but got: {result_parents.stdout}"
E       AssertionError: Expected 'main' to be the parent of 'feature', but got: 
E       assert 'main' in ''
E        +  where '' = CompletedProcess(args=['jj', 'log', '-r', 'feature-', '--no-graph', '-T', 'bookmarks'], returncode=0, stdout='', stderr='').stdout

/tests/test_final_state.py:20: AssertionError
==================================== PASSES ====================================
=========================== short test summary info ============================
PASSED ../tests/test_final_state.py::test_feature_is_not_child_of_dev
PASSED ../tests/test_final_state.py::test_rebase_verification_log_exists_and_correct
FAILED ../tests/test_final_state.py::test_feature_is_direct_child_of_main - A...
========================= 1 failed, 2 passed in 0.06s ==========================