Repository navigation
mods-types: one bounded, retried TypeScript fetch instead of npx's unbounded one - #339
Merged
Merged
Conversation
…bounded one Every mods-types run on #337's branch from 02:33Z to 03:20Z hung for the gate's full 10 minutes (three cancelled) or took 325 s, against 21-27 s before and after. The time went to the first of four 'npx -y -p typescript@5 tsc' calls, the one that fetches the package; the next three took about 2 s each from npx's cache. Main at 53b6587 was back to 27 s at 03:5xZ, so the fetch had stalled, not the change under test. The gate now installs typescript@5 in the same retry loop as the engine, with each try held to 120 s (the install took 4 s), and typecheck.sh uses a TypeScript 5 tsc from PATH when there is one, else npx's as before. Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Between 02:33Z and 03:20Z on 10-22, every mods-types run on #337's branch either hung for the gate's full 10 minutes (three cancelled) or took 325 s. Normal is 21–27 s, before and after. The time went to the first of the four
npx -y -p typescript@5 tsccalls, the one that fetches the package; the other three took about 2 s each from npx's cache. Main at 53b6587 ran the gate in 27 s afterwards (39716896160), so the fetch had stalled, not the change under test. Reported by devcloud setup, friction tracker #304..github/ci-kit.yml: the gate installstypescript@5in the engine's existing retry loop. Each try is held to 120 s, down from 300; the install takes 4 s. A stalled fetch now costs a retry, not the whole gate.tests/mods/typecheck.sh: one tsc for the four plugins, a TypeScript 5tscfrom PATH when there is one, else npx's as before (local runs).ci-gate GREEN, all 17 gates: https://github.com/SSFSKIM/doperpowers/actions/runs/39717063428. mods-types took 20 s, and its log shows typescript installed by the loop ("added 3 packages").
Sminos-Session: CI-opt#a45b97a3 (doperpowers on macbook)