revset_ancestry_report__j5NmsGv

Status: Failed
Started: 3/19 16:10
Execution: 6m 3.0s
Test: 12.5s
2026-03-19 08:18:03.647	DEBUG	native:1	Pochi	pochi v0.6.1
2026-03-19 08:18:04.155	DEBUG	/$bunfs/root/pochi:503183	loadAgents	Loaded 5 custom agents (5 valid, 0 invalid)
2026-03-19 08:18:04.157	DEBUG	/$bunfs/root/pochi:503184	loadSkills	Loaded 2 skills (2 valid, 0 invalid)
2026-03-19 08:18:04.191	DEBUG	/$bunfs/root/pochi:439420	PochiVendor	JWT is expiring or missing, fetching a new one
2026-03-19 08:18:05.511	DEBUG	/$bunfs/root/pochi:415701	MCPHub	MCP servers configuration changed via signal:
2026-03-19 08:18:05.512	DEBUG	/$bunfs/root/pochi:415813	MCPHub	Build MCPHub Status
2026-03-19 08:18:05.550	DEBUG	/$bunfs/root/pochi:502609	TaskRunner	Starting TaskRunner...
2026-03-19 08:18:05.607	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 08:18:05.796	DEBUG	/$bunfs/root/pochi:496641	generateTaskTitle	Generating task title, old: null, new: The repository at `/home/user/repo` has bookmarks `main`, `feature-a`, `feature-b`, and `feature-c` with overlapping ancestry. Write a script that uses `jj` revsets to analyze the ancestry relationships and output a report to `/home/user/ancestry_report.txt`. The report must cover: (1) commits in `feature-a` not reachable from `main`, (2) commits present in the ancestry of all three feature branches, (3) the merge base between `feature-a` and `feature-b`, and (4) commits that modified `src/core.py` across any feature branch.
2026-03-19 08:18:36.115	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 08:19:00.367	DEBUG		generateTaskTitle	Generating task title, old: The repository at `/home/user/repo` has bookmarks `main`, `feature-a`, `feature-b`, and `feature-c` with overlapping ancestry. Write a script that uses `jj` revsets to analyze the ancestry relationships and output a report to `/home/user/ancestry_report.txt`. The report must cover: (1) commits in `feature-a` not reachable from `main`, (2) commits present in the ancestry of all three feature branches, (3) the merge base between `feature-a` and `feature-b`, and (4) commits that modified `src/core.py` across any feature branch., new: Create script to analyze jj bookmark ancestry relationships
2026-03-19 08:24:03.706	DEBUG		TaskRunner	Failed:

 TypeError  The DOMException.name getter can only be used on instances of DOMException, 1107, 17, 1107, 17, internal:util/inspect
error stack:
  • inspect	formatError
	util/inspect:1107
  • inspect	formatRaw
	util/inspect:854
  • inspect	formatWithOptionsInternal
	util/inspect:1661
  • pochi	transportFormatted
	/$bunfs/root/pochi:417727
  • pochi	log
	/$bunfs/root/pochi:417843
  • pochi	onError
	/$bunfs/root/pochi:500813
  • pochi	makeRequest
	/$bunfs/root/pochi:432009
  • 	
	
  • 	
	
  • 	
	
  • 	
	
  • native	processTicksAndRejections
	native:7
The DOMException.name getter can only be used on instances of DOMException
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 27ms
============================= 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 8 items

../../../tests/test_outputs.py FFFFFFFF                                  [100%]

=================================== FAILURES ===================================
______________________________ test_report_exists ______________________________

    def test_report_exists():
>       assert os.path.exists(REPORT), f"ancestry_report.txt must exist at {REPORT}"
E       AssertionError: ancestry_report.txt must exist at /home/user/ancestry_report.txt
E       assert False
E        +  where False = <function exists at 0x78437f8bf560>('/home/user/ancestry_report.txt')
E        +    where <function exists at 0x78437f8bf560> = <module 'posixpath' (frozen)>.exists
E        +      where <module 'posixpath' (frozen)> = os.path

/tests/test_outputs.py:20: AssertionError
_________________ test_report_has_feature_a_exclusive_section __________________

    def test_report_has_feature_a_exclusive_section():
>       with open(REPORT) as f:
             ^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ancestry_report.txt'

/tests/test_outputs.py:24: FileNotFoundError
__________________ test_report_has_all_features_intersection ___________________

    def test_report_has_all_features_intersection():
>       with open(REPORT) as f:
             ^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ancestry_report.txt'

/tests/test_outputs.py:31: FileNotFoundError
______________________ test_report_has_merge_base_section ______________________

    def test_report_has_merge_base_section():
>       with open(REPORT) as f:
             ^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ancestry_report.txt'

/tests/test_outputs.py:40: FileNotFoundError
_______________________ test_report_has_core_py_section ________________________

    def test_report_has_core_py_section():
>       with open(REPORT) as f:
             ^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ancestry_report.txt'

/tests/test_outputs.py:47: FileNotFoundError
__________________________ test_report_is_non_trivial __________________________

    def test_report_is_non_trivial():
>       with open(REPORT) as f:
             ^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ancestry_report.txt'

/tests/test_outputs.py:53: FileNotFoundError
_________________ test_feature_a_exclusive_commits_identified __________________

    def test_feature_a_exclusive_commits_identified():
        # The report should include actual commit descriptions or IDs from feature-a
>       with open(REPORT) as f:
             ^^^^^^^^^^^^
E       FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ancestry_report.txt'

/tests/test_outputs.py:61: FileNotFoundError
________________________ test_core_py_commits_in_report ________________________

    def test_core_py_commits_in_report():
        # Get commits that modified core.py in features
        result = run_jj(["log", "--no-graph", "-r",
                         "(feature-a | feature-b | feature-c) & ~ancestors(main)",
                         "-T", "description.first_line() ++ '\n'"])
        if result.returncode == 0 and result.stdout.strip():
>           with open(REPORT) as f:
                 ^^^^^^^^^^^^
E           FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ancestry_report.txt'

/tests/test_outputs.py:74: FileNotFoundError
=========================== short test summary info ============================
FAILED ../../../tests/test_outputs.py::test_report_exists - AssertionError: a...
FAILED ../../../tests/test_outputs.py::test_report_has_feature_a_exclusive_section
FAILED ../../../tests/test_outputs.py::test_report_has_all_features_intersection
FAILED ../../../tests/test_outputs.py::test_report_has_merge_base_section - F...
FAILED ../../../tests/test_outputs.py::test_report_has_core_py_section - File...
FAILED ../../../tests/test_outputs.py::test_report_is_non_trivial - FileNotFo...
FAILED ../../../tests/test_outputs.py::test_feature_a_exclusive_commits_identified
FAILED ../../../tests/test_outputs.py::test_core_py_commits_in_report - FileN...
============================== 8 failed in 0.05s ===============================