GeezerVison is showing github.com — feat(mcpx): honor script.checkJs for JavaScript validation by developing-today-fleet[bot] · Pull Request #15941 · developing-today/code
Conversation
Summary
script.checkJs (bool, default true)
true: types/strict check validates // @ts-check JS + adjacent .d.ts
false: JavaScript entries skip the check; TypeScript unchanged
Part of #1911 (Approach C pipeline slice 2 only; script.compile and runtime selection stay out).
Evidence
- Before: no
script.checkJs setting existed; deno check on a // @ts-check JS entry reported its type errors with no way to suppress them (verified: Type string is not assignable to type number via adjacent .d.ts, exit 1).
- After: focused suites pass —
preflight (new gate unit test, -race -shuffle=on -count=5), settings guards (effect, consumed, docs), runner, execsvc, api parity/schema guards, and the new e2e effect probe TestScriptCheckJsDecidesWhetherJavaScriptIsChecked (-race -shuffle=on -count=5), plus the neighboring checkOnUnsupported/checkOnError/typecheck probes unchanged.
- Neighboring probes for
script.checkOnUnsupported still pass, so the non-Deno policy is intact. TestEveryOperationCarryingASecretIsNotATool and route/table guards pass.
- Pre-existing failures left untouched (verified on pristine HEAD, unrelated):
TestCommittedRegionsAreCurrent/TestParityDocumentIsCurrent (stale auth row in docs/parity.md), TestPluginOpsAreGenerated (generated-client drift, no checkJs surface involved), and TestInlineDaemonPollIntervalChangesRetryCount (timing-sensitive, fails on clean HEAD under sandbox load).
Merge Danger
Door: one-way
Blast Radius: medium
New default-on setting; behavior changes only for JS entries with checkJs=false. No runtime selection, bundling, or default-check changes.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-27T04:58:51Z",
"session_id": "ses_e5de5572ef2ffe4jaMHFxxUJtc",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/fleet/code-g-26090-20261127T041335Z-0e20cd19",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/fleet/code-g-26090-20261127T041335Z-0e20cd19",
"repo": "developing-today/code",
"branch": "code-g/26090-script-checkjs",
"sha": "cbd4f94dcaae98cc9ae5c4aa9d59992e07a973ee"
},
"auth_subject": "oc-code-06",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Important
Review skipped
Bot user detected.
To trigger a single review, invoke the @coderabbitai review command.
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
54b321ee-94dc-45eb-8dec-542dacaec220
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Verification evidence — lane 2307-G (verify-then-merge, charlie ADVANCE 2026-11-26 23:07 CST)
Head verified unchanged: cbd4f94. Body + all comments read (sole comment: CodeRabbit skip); full diff read — 12 files +140/-1, script.checkJs plumbing through settings registry, CLI, daemon, execsvc, runner + preflight gate, new unit test and e2e probe, docs row — matches body. Not docs-only.
Fleet-command runs (dezren39/fleet), ref pinned to the exact head, job logs re-read via gh api/gh run view --log:
- Run 45944581353 (2307G-15941): Linux job log Target HEAD = cbd4f94. preflight ok, runner ok, daemon ok. Four failures, all baseline, none in this PR's diff surface:
- TestPluginOpsAreGenerated (api) and TestParityDocumentIsCurrent (cli) — documented in the PR body as pre-existing on pristine HEAD.
- TestEveryDocumentHasAChapter (settings) — recorded main baseline (run 45933371349 on main, see main-broken: developing-today/code mcpx nix build @0d1d071 — basic: nix build #15689).
- TestFailureKindPreflightTimeout (execsvc) — proven venue baseline by control run 45945580929 on unmodified main f790395: identical failure,
node not found (fleet image has no node binary).
- Run 45945551675 (2307G-15941b): completed SUCCESS, Target HEAD = cbd4f94 exact. All touched packages pass: preflight, runner, daemon, settings, execsvc, api, cli (skipping only the four baseline tests above). The e2e probe TestScriptCheckJsDecidesWhetherJavaScriptIsChecked SKIPped in this venue (no deno binary; RequireBinary) — its passing evidence is the author's local run recorded in the PR body; the new preflight gate unit test TestJSCheckGateSuppressesJavaScriptChecking passes in the preflight package.
Gate passes on the exact head. Merging under standing authority. Key: 2307-G
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|