working_copy_incident_recovery__WeQR4Mv

Status: Failed
Started: 3/19 16:10
Execution: 1m 22.9s
Test: 10.0s
2026-03-19 08:21:25.094	DEBUG	native:1	Pochi	pochi v0.6.1
2026-03-19 08:21:25.099	DEBUG	native:7	PochiConfigManager	add workspace config: /root/.pochi/config.jsonc
2026-03-19 08:21:25.205	DEBUG	/$bunfs/pochi:503183	loadAgents	Loaded 5 custom agents (5 valid, 0 invalid)
2026-03-19 08:21:25.206	DEBUG	/$bunfs/pochi:503184	loadSkills	Loaded 2 skills (2 valid, 0 invalid)
2026-03-19 08:21:25.224	DEBUG	/$bunfs/pochi:439420	PochiVendor	JWT is expiring or missing, fetching a new one
2026-03-19 08:21:26.834	DEBUG	/$bunfs/pochi:415701	MCPHub	MCP servers configuration changed via signal:
2026-03-19 08:21:26.835	DEBUG	/$bunfs/pochi:415813	MCPHub	Build MCPHub Status
2026-03-19 08:21:26.994	DEBUG	/$bunfs/pochi:502609	TaskRunner	Starting TaskRunner...
2026-03-19 08:21:27.095	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 08:21:27.293	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: null, new: You are an incident responder recovering interrupted history edits in a repository using `jj`.
2026-03-19 08:22:45.679	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://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.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 14ms
============================= 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 5 items

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

=================================== FAILURES ===================================
___________________________ test_cache_bin_restored ____________________________

    def test_cache_bin_restored():
>       assert os.path.exists(os.path.join(REPO_DIR, "data/cache.bin")), "data/cache.bin was not restored"
E       AssertionError: data/cache.bin was not restored
E       assert False
E        +  where False = <function exists at 0x7f38f253b560>('/home/user/repo/data/cache.bin')
E        +    where <function exists at 0x7f38f253b560> = <module 'posixpath' (frozen)>.exists
E        +      where <module 'posixpath' (frozen)> = os.path
E        +    and   '/home/user/repo/data/cache.bin' = <function join at 0x7f38f22fcc20>('/home/user/repo', 'data/cache.bin')
E        +      where <function join at 0x7f38f22fcc20> = <module 'posixpath' (frozen)>.join
E        +        where <module 'posixpath' (frozen)> = os.path

/tests/test_final_state.py:12: AssertionError
__________________________ test_deploy_sh_unmodified ___________________________

    def test_deploy_sh_unmodified():
        # Should not be in diff (no local modifications from parent)
        result = run_jj(["diff", "-r", "@", "--stat"])
        assert result.returncode == 0
>       assert "scripts/deploy.sh" not in result.stdout, "scripts/deploy.sh should not have modifications"
E       AssertionError: scripts/deploy.sh should not have modifications
E       assert 'scripts/deploy.sh' not in 'config/sett...letions(-)\n'
E         
E         'scripts/deploy.sh' is contained here:
E               | 1 -
E           scripts/deploy.sh    | 2 +-
E           3 files changed, 2 insertions(+), 3 deletions(-)

/tests/test_final_state.py:18: AssertionError
___________________________ test_commit_description ____________________________

    def test_commit_description():
        result = run_jj(["log", "--no-graph", "-r", "@", "-T", 'description'])
        assert result.returncode == 0
>       assert "chore: update settings for incident recovery" in result.stdout, "Expected commit description not found"
E       AssertionError: Expected commit description not found
E       assert 'chore: update settings for incident recovery' in 'wip: working on settings and deploy\n'
E        +  where 'wip: working on settings and deploy\n' = CompletedProcess(args=['jj', 'log', '--no-graph', '-r', '@', '-T', 'description'], returncode=0, stdout='wip: working on settings and deploy\n', stderr='').stdout

/tests/test_final_state.py:29: AssertionError
__________________________ test_recovery_status_file ___________________________

    def test_recovery_status_file():
>       assert os.path.exists(STATUS_FILE), f"{STATUS_FILE} does not exist"
E       AssertionError: /home/user/recovery_status.txt does not exist
E       assert False
E        +  where False = <function exists at 0x7f38f253b560>('/home/user/recovery_status.txt')
E        +    where <function exists at 0x7f38f253b560> = <module 'posixpath' (frozen)>.exists
E        +      where <module 'posixpath' (frozen)> = os.path

/tests/test_final_state.py:38: AssertionError
==================================== PASSES ====================================
=========================== short test summary info ============================
PASSED ../tests/test_final_state.py::test_settings_yaml_in_commit
FAILED ../tests/test_final_state.py::test_cache_bin_restored - AssertionError...
FAILED ../tests/test_final_state.py::test_deploy_sh_unmodified - AssertionErr...
FAILED ../tests/test_final_state.py::test_commit_description - AssertionError...
FAILED ../tests/test_final_state.py::test_recovery_status_file - AssertionErr...
========================= 4 failed, 1 passed in 0.11s ==========================