feat(pip): verify git & https access from pip container (Fixes #216)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
# 141-loopspeed-test-speedup: Loop HTTPS test speedup
|
||||
|
||||
Goal: trim waits in sixth-slowest test file
|
||||
|
||||
Steps:
|
||||
1. Read 118 result notes in done/118-slowest-tests.md.* for the #6 target (test_box_loop_https remediate_dry_run_live, ~2.3s). 2. On a feature branch: reduce sleeps/timeouts keeping all assertions identical (never weaken tests); run the file until green. Done criteria: result notes list before/after seconds + pass count, or exact blocking failure.
|
||||
|
||||
Done criteria: result notes appended below; file moved to done/.
|
||||
|
||||
Result notes (append below before moving to done/):
|
||||
|
||||
Completed 2026-10-08T19:56:40Z via box tasks done:
|
||||
PARTIAL on branch builder/loopspeed-test-speedup (uncommitted, test-only, zero production change). TRIMMED: quality_validate_loop_verbs via _box_ctl_inproc (same proven pattern as 138; 15/15 stdouts byte-identical to subprocess baseline), 1.10s->~0s. File: 15 passed 3.68s -> 2.66s; unittest Ran 15 OK. BLOCKED (named target): remediate_dry_run_live still ~2.1s -- NOT a sleep/timeout; cProfile shows 2s user-CPU in production: gravity.remediate_breaks calls approvals.check_fleet_approvals TWICE (gravity.py:630,839), each fanning to 6 nodes x full 89k-line box-ctl.jsonl scan in check_node_key_request (approvals.py:356) = 12 scans, ~1.07M json.loads per call. No test-only trim exists without stubbing the backend (weakening) or touching live audit state. All assertions byte-identical. RECOMMENDED production fix (out of scope): single-pass scan shared across nodes, tail-limited read, or memoize per call; also note box-ctl.jsonl grows unboundedly (every box-ctl call appends via audit), so this test slows over time -- log rotation needed.
|
||||
Reference in New Issue
Block a user