recover_abandoned_changes_suppor__X3y7Pwm

Status: Failed
Started: 3/19 15:29
Execution: 2m 25.5s
Test: 9.7s
2026-03-19 07:46:27.508	DEBUG	native:1	Pochi	pochi v0.6.1
2026-03-19 07:46:27.513	DEBUG	native:7	PochiConfigManager	add workspace config: /root/.pochi/config.jsonc
2026-03-19 07:46:27.619	DEBUG	/$bunfs/pochi:503183	loadAgents	Loaded 5 custom agents (5 valid, 0 invalid)
2026-03-19 07:46:27.692	DEBUG	/$bunfs/pochi:503184	loadSkills	Loaded 2 skills (2 valid, 0 invalid)
2026-03-19 07:46:27.711	DEBUG	/$bunfs/pochi:439420	PochiVendor	JWT is expiring or missing, fetching a new one
2026-03-19 07:46:29.407	DEBUG	/$bunfs/pochi:415701	MCPHub	MCP servers configuration changed via signal:
2026-03-19 07:46:29.408	DEBUG	/$bunfs/pochi:415813	MCPHub	Build MCPHub Status
2026-03-19 07:46:29.593	DEBUG	/$bunfs/pochi:502609	TaskRunner	Starting TaskRunner...
2026-03-19 07:46:29.691	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:46:29.816	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 07:46:44.241	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:46:51.393	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:46:53.131	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 commit and rebase onto main branch
2026-03-19 07:46:57.895	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:47:02.694	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:47:10.698	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:47:18.236	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:47:22.899	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:47:33.476	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:47:38.963	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:47:48.242	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:47:54.312	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:48:00.434	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:48:10.019	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:48:18.711	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:48:23.162	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:48:28.223	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 07:48:40.297	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble 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 25ms
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.4.1, pluggy-1.6.0 -- /root/.cache/uv/archive-v0/r7_bLHzIodSBAaN0cnagr/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.10s ==========================