op_restore_from_history__ozuYYTa

Status: Passed
Started: 3/19 16:10
Execution: 2m 11.6s
Test: 11.2s
2026-03-19 08:15:12.376	DEBUG	native:1	Pochi	pochi v0.6.1
2026-03-19 08:15:12.382	DEBUG	native:7	PochiConfigManager	add workspace config: /root/.pochi/config.jsonc
2026-03-19 08:15:12.629	DEBUG	/$bunfs/pochi:503183	loadAgents	Loaded 5 custom agents (5 valid, 0 invalid)
2026-03-19 08:15:12.631	DEBUG	/$bunfs/pochi:503184	loadSkills	Loaded 2 skills (2 valid, 0 invalid)
2026-03-19 08:15:12.701	DEBUG	/$bunfs/pochi:439420	PochiVendor	JWT is expiring or missing, fetching a new one
2026-03-19 08:15:14.391	DEBUG	/$bunfs/pochi:415701	MCPHub	MCP servers configuration changed via signal:
2026-03-19 08:15:14.392	DEBUG	/$bunfs/pochi:415813	MCPHub	Build MCPHub Status
2026-03-19 08:15:14.579	DEBUG	/$bunfs/pochi:502609	TaskRunner	Starting TaskRunner...
2026-03-19 08:15:14.600	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 08:15:14.779	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: null, new: # Recover Repo State Using `jj op restore`
2026-03-19 08:15:30.508	DEBUG	/$bunfs/pochi:454315	listFiles	handling listFile with dirPath /home/user/project and recursive undefined
2026-03-19 08:15:30.514	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 08:15:33.385	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 08:15:38.376	DEBUG	/$bunfs/pochi:496641	generateTaskTitle	Generating task title, old: # Recover Repo State Using `jj op restore`, new: Recover repository state using jj op restore
2026-03-19 08:15:51.011	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 08:16:17.559	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 08:16:23.014	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 08:16:26.065	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 08:16:30.211	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 08:16:35.476	DEBUG	/$bunfs/pochi:454339	listFiles	Listing workspace files from /root with maxItems 500
2026-03-19 08:17:21.429	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://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version (7.81.0-1ubuntu1.23).
0 upgraded, 0 newly installed, 0 to remove and 18 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 9 packages in 18ms
============================= test session starts ==============================
platform linux -- Python 3.10.12, pytest-8.4.1, pluggy-1.6.0
rootdir: /tests
plugins: json-ctrf-0.3.5
collected 10 items

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

==================================== PASSES ====================================
=========================== short test summary info ============================
PASSED ../tests/test_final_state.py::test_refactor_py_exists
PASSED ../tests/test_final_state.py::test_refactor_py_content
PASSED ../tests/test_final_state.py::test_base_py_exists
PASSED ../tests/test_final_state.py::test_base_py_content
PASSED ../tests/test_final_state.py::test_add_base_module_commit_visible
PASSED ../tests/test_final_state.py::test_refactor_squash_target_commit_visible
PASSED ../tests/test_final_state.py::test_both_commits_are_separate
PASSED ../tests/test_final_state.py::test_op_log_has_restore_operation
PASSED ../tests/test_final_state.py::test_op_log_most_recent_is_restore
PASSED ../tests/test_final_state.py::test_jj_status_succeeds
============================== 10 passed in 0.11s ==============================