Skip to content

PR #13986 staging CI - #353

Closed
Etherll wants to merge 5 commits into
mainfrom
pr-13986-ci
Closed

Etherll wants to merge 5 commits into
mainfrom
pr-13986-ci

Conversation

@Etherll

@Etherll Etherll commented Oct 16, 2026

Copy link
Copy Markdown
Owner

Staging-only CI validation for unslothai#13986.

This PR exists only to run fork GitHub Actions checks and should be closed after validation.

… bun check when available

- typescript 5.9.3 -> 7.0.2 (native compiler). Tests that use the TypeScript
  JS API import @typescript/typescript6, since TypeScript 7 ships none; an
  overrides entry keeps typescript-eslint's peer resolvable, and a small
  require hook keeps `npm run lint` on the TypeScript 6 API.
- baseUrl removed with the TypeScript team's ts5to6 tool; two lib-typing
  fixes TypeScript 6+ needs (latex.ts, training-start-request-id.ts).
- incremental on for the app, node and test projects: an unchanged rerun no
  longer re-checks everything.
- scripts/typecheck.mjs runs `bun check` when a Bun that has it (>= 1.4.3) is
  on PATH, else tsc; build and typecheck call it. UNSLOTH_TYPECHECK=auto|tsc|bun.
- Frontend CI also runs the type check through a pinned Bun 1.4.3.
The fake bun was a /bin/sh script calling dirname and cat, but the fixture's
PATH holds only its bin directory and node's own directory. Under setup-node,
nvm and similar installs that directory has no coreutils, so six cases failed.
It is now a node script started through /usr/bin/env.
npx eslint and editor ESLint load eslint.config.js without the --require
preload, so typescript-eslint got TypeScript 7 (no JS API) and crashed.
Importing the hook first in the config covers every entry point, and
npm run lint is plain eslint again.
bun check applies the rules of the TypeScript version its Bun ships with
(process.versions.typescript). A Bun that follows another version could pass
code that the pinned tsc rejects, so auto mode now falls back to tsc unless the
two versions match, and UNSLOTH_TYPECHECK=bun fails on a mismatch.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 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-16T13:14:24.024291Z 40290d1 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.

@Etherll

Etherll commented Oct 16, 2026

Copy link
Copy Markdown
Owner Author

Source PR merged upstream at the validated head; closing the CI staging PR.

@Etherll Etherll closed this Oct 16, 2026
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