batch_squash_by_author__TxpmUqa

Status: Failed
Started: 3/19 19:13
Execution: 1m 30.0s
Test: 10.0s
2026-03-19 11:13:56.333	DEBUG	native:1	Pochi	pochi v0.6.1
2026-03-19 11:13:56.435	DEBUG	/$bunfs/root/pochi:503183	loadAgents	Loaded 5 custom agents (5 valid, 0 invalid)
2026-03-19 11:13:56.436	DEBUG	/$bunfs/root/pochi:503184	loadSkills	Loaded 2 skills (2 valid, 0 invalid)
2026-03-19 11:13:56.449	DEBUG	/$bunfs/root/pochi:439420	PochiVendor	JWT is expiring or missing, fetching a new one
2026-03-19 11:13:58.437	DEBUG	/$bunfs/root/pochi:415701	MCPHub	MCP servers configuration changed via signal:
2026-03-19 11:13:58.438	DEBUG	/$bunfs/root/pochi:415813	MCPHub	Build MCPHub Status
2026-03-19 11:13:58.653	DEBUG	/$bunfs/root/pochi:502609	TaskRunner	Starting TaskRunner...
2026-03-19 11:13:58.742	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:13:58.925	DEBUG	/$bunfs/root/pochi:496641	generateTaskTitle	Generating task title, old: null, new: The repository at `/home/user/repo` contains 12 commits interleaved between a human author and `bot@company.com`. Consecutive bot commits should be squashed into single commits with descriptions in the format `chore: [bot] squashed N automated commits`. Human commits must remain untouched. After rewriting, update the `main` bookmark and write a squash log to `/home/user/squash_log.txt` showing which original commits were merged into each squashed commit.
2026-03-19 11:14:08.353	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:11.033	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:12.104	DEBUG	/$bunfs/root/pochi:496641	generateTaskTitle	Generating task title, old: The repository at `/home/user/repo` contains 12 commits interleaved between a human author and `bot@company.com`. Consecutive bot commits should be squashed into single commits with descriptions in the format `chore: [bot] squashed N automated commits`. Human commits must remain untouched. After rewriting, update the `main` bookmark and write a squash log to `/home/user/squash_log.txt` showing which original commits were merged into each squashed commit., new: Squash consecutive bot commits and update main bookmark
2026-03-19 11:14:13.345	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:15.082	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:23.417	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:25.274	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:26.619	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:28.522	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:30.455	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:32.450	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:34.226	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:35.643	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:37.520	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:39.832	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:41.776	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:44.822	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:46.823	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:55.335	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:14:57.648	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:15:00.532	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:15:02.031	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:15:03.957	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:15:07.065	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:15:09.916	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
2026-03-19 11:15:12.688	DEBUG	/$bunfs/root/pochi:454339	listFiles	Listing workspace files from /home/user/repo with maxItems 500
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.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 7 items

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

=================================== FAILURES ===================================
____________________________ test_fewer_bot_commits ____________________________

    def test_fewer_bot_commits():
        result = run_jj(["log", "--no-graph", "-r", 'author("bot@company.com")',
                         "-T", "description.first_line() ++ '\n'"])
        assert result.returncode == 0
        lines = [l for l in result.stdout.splitlines() if l.strip()]
        # Originally 8 bot commits in 3 consecutive groups; after squashing should be fewer
>       assert len(lines) < 8, f"After squashing, should have fewer than 8 bot commits, got {len(lines)}"
E       AssertionError: After squashing, should have fewer than 8 bot commits, got 8
E       assert 8 < 8
E        +  where 8 = len(['chore: automated format fix 3', 'chore: automated lint fix 5', 'chore: automated lint fix 4', 'chore: automated format fix 2', 'chore: automated lint fix 3', 'chore: automated format fix 1', ...])

/tests/test_outputs.py:29: AssertionError
==================================== PASSES ====================================
=========================== short test summary info ============================
PASSED ../../../tests/test_outputs.py::test_squash_log_exists
PASSED ../../../tests/test_outputs.py::test_human_commits_preserved
PASSED ../../../tests/test_outputs.py::test_squashed_bot_commits_have_correct_format
PASSED ../../../tests/test_outputs.py::test_squash_log_mentions_merged_commits
PASSED ../../../tests/test_outputs.py::test_main_bookmark_still_valid
PASSED ../../../tests/test_outputs.py::test_data_and_main_py_intact
FAILED ../../../tests/test_outputs.py::test_fewer_bot_commits - AssertionErro...
========================= 1 failed, 6 passed in 0.18s ==========================