Skip to content

fix(ci): repair shared progress, cleanup and verifier failures - #11727

Merged
morluto merged 9 commits into
morluto:mainfrom
ShuaixinHuang:fix/ci-current-verifier-contracts
Nov 16, 2026
Merged

morluto merged 9 commits into
morluto:mainfrom
ShuaixinHuang:fix/ci-current-verifier-contracts

Conversation

@ShuaixinHuang

@ShuaixinHuang ShuaixinHuang commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Repair shared CI failures inherited by otherwise independent contributions. Refs #11693. Qualified against main 4ea24b6f8e63081ec5077c8e88370a8632aeeb0c; merged head 5c44f5af1.

Corrections and owning boundaries

  • Copy the release verifier controller's owning package manifest so private #dist/* imports resolve. The valid-tarball path still independently rejects missing runtime, omitted tools and wrong package versions.
  • Assert DOL snapshots through their current target identity, independently hashed bytes and entry-point selection, retaining public reopen/replay checks.
  • Independently verify complete replay cards with a readable JSON golden and exact wire text. Assert unknown workflow target identity separately from bounded, provider-attributed caveats.
  • Preserve a workflow's terminal cleanup facts through MCP delivery instead of overwriting them with a generic completion notification.
  • Observe typed cleanup failures at their current delivery boundary, retaining retry/descriptor ownership assertions.
  • Replace the retired full Kimi fixture profile with supported compact, and run that case across hosts so Windows-only fixture drift is visible.
  • Verify input-issue paths in each adapter's declared spelling: CLI capturePath, MCP capture_path. The real web-capture verifier previously stopped at case 122 because it required MCP spelling from the CLI.

The last three shared prerequisite changes retain their original commits/authors through normal merges of #11702 (010fa349f), #11703 (50fb5ef02) and #11725 (f810ad125). These are explicit dependencies, not claims that those PRs have merged into main. Their commits drop out of this comparison when accepted upstream.

Executed validation

Linux, Node 24.22.1 / npm 11.9.0, locked dependencies:

  • Focused source/MCP/process/setup suite: 10 files, 101 passed, 9 platform-conditioned skips. Includes operation progress, capture progress and timeout/cancellation, exact snapshot/Kuna cleanup retry, replay cards, DOL save/reopen and installed-package canary.
  • REA_MITMDUMP_COMMAND=/workspace/work/mitmproxy-env/bin/mitmdump node scripts/verify-web-network-captures.mjs with real mitmproxy 12.2.3: baseline reproduced the CLI field-name assertion; repaired verifier 148 public cases passed, 7 native failure classifications, verified process lineage with no retained descendants.
  • Required build, npm run check:fast, normal commit/pre-push hooks and git diff --check passed.

Native Windows/macOS and the complete monolithic suite were not run locally. Hosted required checks must still finish on this exact head. No blanket retry, workflow suppression, timeout increase or removed failure assertion is used. This is repair within existing capability/authority boundaries; no new maintainer scope decision applies.

Author readiness

Human owner: @ShuaixinHuang

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

Before merge

  • Human owner completes the initial readiness declaration.
  • Required checks pass for the current revision and prerequisite changes are reviewed.

g1at and others added 4 commits November 16, 2026 14:18
…file

The Windows-only case at `clientConfigurationEnvironment.test.ts:226` wrote
`rea_mcp_input_schema_profile: "full"`. That profile was retired: the reader
now refuses it ("REA_MCP_INPUT_SCHEMA_PROFILE accepts only \"compact\" …"),
so `configureClientConfiguration` returned `failed/readback` before writing
and the case failed on every Windows run, including main's own
`Windows capability and package lane`.

The case has no Windows dependency — it passes an explicit `configPath` and
the Kimi write dialect is the same everywhere — so it now runs on every
platform, which is what let the stale value rot unnoticed. The fixture keeps
the lowercase explicit key the case is about, with the supported value.

Verified on `main` `d6bcfc10`: the same fixture driven through
`configureClientConfiguration(..., "win32")` on this host reproduced
`{"status":"failed","reason":"readback"}` with the retired value and now
returns `{"status":"configured"}` with `compact`. The file's 75 cases pass
here (66 run, 9 platform-conditioned skips) and `check:fast` passes.
@greptile-apps

greptile-apps Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5 Tier: plus

[Medium impact] The reviewed changes appear safe to merge, subject to the required checks passing on this head.

Summary

Repairs shared CI fixtures and progress reporting without changing execution or cleanup ownership.

  • Process capture keeps its cleanup details in the final progress update.
  • Replay checks compare the served environment card with a readable golden.
  • DOL snapshot checks follow the saved file identity and entry point.
  • Cleanup checks inspect the typed result delivered for failed cleanup.
  • The capture verifier checks each adapter’s own input-field spelling.
  • The release canary gives its isolated verifier the package’s real manifest.
  • The decompile check verifies target identity and bounded provider caveats separately.
  • The Kimi configuration check uses the supported compact profile on every host.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A["Admit request"] --> B["Run provider or workflow"]
  B --> C["Record evidence and build reply"]
  C --> D{"Workflow final progress available?"}
  D -- No --> E["Report completed or failed"]
  D -- Yes --> F{"Reply failed?"}
  F -- No --> G["Keep workflow cleanup facts"]
  F -- Yes --> H["Report failure with cleanup facts"]
  E --> I["Return reply"]
  G --> I
  H --> I
Loading

Reviews (4) · Last reviewed commit: "test(captures): assert adapter-owned inp..." · Reviewed by Greptile

@ShuaixinHuang
ShuaixinHuang marked this pull request as ready for review November 16, 2026 10:45
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-16T10:45:27.184398Z
We couldn’t complete this review. Comment @codex review to try again.
0199c9f Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@ShuaixinHuang ShuaixinHuang changed the title test(ci): restore verifier and MCP contract regressions fix(ci): repair shared progress, cleanup and verifier failures Nov 16, 2026
Comment thread src/server/serviceToolBindings.ts Resolved
@morluto
morluto merged commit 552d1c7 into morluto:main Nov 16, 2026
51 of 55 checks passed
Zhong-fan added a commit to Zhong-fan/rea that referenced this pull request Nov 17, 2026
Resolutions:
- ci.yml: keep this branch's portable-runtime steps; upstream's Node 22
  boundary block stays after them (single copy).
- Boundary tests: take upstream's newer expectations. morluto#11727 replaced the
  replay-card hash golden with a JSON fixture and refreshed the decompile
  caveat and process-cleanup assertions; this branch's local adjustments to
  those same lines were superseded.

Validation: npm run check:fast; test:focused on the merged boundary files
(89 passed; processSnapshotCleanupMcp fails only on native Windows because
PTY capture is unsupported there) and on the portable suites (476 passed).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build Build, CI, packaging, and publishing bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants