Repository navigation
fix(setup): ship .typos.toml with the workspace scaffold - #856
Merged
Merged
Conversation
RED: the scaffold ships the typos prek hook but not the exception config, so scaffold-shipped content (version-check.sh Nd duration syntax, synced changelog "unexcepted" CVE-policy term) fails every consumer lint out of the box — surfaced by the 0.4.0-rc2 smoke test. Refs: #855
The scaffolded .pre-commit-config.yaml runs the typos prek hook, but the exception register stayed repo-local, so consumers linted scaffold-shipped content with zero exceptions and failed out of the box: the 0.4.0-rc2 smoke-test deploy PR died on version-check.sh's Nd duration placeholder and the synced changelog's "unexcepted" CVE-policy term -- both excepted here in .typos.toml. Sync the file into the template via scripts/manifest.toml (SSoT, same mechanism as .yamllint and .pymarkdown). Refs: #855
This was referenced Jul 4, 2026
c-vigo
added a commit
that referenced
this pull request
Jul 4, 2026
…#858) ## Summary Forward-fix for the rc3 smoke-test failure ([#857](#857), diagnosis posted there). rc3 convergence signal: consumer CI green inside the rc3 image, **deploy PR merged** (validating #853 + #856), downstream release cycle started — and died at `Create draft PR to main` with `GraphQL: Body is too long`. It's the #810 bug shipped to consumers: #812 capped only this repo's own `prepare-release.yml`; the scaffolded copy (`assets/workspace/.github/workflows/prepare-release.yml`) still interpolated the full changelog section uncapped, and the smoke-test repo's CHANGELOG is seeded from our ~67k-char 0.4.0 section. This ports the identical cap (65,000-char budget, line-boundary truncation, pointer to the release branch's full `CHANGELOG.md`). `release-core.yml` (shipped) has no PR-body write, so this is the only consumer-side site. The deploy sync carries the fixed workflow to the smoke-test repo on the next candidate (rc4), which should complete the downstream cycle. ## Verification - Identical cap logic harness-verified against the real 0.4.0 section in #830 (66,794 → 64,869 chars, line-boundary truncation; sub-threshold passthrough byte-identical). - YAML de-indentation of the new `HEADER` asserted via `yaml.safe_load` (no indent leak). - `just precommit` (full suite, all files): green, exit 0. - Changelog entry added to the open `## [0.4.0] - TBD` section. Refs: #857
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
Forward-fix for the rc2 smoke-test failure (#855, diagnosis posted there). Strong convergence signal from rc2: the #853
.vig-ospin works (DEVCONTAINER_VERSION=0.4.0-rc2in the deploy PR), the Lint job runs inside the rc2 image, the whole prek suite executes and the Tests job passes — the only remaining failure is thetyposhook flagging scaffold-shipped content (Nd,unexcepted) that this repo excepts in.typos.tomlbut never shipped.Fix: add
.typos.tomltoscripts/manifest.tomlso sync-manifest ships it with the workspace template — the same SSoT mechanism as.yamllint/.pymarkdown.Verification
not ok 56), GREEN after the manifest entry + sync.just precommit(full suite, all files): green, exit 0.## [0.4.0] - TBDsection.Refs: #855