rebase_abandoned_branch_19__qFcjiX2

Status: Failed
Started: 3/19 19:13
Execution: 23.2s
Test: 10.0s
2026-03-19 11:14:21.841	DEBUG	native:1	Pochi	pochi v0.6.1
2026-03-19 11:14:21.847	DEBUG	native:7	PochiConfigManager	add workspace config: /root/.pochi/config.jsonc
2026-03-19 11:14:21.938	DEBUG	/$bunfs/pochi:503183	loadAgents	Loaded 5 custom agents (5 valid, 0 invalid)
2026-03-19 11:14:22.008	DEBUG	/$bunfs/pochi:503184	loadSkills	Loaded 2 skills (2 valid, 0 invalid)
2026-03-19 11:14:22.031	DEBUG	/$bunfs/pochi:439420	PochiVendor	JWT is expiring or missing, fetching a new one
2026-03-19 11:14:23.620	DEBUG	/$bunfs/pochi:415701	MCPHub	MCP servers configuration changed via signal:
2026-03-19 11:14:23.620	DEBUG	/$bunfs/pochi:415813	MCPHub	Build MCPHub Status
2026-03-19 11:14:23.732	DEBUG	/$bunfs/pochi:502609	TaskRunner	Starting TaskRunner...
2026-03-19 11:14:23.821	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:24.020	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: null, new: You are a support engineer recovering lost work for a developer. They abandoned a branch named `feature-x` and now need to recover it and rebase it onto the `main` branch.
2026-03-19 11:14:32.572	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:35.021	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:36.083	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: You are a support engineer recovering lost work for a developer. They abandoned a branch named `feature-x` and now need to recover it and rebase it onto the `main` branch., new: Recover and rebase the abandoned feature-x branch
2026-03-19 11:14:36.666	DEBUG	/$bunfs/pochi:454315	listFiles	handling listFile with dirPath .config/jj/repos and recursive true
2026-03-19 11:14:36.670	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:38.031	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:39.648	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 11:14:41.152	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.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 28ms
============================= 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 1 item

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

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

    def test_final_state():
        repo_path = "/home/user/repo"
        assert os.path.exists(repo_path), "Repository directory should exist"
    
        os.chdir(repo_path)
    
        # Check that feature-x exists
        result = subprocess.run(["jj", "log", "-r", "feature-x", "--no-graph"], capture_output=True, text=True)
>       assert result.returncode == 0, "feature-x branch should exist"
E       AssertionError: feature-x branch should exist
E       assert 1 == 0
E        +  where 1 = CompletedProcess(args=['jj', 'log', '-r', 'feature-x', '--no-graph'], returncode=1, stdout='', stderr="Error: Revision `feature-x` doesn't exist\n").returncode

/tests/test_final_state.py:12: AssertionError
=========================== short test summary info ============================
FAILED ../tests/test_final_state.py::test_final_state - AssertionError: featu...
============================== 1 failed in 0.04s ===============================