Repository navigation
perf(ci): use tsrs and reduce PE acceptance startup - #5795
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5617badad8
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
[High impact] The PR appears safe to merge; no new actionable defect was found. SummaryThe PR selects pinned
No new actionable issue was found. Tests were not run because dependencies were absent. Live replacement status could not be checked because GitHub authentication was unavailable. Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Npm or focused tests] --> B[Select host compiler]
B --> C[Set compiler package and version]
C --> D[Turbo hashes compiler identity and launchers]
D --> E{Matching cache entry?}
E -->|Yes| F[Restore outputs]
E -->|No| G[Run selected compiler]
G --> H[Store outputs under matching identity]
Reviews (13) · Last reviewed commit: "fix(ci): avoid redundant PE acceptance i..." · Reviewed by Greptile |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 0b6eefb325
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
directionally very good |
5973157 to
c714e2f
Compare
|
Codex Review: Didn't find any major issues. Nice work! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
@codex review Please review d34bdaf. The delta from the reviewed c714e2f is a Windows test-oracle correction: compare the wrapper’s failure status with a direct invocation of the selected compiler while retaining the TS2322 assertion. Windows’ official compiler returns 1 where Rust returned 2. The 14 focused compiler tests and check:fast passed; runtime/build sources are unchanged. |
|
Codex Review: Didn't find any major issues. You're on a roll. Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
54e0055 to
c840166
Compare
|
@codex review Please review current rebased head c840166 on latest main a5f982d. The final follow-up adds the Windows compiler test to its central CI lane owner and makes the cached-build dependency/resource fixtures include and invoke the shared compiler/Turbo entrypoints. 284 focused tests and the complete rebased-head static gate passed. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c840166165
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@codex review Please review current head 866ca39. It closes compiler-input ownership over both launchers/configuration/lockfile and relevant compiler manifest fields, so fast PRs exercise the official fallback lane. 295 focused tests and complete static checks passed; the regression fails under the old test-only ownership. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 866ca392e3
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
866ca39 to
6dc59b2
Compare
|
@codex review Please review exact head 6dc59b2, rebased onto current main 5241597. Compiler lifecycle hooks now select fallback host checks; Windows independently runs the complete official-compiler source typecheck before build reuse. Final focused tests: 307 passed; rebased static checks passed. Full CI remains enabled. |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
6dc59b2 to
2d33825
Compare
|
@codex review Please review exact head 9a479c9 on current main f801b2f. The user expanded scope to correctly repair main CI failures. The CLI requiredness gate now distinguishes object-key omission from explicit undefined for exactOptional; the real-browser verifier requires transport_disconnected, rejects invented target_terminated and confirms the same target remains live. Both old failures reproduced; 37 affected tests and the complete real Chromium CLI/MCP verifier passed. Compiler resource defaults also preserve explicit --checkers/--maxMemory choices (324 focused tests passed). Full CI remains enabled; final static checks passed. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9a479c9025
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@codex review Please re-evaluate exact head 9a479c9 with the pinned compiler evidence for P1 r4335067946. Official native typescript@7.0.2 advertises --checkers in its own --help --all; the actual Windows full source typecheck with --checkers 2 has passed on this exact head (job119139792910). Reply4335083762 includes command output and real Windows CI links, and the thread is resolved. No source change was warranted; please use the actual pinned package/runtime results when checking this finding. Full CI has30 successful jobs and no failures so far, including the repaired real-browser lane. |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
|
@codex review Please review exact head 46e3d3f. The preceding full run had one remaining primary failure: PE acceptance exceeded30s. Completed profiling found15 cold CLI invocations and SDK eager compilation of every catalog output schema. The PE matrix now reuses existing bounded runFileCli while retaining fresh PE32/PE32+ and raw-padding wrapper checks; all MCP calls bind actual named live tools/list definitions. Same fixtures,43 expect sites, output/identity/error/cleanup assertions and30s deadline retained. A wrong-schema control still fails through SDK output validation.71 related tests and15 actual shared-driver tests passed (overlapPE), with complete PE case11.6/24.9/17.3s. Final static checks passed and full CI is running. Prior official7.0.2 --checkers concern was disproved by its own --help --all and actual Windows CI; r4335083762 records that evidence. |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
46e3d3f to
898e2a9
Compare
|
@codex review Please review exact head 898e2a9 after rebase onto main5eebe2fdf. Full CI39580474248 qualified the prior merge tree (40success/1intentional skip,24009 portable tests passed), including PE in9.2s. Main subsequently incorporated overlapping omission/browser fixes plus Apple/manifest changes. We adopted the complete stronger upstream omission tests and upstream browser assertions, retaining only our extra live-target countercheck. The compiler/PE fixes are unchanged; fresh rebased static checks passed and full CI39584801109 is running. Review the final diff against latest main; prior official7.0.2 checker-flag evidence remains in r4335083762. |
|
Codex Review: Didn't find any major issues. Chef's kiss. Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
898e2a9 to
f3e4d58
Compare
Check missing fields at the Zod object boundary, preserving the difference between exact optional omission and explicit undefined. Require a transport disconnect observation without inventing target termination, and verify that the original browser target remains advertised after transport loss. Assisted-by: Reimu (gensokyo-skills:reimu-incident-triage)
Bind SDK calls to the current named tool definitions so validation prepares only the selected output schemas. Reuse the bounded compiled CLI for the stateless matrix while retaining fresh wrapper checks for both PE formats and raw-padding rejection. Keep all fixture, identity, output and cleanup assertions, the independent MCP connection and the original 30s deadline. Assisted-by: Reimu (gensokyo-skills:reimu-incident-triage)
f3e4d58 to
36eca06
Compare
|
@codex review Please review exact head 36eca06, rebased onto bcfcd8b. Retains upstream named PE MCP definitions and worker lifetime ownership; our net PE change reuses the existing bounded CLI. Combined dependency inventory was regenerated from the lockfile, preserving the upstream GPU runtime dependency. Fresh npm ci and full static checks passed; latest-main integrated focused tests and full ci:full qualification are being refreshed. Please inspect compiler cache identity, fallback host coverage, CLI resource lifetime, and the current main integration. |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
Summary
Use pinned
tsrs@0.18.0-ts7.1.0-dev.20260929for builds, typechecks and Frida binding checks on supported Linux x64/arm64 and macOS arm64. Windows and unsupported hosts retain officialtypescript@7.0.2; Windows independently checks the complete source. Three test callbacks name their existing options contract. Strictness, Termux/Stryker APIs and runtime dependencies are unchanged by this PR.Select the compiler before Turbo hashing; include its identity and both launchers in compile/typecheck caches. Missing binaries or stale identity fail. Fast CI selects fallback hosts for compiler inputs, commands and lifecycle hooks. Rust defaults to two checkers and a soft 3G no-emit target, preserving explicit resource arguments.
Reduce repeated PE acceptance CLI initialization through the existing bounded compiled driver. Keep fresh PE32/PE32+ and malformed-padding wrapper checks, independent MCP coverage, every fixture/assertion and the original 30s deadline. Main now owns the omission/browser corrections and named MCP schema bindings; retain those upstream implementations. The browser verifier additionally confirms the original target remains live after disconnect. No provider authority change.
Validation
Head
36eca066f1638edda07553d02c374ab94d542618, rebased onto mainbcfcd8b6e2ee0c44c7ac656688db5ceb61a847d5(GPU, SQLite and JavaScript worker changes). Full CI checks merge preview55728769e8ed668ca8a454b97375f8a6db7c773d. Node 24.18.0 / npm 11.16.0; four-core local affinity, two checker threads, serial Turbo.npm ciandnpm run checkpassed: build, typecheck, lint, formatting, knip, metadata, module boundaries and architecture guards. Complete source also passed the official compiler directly.Merged as
905cbaf2398c905e96a1492b6145ece13e91c3cconto main33f91291. The firmware/cleanup integration passednpm run checkand 224 related tests across 14 files (one unsupported-host conditional skip); the later Interface Builder/immutable JSON integration passed the full static check and 26 domain tests. Final merged treef094b1510b8e840d5e727ffa68e96ecc7afa9ab6exactly matches the locally tested integration. Normal squash merge; no admin/bypass. Author:gensokyo-dev; no Co-authored-by trailer.Main full qualification binds to exact merge SHA
905cbaf2and is running. The main push CI failed the unchanged external Windows PowerShell ACL probe at 15s with empty stdout/stderr; typecheck and curated tests passed. No retry of that failure was requested. Follow-up #5941 removes duplicate account-name resolution and adds phase diagnostics while preserving the deadline and all ACL assertions. Exact historical timeout cause remains unconfirmed. A fresh emit comparison on the actual merge commit found all 1724 files identical: official / tsrs elapsed 17.3s / 2.8s, CPU 34.5s / 5.9s, sampled family RSS 2440 / 594 MiB.Completed same-head probes, fresh compiler/test processes with warm filesystem cache:
All 1724 emit files have identical SHA-256 and size. The PE comparison already includes main's named MCP bindings and changes only CLI reuse: case 28.8s / 11.3s, all 43 assertion sites retained. Baseline used an uncommitted 120s diagnostic budget to observe completion; committed tests keep 30s. Temporary variants were restored. RSS samples can double-count shared pages; no whole-CI speedup, PE memory reduction or formal soundness claim. Agent tokens unmeasured.
Earlier qualification had one external Windows PowerShell ACL probe timeout (15s, empty output). One accepted identical-SHA diagnostic rerun passed unchanged assertions/deadline and the entire lane; exact cause remains unknown. No source fix or timeout increase is claimed.
An earlier local
check:prwas interrupted, not passed, with root-owned home EACCES and clean-main timing failures. Musl/remaining fallback hosts were not executed. Real-provider claims are limited to lanes actually run.Author readiness
Human owner: @gensokyo-dev
Declarations entered under the user's explicit delegation; independent human review was not observed in this session.
Before merge