Skip to content

feat: release v0.0.7 - #43

Merged
sebastienrousseau merged 1 commit into
mainfrom
feat/v0.0.7
Oct 30, 2026
Merged

sebastienrousseau merged 1 commit into
mainfrom
feat/v0.0.7

Conversation

@sebastienrousseau

Copy link
Copy Markdown
Owner

This PR resolves CodeQL code scanning alerts 41 and 42 (py/empty-except, CWE-390) in scripts/post-build.py and prepares the v0.0.7 release.

Eliminating silent exception blocks ensures corrupt web app manifests fail fast at build time and keeps static analysis findings at zero on main.

Highlights ⭐️

  • CodeQL Static Analysis Remediation: Replaced silent try ... except blocks in scripts/post-build.py with Path.unlink(missing_ok=True) for optional news sitemap cleanup and fail-fast JSON parsing in update_manifests, resolving alerts 41 and 42.
  • SPDX Header Validation & Test Coverage: Removed broad except Exception suppression in scripts/validate_spdx_headers.py and added unit test coverage in tests/test_frontmatter.py for write_sitemap and update_manifests.

What's Changed

Validation

  • make verify: 100% regression tests passed (0 errors), 2/2 Node tests passed, 40/40 SPDX headers verified, WCAG 2.2 AAA contrast passed (worst pair 7.09:1), 20/20 frontmatter pages verified, 15/15 ssg audit gates passed.
  • ssg build: 10/10 Quality Gate pillars passed across 20 pages (0 issues).

Checksums

9aa9e4f09dde769bb79be01ef29e2e9ab9e023a750196ef3429fb375f53df2ef  scripts/post-build.py
b0a8620b6c884b07ece2389022fd047ca298f08eb97cc1729dfa09333c09db6a  scripts/validate_spdx_headers.py
41862288004aa419ad99d18d499a4d1025d3ceecd979038ba692f677ada4f91e  tests/test_frontmatter.py
9bf5969c7fbbf1ecbcb836b2635971d92609256dd35e7ec91e0173bbed5e8be1  docs/sbom.cdx.json

Full Changelog: v0.0.6...v0.0.7

Replace empty except blocks in scripts/post-build.py with Path.unlink
(missing_ok=True) for optional news sitemap cleanup and fail-fast
manifest.json parsing, resolving CodeQL alerts 41 and 42 (CWE-390).

Remove broad exception suppression in scripts/validate_spdx_headers.py,
add unit test coverage in tests/test_frontmatter.py, and increment
release metadata to v0.0.7.

Signed-off-by: Sebastien Rousseau <sebastienrousseau@users.noreply.github.com>
Assisted-by: Antigravity:Gemini-3.1-Pro [ssg, node, python3]
@sebastienrousseau
sebastienrousseau merged commit 1bcadf1 into main Oct 30, 2026
9 checks passed
@sebastienrousseau
sebastienrousseau deleted the feat/v0.0.7 branch October 30, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant