Repository navigation
fix(workspace): reword mirror-fold comment to lint under a stock typos seed - #1533
Merged
Merged
Conversation
The DEVKIT_SYNC_TARGET fold block reaches consumers unlinted: init-workspace.bats pins that its steps render and release-mirror-fold.bats executes the rendered run blocks, but nothing ever looked at the rendered tree the way a consumer's own hooks do — which is why the 1.10.0 typo regression was found by the one repo that sets the manifest key, on its scheduled upgrade. The new file renders a mirror-mode workspace in both workflow models and lints each: typos with no allowlist at all (a consumer's .typos.toml is seeded once and never overwritten, so generated content may not rely on any entry in it — least of all one devkit added later for its own vendored assets) and actionlint over the steps and job the fold injects, which the default-path fixtures never see. Red on the current render: `mis-parse` in the generated release-core.yml comment. Refs: #1531
…s seed The DEVKIT_SYNC_TARGET fold block rendered a comment into the consumer's managed release-core.yml whose wording is only spell-clean under devkit's own .typos.toml. A consumer's .typos.toml is seeded once and never overwritten by an upgrade, so a repo scaffolded before devkit added that entry could not receive it: the mirror-mode consumer's devkit-upgrade run died at the commit step and left no branch, PR or issue behind, and re-failed weekly. Reworded so the generated tree needs no allowlist entry at all. No consumer action required. Refs: #1529
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.
Summary
Fixes the 1.10.0 upgrade regression that broke
vig-os/org-config(run 32002045870) and adds the lint guard whose absence let it ship:DEVKIT_SYNC_TARGETfold block renderedmis-parseinto the consumer's managedrelease-core.yml— spell-clean only under devkit's own.typos.toml(guardrails as a capability module — the semantic-gate half of #1400 #1488 entry), not under a pre-guardrails as a capability module — the semantic-gate half of #1400 #1488 consumer seed, which upgrades never overwrite. Now reads "parse wrong"; no consumer action needed.tests/bats/release-mirror-fold-lint.batsrenders a full mirror-mode workspace in both workflow models and lints each tree withtypos --isolated(no allowlist at all — stricter than the issue asked, because real consumer seeds predate entries the current seed carries: commit-action's has only 3 of the 7 words) andactionlint(first actionlint coverage of the fold-injected steps/job). Fixture preconditions assert the fold actually rendered, so the lints can't pass vacuously.Deliberately untouched: whether #1488's vendored-asset words belong in the consumer seed at all (issue #1529 point 3), and the residual exposure of the synced devkit changelog in devcontainer-mode consumers (released 1.10.0 text contains
mis-parses; no consumer is affected today — noted in the test header, follow-up candidate).Test plan
error: \mis` should be `miss`, `mist` — release-core.yml:641`) before the reword, green afterbats tests/bats/543/543 green; scaffold-adjacent pytest suites (1165 tests) green;prek run --all-filesgreen (verified independently of the implementation run)Closes #1529
Closes #1531