Skip to content

fix(ci): ship changelog in workspace and smoke deployment - #334

Merged
c-vigo merged 5 commits into
devfrom
feature/333-ship-changelog-workspace-smoke-test
Mar 17, 2026
Merged

c-vigo merged 5 commits into
devfrom
feature/333-ship-changelog-workspace-smoke-test

Conversation

@c-vigo

@c-vigo c-vigo commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Description

Ship CHANGELOG.md in the devcontainer workspace payload and make smoke-test deployments publish the same changelog at repository root. This keeps changelog content available in both .devcontainer/ and root locations while preserving a single canonical source file.

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

  • scripts/manifest.toml
    • Add sync entries to ship canonical CHANGELOG.md into both workspace root and .devcontainer/CHANGELOG.md.
  • assets/smoke-test/.github/workflows/repository-dispatch.yml
    • Validate .devcontainer/CHANGELOG.md exists after install and copy it to repository root as CHANGELOG.md.
  • tests/bats/just.bats
    • Add regression check for smoke-test changelog copy behavior.
  • tests/test_image.py
    • Assert image workspace contains /root/assets/workspace/.devcontainer/CHANGELOG.md.
  • tests/test_integration.py
    • Add smoke-workspace assertion that root and .devcontainer changelog files both exist and match.
  • CHANGELOG.md, assets/workspace/CHANGELOG.md, assets/workspace/.devcontainer/CHANGELOG.md
    • Add unreleased entry for issue #333 and sync workspace changelog artifacts.

Changelog Entry

Changed

  • Ship changelog into workspace payload and smoke-test deploy root (#333)
    • Sync canonical CHANGELOG.md into both workspace root and .devcontainer/ template paths
    • Smoke-test dispatch now copies .devcontainer/CHANGELOG.md to repository root so deploy output keeps a root changelog

Testing

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

Manual Testing Details

Targeted checks run:

  • npx bats tests/bats/just.bats (passes, includes new smoke changelog regression)

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

Atomic commit intent from issue #333 was constrained by the sync-manifest pre-commit hook: manifest and synced workspace artifacts are coupled at commit time, so implementation and generated sync outputs were committed together.

Refs: #333

@c-vigo c-vigo self-assigned this Mar 17, 2026
@c-vigo
c-vigo requested a review from Copilot March 17, 2026 09:08

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR ensures the canonical CHANGELOG.md is shipped into the workspace payload (including .devcontainer/) and that smoke-test deployments publish the same changelog at the smoke-test repository root, keeping changelog content available in both locations while maintaining a single canonical source.

Changes:

  • Sync CHANGELOG.md into assets/workspace/CHANGELOG.md and assets/workspace/.devcontainer/CHANGELOG.md via the workspace sync manifest.
  • Update the smoke-test repository_dispatch workflow to validate .devcontainer/CHANGELOG.md after install and copy it to root CHANGELOG.md.
  • Add/adjust test coverage across pytest + BATS to assert changelog presence and equality in smoke-workspaces and images.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
scripts/manifest.toml Adds manifest entries to ship the canonical changelog into workspace root and .devcontainer/.
assets/smoke-test/.github/workflows/repository-dispatch.yml Copies .devcontainer/CHANGELOG.md to repo root during smoke-test deploys.
tests/bats/just.bats Adds a regression assertion that the smoke-test workflow performs the changelog copy.
tests/test_image.py Ensures the built image contains /root/assets/workspace/.devcontainer/CHANGELOG.md.
tests/test_integration.py Verifies smoke-workspace contains both changelog paths and that contents match.
CHANGELOG.md Adds an Unreleased entry documenting the changelog shipping/copy behavior.
assets/workspace/CHANGELOG.md Updates the workspace-synced changelog artifact to match canonical content (including new entry).
assets/workspace/.devcontainer/CHANGELOG.md Adds the .devcontainer/ changelog artifact for the workspace template.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread assets/workspace/CHANGELOG.md Resolved
@c-vigo
c-vigo enabled auto-merge March 17, 2026 09:19
@c-vigo
c-vigo merged commit d049e75 into dev Mar 17, 2026
12 checks passed
@c-vigo
c-vigo deleted the feature/333-ship-changelog-workspace-smoke-test branch March 17, 2026 09:24
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.

2 participants