verify_bookmarks_after_sync__rs54ik2

Status: Failed
Started: 3/19 16:10
Execution: 1m 22.8s
Test: 9.8s
2026-03-19 08:21:21.732	DEBUG	native:1	Pochi	pochi v0.6.1
2026-03-19 08:21:21.737	DEBUG	native:7	PochiConfigManager	add workspace config: /root/.pochi/config.jsonc
2026-03-19 08:21:21.851	DEBUG	/$bunfs/pochi:503183	loadAgents	Loaded 5 custom agents (5 valid, 0 invalid)
2026-03-19 08:21:21.853	DEBUG	/$bunfs/pochi:503184	loadSkills	Loaded 2 skills (2 valid, 0 invalid)
2026-03-19 08:21:21.931	DEBUG	/$bunfs/pochi:439420	PochiVendor	JWT is expiring or missing, fetching a new one
2026-03-19 08:21:23.534	DEBUG	/$bunfs/pochi:415701	MCPHub	MCP servers configuration changed via signal:
2026-03-19 08:21:23.535	DEBUG	/$bunfs/pochi:415813	MCPHub	Build MCPHub Status
2026-03-19 08:21:23.667	DEBUG	/$bunfs/pochi:502609	TaskRunner	Starting TaskRunner...
2026-03-19 08:21:23.731	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 08:21:23.923	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: null, new: You are a developer migrating from Git who just pulled the latest changes from a remote repository. The local repository is located at `/home/user/repo` and is cloned from a remote at `/home/user/remote_repo`.
2026-03-19 08:22:42.076	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://archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu noble-security 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 27ms
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.4.1, pluggy-1.6.0 -- /root/.cache/uv/archive-v0/xxebiD2efySeSEeJp-DQG/bin/python
cachedir: .pytest_cache
rootdir: /tests
collecting ... collected 1 item

../../tests/test_final_state.py::test_final_state FAILED                 [100%]

=================================== FAILURES ===================================
_______________________________ test_final_state _______________________________

    def test_final_state():
        repo_path = "/home/user/repo"
    
        # Check if we can get the bookmark feature-x
        bookmarks = run_cmd("jj bookmark list feature-x", cwd=repo_path)
        assert bookmarks.returncode == 0, f"Command failed: jj bookmark list feature-x\n{bookmarks.stderr}"
    
        # It should not have (diverged) in the output
        assert "(diverged)" not in bookmarks.stdout, "Error: feature-x is still diverged."
    
        # Get the revision ID of feature-x
        local_rev = run_cmd("jj log -r feature-x -T 'commit_id' --no-graph", cwd=repo_path)
        assert local_rev.returncode == 0, f"Command failed: jj log -r feature-x\n{local_rev.stderr}"
    
        # Get the revision ID of feature-x@origin
        remote_rev = run_cmd("jj log -r feature-x@origin -T 'commit_id' --no-graph", cwd=repo_path)
        assert remote_rev.returncode == 0, f"Command failed: jj log -r feature-x@origin\n{remote_rev.stderr}"
    
        local_id = local_rev.stdout.strip()
        remote_id = remote_rev.stdout.strip()
    
        assert local_id, "Error: Could not determine local revision ID."
        assert remote_id, "Error: Could not determine remote revision ID."
    
>       assert local_id == remote_id, f"Error: feature-x ({local_id}) does not point to feature-x@origin ({remote_id})."
E       AssertionError: Error: feature-x (689f4f0774d6dead48325a84384666a6ee678fce) does not point to feature-x@origin (b7ed4de970d481038fff1add6b74da113d13125c).
E       assert '689f4f0774d6...666a6ee678fce' == 'b7ed4de970d4...4da113d13125c'
E         
E         - b7ed4de970d481038fff1add6b74da113d13125c
E         + 689f4f0774d6dead48325a84384666a6ee678fce

/tests/test_final_state.py:32: AssertionError
=========================== short test summary info ============================
FAILED ../../tests/test_final_state.py::test_final_state - AssertionError: Er...
============================== 1 failed in 0.12s ===============================