Repository navigation
Conversation
… 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.
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. |
Owner
Author
|
Source PR merged upstream at the validated head; closing the CI staging PR. |
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.
Staging-only CI validation for unslothai#13986.
This PR exists only to run fork GitHub Actions checks and should be closed after validation.