mrmrs-d73652
mrmrs-d73652Closedinto main
2 commits · 4 files · +2 added · ~2 modified
Description
Integration landing: does main still work after N agents land at once?
New contention mode integration_landing (scripts/oakbench/landing.py + runner in parallel_contention.py). N scripted careful agents (integrate main, run tests, land only if green) land concurrently on git (local bare remote, ff-only push) and Oak (private oak serve on loopback, oak merge). Designed roles: a semantic conflict pair (rename vs new caller, disjoint lines), a same-line text conflict pair, and disjoint features. Oracle: fresh clone of main -> tests, conflict markers, committed markers via the independent reader. Verdicts: silent_failures, semantic_conflict_outcome, text_conflict_outcome, lost workers, land attempts.
First results (8 runs/VCS, w4/w6/w8): git main green 8/8 (semantic conflict caught before landing); Oak main red 8/8 (semantic conflict landed silently); text conflict reported by both; no lost changes. Feedback fb-623 (guarded merge), fb-621/fb-622 (disposable repos unclonable).
Independent review (2 passes, no blockers) fixes: landing rows get their own summary table and retries_total (no fabricated 0); parallel_metrics.tasks_landed replaces tasks_completed; land-attempt cap scales with workers and only labels stale-main rejections (attempt_cap_reached), other repeated failures stop as land_failed; overwrite counted once; unmeasured marker scan nulls the text verdict; landing.server_ci_gate recorded; failed commit after oak pull fails the land; oak serve log/teardown fixed; runner tests validate real rows against the contention lane contract. Full suite: 1506 tests, 3 failures all reproduced on clean main under load (conformance killpg EPERM flake, watchdog timing, oak reader 312s timeout on large_asset_manifest).
Commits2
- b24a5ef8ad03 mrmrs 13 days ago
- 7b06e67b98ea mrmrs 13 days ago
docs/benchmark-coverage.mdmodifiedView file
| Shaped network operations and first-payload timing | Implemented for netshape lane where Linux netns/tc is available | `scripts/netshape_bench.py` `netshape_clone_cold`, `netshape_log_follow_cold`, byteproxy `ttfd_ms` fields | Cross-subject latency claims require the same `netshape_profile` and server host. `netshape_log_follow_cold` measures cold network acquire plus file-history query (`git.log.follow`/`oak.log.follow`) with TTFD fields. Non-Linux or missing Oak local server paths emit skip rows. || Mount lifecycle (desc, finish, space clean, task loop) | Implemented handlers; needs remote to run | `mount_probe.py` `oak.desc`/`oak.finish --desc-file`/`space.clean`/`loop.push_desc*`, `task_lifecycle_loop` scenario | `oak finish` capability-gated per binary; skip rows until OAK_BENCH_MOUNT_REPO set. || Compact-output follow-up cost | Implemented for streams exposing per-call outcomes | `tool_call_metrics.vcs_info_followup_calls_total` via `oakbench/stream_adapters.py` | Each follow-up means the first output was insufficient; null when commands are not adapter-visible. || Integration landing (does main still work after N agents land?) | Implemented for git and Oak (local `oak serve`) | `parallel_contention.py --modes integration_landing`, `oakbench/landing.py` | Silent failures, landed-broken semantic conflicts, text conflicts reported vs overwritten, lost changes, land attempts. Oak via `oak serve` has no CI gate; hosted-with-CI not yet measured. A run whose main ends wrong exits 1 (like lost updates in other modes): that is a measurement, not a harness crash; read `landing.silent_failures`. || Contention commit-latency tail + retry depth | Implemented | `parallel_contention.py` `commit_latency_tail`, `retry_depth_histogram`, per-worker samples | Cite p95 only when `tail_supported` includes it. |Known unmeasured-by-design (null in v2 rows until instrumented): hydrationscripts/oakbench/landing.pyaddedView file
Loading diff…
scripts/parallel_contention.pymodifiedView file
Loading diff…
tests/test_integration_landing.pyaddedView file
Loading diff…