recover_abandoned_changes_suppor__59GxsuV

Status: Failed
Started: 3/19 17:05
Execution: 1m 21.4s
Test: 9.7s
2026-03-19 09:07:50.422	DEBUG	native:1	Pochi	pochi v0.6.1
2026-03-19 09:07:50.427	DEBUG	native:7	PochiConfigManager	add workspace config: /root/.pochi/config.jsonc
2026-03-19 09:07:50.531	DEBUG	/$bunfs/pochi:503183	loadAgents	Loaded 5 custom agents (5 valid, 0 invalid)
2026-03-19 09:07:50.532	DEBUG	/$bunfs/pochi:503184	loadSkills	Loaded 2 skills (2 valid, 0 invalid)
2026-03-19 09:07:50.551	DEBUG	/$bunfs/pochi:439420	PochiVendor	JWT is expiring or missing, fetching a new one
2026-03-19 09:07:52.149	DEBUG	/$bunfs/pochi:415701	MCPHub	MCP servers configuration changed via signal:
2026-03-19 09:07:52.150	DEBUG	/$bunfs/pochi:415813	MCPHub	Build MCPHub Status
2026-03-19 09:07:52.420	DEBUG	/$bunfs/pochi:502609	TaskRunner	Starting TaskRunner...
2026-03-19 09:07:52.451	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:07:52.645	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: null, new: You are a support engineer tasked with recovering lost work for a developer. The developer was working on a repository located at `/home/user/workspace/auth-service`. They accidentally abandoned a set of commits that implemented a new login feature and the bookmark `feature-login` was deleted. Since then, they have made a new commit on the `main` branch.
2026-03-19 09:08:02.150	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:08:04.002	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: You are a support engineer tasked with recovering lost work for a developer. The developer was working on a repository located at `/home/user/workspace/auth-service`. They accidentally abandoned a set of commits that implemented a new login feature and the bookmark `feature-login` was deleted. Since then, they have made a new commit on the `main` branch., new: Recover abandoned login feature commit and create recovered-login bookmark
2026-03-19 09:08:06.291	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:08:08.744	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:08:15.132	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:08:17.226	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:08:21.847	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:08:28.040	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:08:32.938	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:08:43.436	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:08:46.535	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:08:49.323	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:08:53.032	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:08:56.020	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:08:59.980	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.5 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 5 packages in 23ms
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.4.1, pluggy-1.6.0 -- /root/.cache/uv/archive-v0/q87JkrnrhXVglLAU1FxB0/bin/python
cachedir: .pytest_cache
rootdir: /tests
collecting ... collected 4 items

../../tests/test_final_state.py::test_recovered_bookmark_exists PASSED   [ 25%]
../../tests/test_final_state.py::test_recovered_commit_contents PASSED   [ 50%]
../../tests/test_final_state.py::test_recovered_commit_parent_is_main FAILED [ 75%]
../../tests/test_final_state.py::test_recovered_commit_id_file PASSED    [100%]

=================================== FAILURES ===================================
_____________________ test_recovered_commit_parent_is_main _____________________

    def test_recovered_commit_parent_is_main():
        # The parent of recovered-login should be main
        result = run_jj(["log", "--no-graph", "-r", "recovered-login-", "-T", 'bookmarks'])
        assert result.returncode == 0, f"jj log failed: {result.stderr}"
>       assert "main" in result.stdout, "The parent of the recovered commit is not the 'main' branch."
E       AssertionError: The parent of the recovered commit is not the 'main' branch.
E       assert 'main' in ''
E        +  where '' = CompletedProcess(args=['jj', 'log', '--no-graph', '-r', 'recovered-login-', '-T', 'bookmarks'], returncode=0, stdout='', stderr='').stdout

/tests/test_final_state.py:26: AssertionError
=========================== short test summary info ============================
FAILED ../../tests/test_final_state.py::test_recovered_commit_parent_is_main
========================= 1 failed, 3 passed in 0.14s ==========================