commit_metadata_enforcement__BvVPobe

Status: Failed
Started: 3/19 17:05
Execution: 1m 13.8s
Test: 10.2s
2026-03-19 09:05:34.361	DEBUG	native:1	Pochi	pochi v0.6.1
2026-03-19 09:05:34.417	DEBUG	native:7	PochiConfigManager	add workspace config: /root/.pochi/config.jsonc
2026-03-19 09:05:34.565	DEBUG	/$bunfs/pochi:503183	loadAgents	Loaded 5 custom agents (5 valid, 0 invalid)
2026-03-19 09:05:34.566	DEBUG	/$bunfs/pochi:503184	loadSkills	Loaded 2 skills (2 valid, 0 invalid)
2026-03-19 09:05:34.585	DEBUG	/$bunfs/pochi:439420	PochiVendor	JWT is expiring or missing, fetching a new one
2026-03-19 09:05:36.231	DEBUG	/$bunfs/pochi:415701	MCPHub	MCP servers configuration changed via signal:
2026-03-19 09:05:36.232	DEBUG	/$bunfs/pochi:415813	MCPHub	Build MCPHub Status
2026-03-19 09:05:36.349	DEBUG	/$bunfs/pochi:502609	TaskRunner	Starting TaskRunner...
2026-03-19 09:05:36.421	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:05:36.543	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: null, new: You are a repo maintainer enforcing a commit metadata policy. You have a repository at `/home/user/repo` which is already initialized with `jj`. Your task is to:
2026-03-19 09:05:47.249	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:05:49.659	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: You are a repo maintainer enforcing a commit metadata policy. You have a repository at `/home/user/repo` which is already initialized with `jj`. Your task is to:, new: Configure jj log template and create commit with metadata output
2026-03-19 09:05:50.236	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:05:52.267	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:05:59.180	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:06:13.818	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:06:16.049	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:06:19.070	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:06:23.941	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:06:33.059	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:06:36.081	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:06:38.954	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 09:06:41.916	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.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 14ms
============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-8.4.1, pluggy-1.6.0 -- /root/.cache/uv/archive-v0/RjOzlnanATAlDJKEHDbSL/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():
        home_dir = os.environ.get("BOOTSTRAP_HOME", "/home/user")
        repo_dir = os.path.join(home_dir, "repo")
        log_output_file = os.path.join(home_dir, "log_output.txt")
    
        # 1. Check config
        res = run_cmd("jj config get templates.log", cwd=repo_dir)
        assert res.returncode == 0, "Error: templates.log is not configured."
    
        template_val = res.stdout.strip()
>       assert 'commit_id.short()' in template_val, "templates.log does not contain commit_id.short()"
E       AssertionError: templates.log does not contain commit_id.short()
E       assert 'commit_id.short()' in 'builtin_log_compact'

/tests/test_final_state.py:19: AssertionError
=========================== short test summary info ============================
FAILED ../../tests/test_final_state.py::test_final_state - AssertionError: te...
============================== 1 failed in 0.03s ===============================