Skip to content

mods-types: one bounded, retried TypeScript fetch instead of npx's unbounded one - #339

Merged
SSFSKIM merged 1 commit into
mainfrom
mods-types-bounded-tsc
Oct 22, 2026
Merged

SSFSKIM merged 1 commit into
mainfrom
mods-types-bounded-tsc

Conversation

@SSFSKIM

@SSFSKIM SSFSKIM commented Oct 22, 2026

Copy link
Copy Markdown
Owner

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 tsc calls, 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 installs typescript@5 in 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 5 tsc from 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)

…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)
@SSFSKIM
SSFSKIM merged commit d28c0f3 into main Oct 22, 2026
1 check passed
@SSFSKIM
SSFSKIM deleted the mods-types-bounded-tsc branch October 22, 2026 03:43
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-22T03:44:28.914792Z 6403373 PR opened
ℹ️ 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant