fix: close roadmap audit gaps - real audit gate, schema tests, OSS templates - #65
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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 all 5 gaps found in the ROADMAP.md audit:
bun auditis now a real CI gate — removedcontinue-on-error: truefromci.yml. To make it pass, cleared all 17 known advisories (1 critical, 16 high:tar,brace-expansion,postcss,sharp,undici,fast-uri,svgo,js-yaml) via dependency overrides inpackage.json(same pattern as the existingminimatch/path-to-regexpoverrides).src/content.config.tsintosrc/lib/content-schema.ts(testable outside Astro's virtual modules), wired it back withextend(), and added 21 unit tests (content-schema.test.ts) covering required fields, invalid dates, invalid values, and unknown-field stripping. 55 tests total, all passing.CODE_OF_CONDUCT.md(Contributor Covenant 2.1),.github/PULL_REQUEST_TEMPLATE.md, and.github/ISSUE_TEMPLATE/(bug report + feature request forms, security-reporting config)..github/**added to ESLint ignores since GitHub requires theISSUE_TEMPLATEdirectory name.docs/design.md,docs/security.md,docs/contributing.md,docs/agents.mdin their actual lowercase form (uppercase links break on case-sensitive filesystems / Linux CI).1.22.6→2.0.0.Also:
docs/CHANGELOG.mdgained an[Unreleased]section.Checklist
bun run lintpassesbun run testpasses (55 tests, 5 files)bunx astro checkpasses (0 errors)bun run buildpassesbun run sizepasses (1.16 kB gzipped, budget 10 kB)bun audit --audit-level=highexits 0Note on the v2.0.0 tag
The
v2.0.0git tag does not exist yet (repo is atv1.22.6). I'll create and push it onmainright after this PR merges, so the tag points at the release commit including these fixes.