app-server marketplace hook refresh test times out
What issue are you seeing?
The integration testsuite::v2::hooks_list::automatic_marketplace_upgrade_refreshes_hook_runtime_for_loaded_session
does not complete after triggering an automatic marketplace upgrade. The test
times out while refreshing the configured Git marketplace and then fails with a
deadline error.
Observed diagnostics:
WARN ... failed to auto-upgrade configured marketplace marketplace="test" error=git ls-remote marketplace source timed out after 30s
WARN ... git sync failed for curated plugin sync; falling back to GitHub HTTP error=git ls-remote curated plugins repo timed out after 30s
Error: deadline has elapsed
Reproduction
At rust-v0.148.0-alpha.22 (deb7b8341349146516c324f81a66698db085c0ea), run on Linux:
RUSTC_WRAPPER= CARGO_NET_OFFLINE=true just test -p codex-app-server
The test fails on both attempts made by nextest and takes approximately 36 seconds
per attempt.
Expected behavior
After a marketplace upgrade changes the available plugin hooks, the already-loaded
session should refresh its hook runtime and the test should complete within its
deadline. Marketplace refresh should either complete successfully or return a
bounded, actionable error without leaving the session waiting for a timed-out
background operation.
Environment
- Linux
- Debian 13.0.0
- x86_64
- Rust toolchain 1.95.0
- Codex
0.148.0-alpha.22
Additional notes
The failure includes two separate 30-second git ls-remote timeouts: one for the
configured test marketplace and one for the curated plugin repository. The fallback
to GitHub HTTP also does not complete before the test deadline. Investigation should
check marketplace refresh cancellation, timeout propagation, and hook-runtime
refresh behavior when Git access is unavailable or slow.
1 Comment
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action