Repository navigation
fix(tooling): pass --ignoreConfig so migration-validator stops failing every migration - #1206
Merged
Merged
Conversation
…g every migration TypeScript 6 refuses a file named on the command line while a tsconfig.json is present (TS5112), so the validator's tsc check reported FAIL on migrations that compile. typescript is pinned to 6.0.3 exactly, so the flag goes in bare. Closes #1200 Co-Authored-By: Claude Opus 5.5 <[email protected]>
railway-app
Bot
temporarily deployed
to
sahajcloud / SahajCloud-pr-1206
November 18, 2026 19:08
Destroyed
|
🚅 Deployed to the SahajCloud-pr-1206 environment in sahajcloud
1 service not affected by this PR
|
sydevs-bot
approved these changes
Nov 18, 2026
sydevs-bot
left a comment
Contributor
There was a problem hiding this comment.
Approved for Ardnived, who wrote it: GitHub refuses an author's own approval. CI is green and the automated review has run. Enable auto-merge when you want it merged: the queue tests it against its base. 🤖 Written by the sydevs autonomous loop — see what this is
Contributor
|
Adversarial review skipped: 1 file(s), 5 changed line(s), under 🤖 sydevs dispatcher |
This branch was successfully deployed
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.
Closes #1200
Summary
.claude/skills/migration-validator/validate.shpasses the migration file totscon the command line. TypeScript 6 refuses that while atsconfig.jsonis present (error TS5112), so the TypeScript check reported FAIL on every migration, including ones that compile.Adds
--ignoreConfigto that one invocation.pnpm exec tsc --versionreads6.0.3, andpackage.jsonpinstypescriptto6.0.3exactly, so the flag goes in bare with no version check. A comment beside it records why. Nothing else in the script changed.Verification
The ticket's example migration (
20261117_234341_tidy_event_form.ts) was squashed into the baseline by #1188, so these checks ran againstsrc/migrations/20261116_181127_merge_main_snapshot_10.ts.✗ FAIL, and the summary showsFail: 1.✓ PASS: TypeScript compiles cleanly,Fail: 0, exit 0./tmp/migration-validator-tsc.logis empty after a clean run.const broken: number = "nope"appended reports✗ FAILwithTS2322in the log and exits 1. The copy was deleted afterwards.DROP TABLEand table-rebuild warnings print the same as before.The lean gate was not run: the diff is one shell script that Prettier, lint and the unit lane never read.
🤖 Generated with Claude Code