Repository navigation
fix(ci): restore plist, verifier, and TOML capacity checks - #4930
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Medium impact] The reviewed changes appear safe to merge. SummaryAligns plist and Ghidra tests with existing behavior. Also replaces two TOML newline-trimming expressions with a backward scan.
Reviews (2) · Last reviewed commit: "fix(clients): trim TOML line endings wit..." · Reviewed by Greptile |
Replace both terminal-LF regex scans with a backward scan while preserving existing line-ending semantics and the full capacity regression. Fixes #4931
17f9764 to
c6664e3
Compare
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
Restore four main CI failures: plist formatting, a stale keyed-archive value assertion, a Ghidra prerequisite fixture, and quadratic TOML newline cleanup. Fixes #4931.
Problem and expected behavior
Main CI at
2183c9598fails formatting and two deterministic boundary assertions. It also times out on Codex setup with 140,000 internal blank lines. The Codex timeout reproduces locally; a diagnostic CPU profile spends about 31.2 seconds in the trailing-LF regex.Known NaN must retain its canonical observed identity; the Ghidra fixture must reach its deliberately missing JDK/install; and large valid TOML configuration must preserve caller text without repeated scans of internal blank-line runs.
Change and scope
The scalar and process-ownership producers already implement their contracts; their test consumers were stale. The TOML performance correction is at the shared application owner used by setup/uninstall. No timeout, retry policy, test size, public schema, or installation authority changes. This is an ordinary bug fix; no new capability or maintainer scope decision is needed. All changes fit one main-CI recovery outcome; #4931 records the independently confirmed product cost.
Evidence and validation
Based on refreshed main
52b73ee85:npm run check:ci— all eight tasks and architecture guards across 1,504 source files passed.npm run docs:check— passed, including five README consistency tests.git diff --check, normal commit hooks, and pre-push checks — passed.Equivalent completed serializer work on the same 140,000-LF document:
Both runs parse the actual serializer output, verify the desired document and preserved source prefix, and produce the same 140,128-byte SHA-256 output. This measures the shared serializer rather than whole-process startup. Actual REA CLI Codex setup/uninstall completes under the original deadline after the fix (13.7 s in the final integrated run).
A separate baseline unknown-flag CLI case timed out once on GitHub; its unchanged seven-case CLI file passes locally, including the final selection. Its hosted timeout cause remains unconfirmed, with no speculative timing change included. Current-head CI remains the integration gate.
Current-head CI passed on
c6664e30: 13 selected jobs succeeded, 18 policy-selected skips, attempt 1, no reruns. All five test shards, source/static checks, and Linux package verification passed. The unchanged capacity acceptance cases ran in hosted CI: Codex 4,233 ms and Grok 4,048 ms; the formerly timed-out unknown-flag CLI case passed in 986 ms. Codex reviewed this exact head with no findings; Greptile confidence is 5/5, with no unresolved threads.Post-merge main CI at
1accac27: 36/36 jobs passed, attempt 1, no reruns or skips, including all five shards, native package lanes, Windows capability checks, and real Apple CLI/MCP E2E.Compatibility and verification limits
Heavy local checks ran serially on two CPUs with 3 GiB Node heaps and a 7 GiB sampled family-RSS guard. Final focused run: 41.6 s wall / 68.7 s reaped CPU / 1.55 GiB sampled peak RSS. Complete static gate: 70.0 s / 103.4 s / 4.72 GiB. No guard stop or OOM. Measurements are on a shared host; sampled RSS may miss peaks or count shared pages more than once. Agent tokens and hosted CPU/memory are unmeasured.
Linux executes the compiled Ghidra prerequisite script against deliberately absent dependencies; this does not establish real disassembly behavior. Actual compiled REA CLI processes exercise authored ASAR and TOML workflows. Raw logs, profiles, and the English recap are retained under
/tmp/rea-main-ci-repair-20261018/.Author readiness
Human owner: @N0zoM1z0
These declarations record the human owner's explicit standing task instruction: “後續審閱,承擔,聲明 都同意!不用問我了”. No separate new human-review event is asserted.
Before merge