rebase_onto_main__pXazt8W

Status: Failed
Started: 3/19 17:05
Execution: 14.4s
Test: 11.4s
2026-03-19 09:07:39.548	DEBUG	native:1	Pochi	pochi v0.6.1
2026-03-19 09:07:39.553	DEBUG	native:7	PochiConfigManager	add workspace config: /root/.pochi/config.jsonc
2026-03-19 09:07:39.743	DEBUG	/$bunfs/pochi:503183	loadAgents	Loaded 5 custom agents (5 valid, 0 invalid)
2026-03-19 09:07:39.743	DEBUG	/$bunfs/pochi:503184	loadSkills	Loaded 2 skills (2 valid, 0 invalid)
2026-03-19 09:07:39.765	DEBUG	/$bunfs/pochi:439420	PochiVendor	JWT is expiring or missing, fetching a new one
2026-03-19 09:07:41.073	DEBUG	/$bunfs/pochi:415701	MCPHub	MCP servers configuration changed via signal:
2026-03-19 09:07:41.073	DEBUG	/$bunfs/pochi:415813	MCPHub	Build MCPHub Status
2026-03-19 09:07:41.177	DEBUG	/$bunfs/pochi:502609	TaskRunner	Starting TaskRunner...
2026-03-19 09:07:41.229	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:07:41.270	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: null, new: You are a developer migrating from Git to `jj` (Jujutsu), working in a repository at `/home/user/project`.
2026-03-19 09:07:50.227	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:07:51.333	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
  • pochi	async <anonymous>
	/$bunfs/pochi:431766
  • pochi	async step
	/$bunfs/pochi:502738
  • pochi	async run
	/$bunfs/pochi:502615
  • 	
	
  • native	processTicksAndRejections
	native:7
undefined is not an object (evaluating 'getErrorTrace(error40).map')
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version (7.81.0-1ubuntu1.23).
0 upgraded, 0 newly installed, 0 to remove and 18 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 cpython-3.12.12-linux-x86_64-gnu (download) (31.1MiB)
 Downloading cpython-3.12.12-linux-x86_64-gnu (download)
Downloading pygments (1.2MiB)
 Downloading pygments
Installed 5 packages in 16ms
============================= test session starts ==============================
platform linux -- Python 3.12.12, pytest-8.4.1, pluggy-1.6.0 -- /root/.cache/uv/archive-v0/29qoCVsJao0OK3GdUtgda/bin/python
cachedir: .pytest_cache
rootdir: /tests
collecting ... collected 5 items

../../tests/test_final_state.py::test_working_copy_description PASSED    [ 20%]
../../tests/test_final_state.py::test_parent_is_project_setup FAILED     [ 40%]
../../tests/test_final_state.py::test_two_commits_above_root FAILED      [ 60%]
../../tests/test_final_state.py::test_both_files_exist FAILED            [ 80%]
../../tests/test_final_state.py::test_rebase_log_exists FAILED           [100%]

=================================== FAILURES ===================================
_________________________ test_parent_is_project_setup _________________________

    def test_parent_is_project_setup():
        result = run_jj(["log", "--no-graph", "-r", "@-", "-T", "description"])
        assert result.returncode == 0, f"jj log failed: {result.stderr}"
>       assert "chore: project setup" in result.stdout, (
            f"Parent of @ should be 'chore: project setup', got: {result.stdout.strip()}"
        )
E       AssertionError: Parent of @ should be 'chore: project setup', got: 
E       assert 'chore: project setup' in ''
E        +  where '' = CompletedProcess(args=['jj', 'log', '--no-graph', '-r', '@-', '-T', 'description'], returncode=0, stdout='', stderr='').stdout

/tests/test_final_state.py:23: AssertionError
_________________________ test_two_commits_above_root __________________________

    def test_two_commits_above_root():
        result = run_jj(["log", "--no-graph", "-r", "root()..@", "-T", 'description ++ "\\n"'])
        assert result.returncode == 0, f"jj log failed: {result.stderr}"
        descs = [l.strip() for l in result.stdout.splitlines() if l.strip()]
>       assert len(descs) == 2, (
            f"Expected 2 commits above root after rebase, found {len(descs)}: {descs}"
        )
E       AssertionError: Expected 2 commits above root after rebase, found 1: ['feat: add helper']
E       assert 1 == 2
E        +  where 1 = len(['feat: add helper'])

/tests/test_final_state.py:32: AssertionError
____________________________ test_both_files_exist _____________________________

    def test_both_files_exist():
>       assert os.path.isfile(os.path.join(REPO_DIR, "main.py")), "main.py not found after rebase."
E       AssertionError: main.py not found after rebase.
E       assert False
E        +  where False = <function isfile at 0x7f3484f60b80>('/home/user/project/main.py')
E        +    where <function isfile at 0x7f3484f60b80> = <module 'posixpath' (frozen)>.isfile
E        +      where <module 'posixpath' (frozen)> = os.path
E        +    and   '/home/user/project/main.py' = <function join at 0x7f3484f61580>('/home/user/project', 'main.py')
E        +      where <function join at 0x7f3484f61580> = <module 'posixpath' (frozen)>.join
E        +        where <module 'posixpath' (frozen)> = os.path

/tests/test_final_state.py:38: AssertionError
____________________________ test_rebase_log_exists ____________________________

    def test_rebase_log_exists():
        log_path = os.path.join(REPO_DIR, "rebase.log")
>       assert os.path.isfile(log_path), f"rebase.log not found at {log_path}."
E       AssertionError: rebase.log not found at /home/user/project/rebase.log.
E       assert False
E        +  where False = <function isfile at 0x7f3484f60b80>('/home/user/project/rebase.log')
E        +    where <function isfile at 0x7f3484f60b80> = <module 'posixpath' (frozen)>.isfile
E        +      where <module 'posixpath' (frozen)> = os.path

/tests/test_final_state.py:44: AssertionError
=========================== short test summary info ============================
FAILED ../../tests/test_final_state.py::test_parent_is_project_setup - Assert...
FAILED ../../tests/test_final_state.py::test_two_commits_above_root - Asserti...
FAILED ../../tests/test_final_state.py::test_both_files_exist - AssertionErro...
FAILED ../../tests/test_final_state.py::test_rebase_log_exists - AssertionErr...
========================= 4 failed, 1 passed in 0.09s ==========================