Repository navigation
Tags
Tags
Package coverage: a slow ps sample is no collector failure; coordinat… …ed pushes (#376) ## TL;DR The package coverage collector no longer fails a suite when one `ps` sample is slow on a loaded host. The pool-overlap test now waits on the suites the sorted pool really starts first. AGENTS.md adds the coordinated-push rule, the duplication gate keeps the handwritten scanner visible, the GPUI ubuntu job saves its host cache as soon as it is built, and the LSP profiler test no longer corrupts the Rust coverage merge. ## Details - `package_process.py`: one `ps` sample gets a 10 s budget (`PS_SECONDS`) instead of 1 s. A loaded CI host can take more than a second to answer `ps`, and that was reported as a failed collection. - `test-package-coverage.py`: the overlap barrier waits on `sorted(names)[:count]`. The pool starts `peer10` before `peer2`, so the old barrier could wait on a suite that had not started yet. - `AGENTS.md`: pushes are coordinated. Hold the TMC lock `PUSH-<branch>`, run `make ci` locally first, batch commits and push once. - `.deslop.toml`: the handwritten tree-sitter scanner stays in the duplication gate. - `gpui.yml` (ubuntu): the GPUI host cache is saved right after the smoke step builds it. A post-step save was lost whenever a cold build used up the 20-minute budget, so every rerun started cold again. - `live_profiler_lsp.rs`: after `shutdown` and `exit`, the test waits for `osprey lsp` to exit cleanly (code 0, within 3 s) instead of SIGKILLing it on drop. The kill could land while the instrumented server was writing its coverage profile, and one truncated `.profraw` made `llvm-profdata merge` fail the whole Rust coverage job ("file header is corrupt", run 42463843368). ## How Do The Automated Tests Prove It Works? - `CollectorInterruptionTests` puts a `ps` that sleeps 1.5 s on `PATH` and asserts that a clean collection still reports no problems. The test was red on the old 1 s budget ("timed out after 1 seconds") and is green now (5 tests OK). The memory, output and deadline cases still fail as they should. - Local `make ci`: - Lint passed, including the package coverage suites (42 and 45 tests OK), and so did package tests, package coverage, doctests and GC/ARC conformance. - Only the VS Code extension debugger E2E tests failed (34 of 882). macOS Developer Mode is disabled on this host, so lldb cannot attach. This PR does not touch the extension. - Second local run after the LSP fix: lint, Rust tests with coverage (all four LSP profiler tests), coverage gates, the bank, web, docs and inbox suites, and the mobile bank all passed. The only failures were again the extension debugger tests (same Developer Mode cause). - PR CI run 42527979600 is green: 39 checks pass and 2 are skipped.
Release scope: diff against the last successfully released tag (#334) ## TLDR v0.28.0 published nothing because the cost gate diffed it against v0.27.0, whose release was cancelled. The baseline is now the newest earlier tag whose release.yml run succeeded. ## Details - `release-change-detection.yml`: picks the previous tag from successful `release.yml` push runs; adds `actions: read` and a `release_workflow` input. - `release.yml`: the scope job gets `actions: read`; comments updated. - `verify-release-gates.mjs`: drops the stale `git describe || true` tolerance. - `docs/RELEASING.md`: the baseline is documented. ## How Tests Prove It Works - `node scripts/verify-release-gates.mjs`: OK. `actionlint`: clean. - A dry run against the real run history resolves the baseline to v0.24.0, so a full release is classified. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
PreviousNext