recover_abandoned_changes_suppor__PMN9FZB

Status: Failed
Started: 3/19 16:10
Execution: 39.8s
Test: 9.6s
2026-03-19 08:17:33.596	DEBUG	native:1	Pochi	pochi v0.6.1
2026-03-19 08:17:33.600	DEBUG	native:7	PochiConfigManager	add workspace config: /root/.pochi/config.jsonc
2026-03-19 08:17:33.689	DEBUG	/$bunfs/pochi:503183	loadAgents	Loaded 5 custom agents (5 valid, 0 invalid)
2026-03-19 08:17:33.690	DEBUG	/$bunfs/pochi:503184	loadSkills	Loaded 2 skills (2 valid, 0 invalid)
2026-03-19 08:17:33.775	DEBUG	/$bunfs/pochi:439420	PochiVendor	JWT is expiring or missing, fetching a new one
2026-03-19 08:17:35.373	DEBUG	/$bunfs/pochi:415701	MCPHub	MCP servers configuration changed via signal:
2026-03-19 08:17:35.374	DEBUG	/$bunfs/pochi:415813	MCPHub	Build MCPHub Status
2026-03-19 08:17:35.565	DEBUG	/$bunfs/pochi:502609	TaskRunner	Starting TaskRunner...
2026-03-19 08:17:35.595	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 08:17:35.797	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 08:18:11.605	DEBUG		TaskRunner	Failed:

 TypeError  undefined is not an object (evaluating 'getErrorTrace(error40).map'), 417706, 47, 417706, 47, /$bunfs/root/pochi
error stack:
  • pochi	prettyFormatErrorObj
	/$bunfs/pochi:417706
  • pochi	<anonymous>
	/$bunfs/pochi:417701
  • native	reduce
	native:1
  • pochi	log
	/$bunfs/pochi:417840
  • pochi	onError
	/$bunfs/pochi:500813
  • pochi	makeRequest
	/$bunfs/pochi:432009
  • 	
	
  • 	
	
  • 	
	
  • 	
	
  • native	processTicksAndRejections
	native:7
undefined is not an object (evaluating 'getErrorTrace(error40).map')
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:3 http://security.ubuntu.com/ubuntu noble-security 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/gdSvGVnVgd_q0QeDWZHr3/bin/python
cachedir: .pytest_cache
rootdir: /tests
collecting ... collected 4 items

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

=================================== FAILURES ===================================
________________________ test_recovered_bookmark_exists ________________________

    def test_recovered_bookmark_exists():
        result = run_jj(["bookmark", "list"])
        assert result.returncode == 0, f"jj bookmark list failed: {result.stderr}"
>       assert "recovered-login" in result.stdout, "Bookmark 'recovered-login' does not exist."
E       AssertionError: Bookmark 'recovered-login' does not exist.
E       assert 'recovered-login' in 'main: pxkklxrn 9fb8d23b Initial commit\n'
E        +  where 'main: pxkklxrn 9fb8d23b Initial commit\n' = CompletedProcess(args=['jj', 'bookmark', 'list'], returncode=0, stdout='main: pxkklxrn 9fb8d23b Initial commit\n', stderr='').stdout

/tests/test_final_state.py:14: AssertionError
________________________ test_recovered_commit_contents ________________________

    def test_recovered_commit_contents():
        # Check that the recovered-login bookmark points to a commit containing login.py
        result = run_jj(["file", "show", "login.py", "-r", "recovered-login"])
>       assert result.returncode == 0, f"Failed to show login.py at recovered-login: {result.stderr}"
E       AssertionError: Failed to show login.py at recovered-login: Error: Revision `recovered-login` doesn't exist
E         
E       assert 1 == 0
E        +  where 1 = CompletedProcess(args=['jj', 'file', 'show', 'login.py', '-r', 'recovered-login'], returncode=1, stdout='', stderr="Error: Revision `recovered-login` doesn't exist\n").returncode

/tests/test_final_state.py:19: AssertionError
_____________________ 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}"
E       AssertionError: jj log failed: Error: Revision `recovered-login` doesn't exist
E         
E       assert 1 == 0
E        +  where 1 = CompletedProcess(args=['jj', 'log', '--no-graph', '-r', 'recovered-login-', '-T', 'bookmarks'], returncode=1, stdout='', stderr="Error: Revision `recovered-login` doesn't exist\n").returncode

/tests/test_final_state.py:25: AssertionError
________________________ test_recovered_commit_id_file _________________________

    def test_recovered_commit_id_file():
>       assert os.path.isfile(COMMIT_ID_FILE), f"File {COMMIT_ID_FILE} does not exist."
E       AssertionError: File /home/user/workspace/auth-service/recovered_commit_id.txt does not exist.
E       assert False
E        +  where False = <function isfile at 0x7d2eaa200220>('/home/user/workspace/auth-service/recovered_commit_id.txt')
E        +    where <function isfile at 0x7d2eaa200220> = <module 'posixpath' (frozen)>.isfile
E        +      where <module 'posixpath' (frozen)> = os.path

/tests/test_final_state.py:29: AssertionError
=========================== short test summary info ============================
FAILED ../../tests/test_final_state.py::test_recovered_bookmark_exists - Asse...
FAILED ../../tests/test_final_state.py::test_recovered_commit_contents - Asse...
FAILED ../../tests/test_final_state.py::test_recovered_commit_parent_is_main
FAILED ../../tests/test_final_state.py::test_recovered_commit_id_file - Asser...
============================== 4 failed in 0.12s ===============================