Skip to content

fix(scaffold): prevent devkit entries in consumer changelog seed - #2026

Merged
gerchowl merged 2 commits into
devfrom
bugfix/2025-seed-changelog-leak
Nov 4, 2026
Merged

gerchowl merged 2 commits into
devfrom
bugfix/2025-seed-changelog-leak

Conversation

@gerchowl

@gerchowl gerchowl commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Description

Fresh consumer scaffolds inherited devkit release entries from the workspace seed. Restore the empty skeleton and prevent future leakage.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • Restore the seed byte-for-byte to the main-branch skeleton.
  • Add a guard for the complete empty skeleton, committed before the fix.
  • Document changelog ownership in CLAUDE.md and regenerate the devcontainer mirror.

Changelog Entry

Fixed

  • Clean consumer changelog seed (#2025)
    • Restore the empty workspace changelog skeleton and guard it against devkit release entries.
    • Document the root changelog, generated mirror and first-deploy seed responsibilities.

Testing

uv run --with pytest-xdist pytest tests/test_seed_changelog.py -n 4 --basetemp=$HOME/.cache/devkit-pytest/seedcl: failed before restoration (exit 1), passed after restoration (exit 0).

git show origin/main:assets/workspace/CHANGELOG.md | cmp - assets/workspace/CHANGELOG.md: exit 0.

Commit hooks run inside nix develop; CI covers the remaining suites.

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

Reviewed the sync manifest and first-deploy bootstrap: the root changelog generates the devcontainer mirror; only a missing consumer changelog receives the workspace seed.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

Documentation rules live in CLAUDE.md; no generated CONTRIBUTING changes are needed. No merge or workflow dispatch is requested.

Refs: #2025

@gerchowl
gerchowl merged commit c95bcbc into dev Nov 4, 2026
16 checks passed
@gerchowl
gerchowl deleted the bugfix/2025-seed-changelog-leak branch November 4, 2026 04:39
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