Repository navigation
fix(ci): ship changelog in workspace and smoke deployment - #334
Merged
Merged
Conversation
There was a problem hiding this comment.
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.mdintoassets/workspace/CHANGELOG.mdandassets/workspace/.devcontainer/CHANGELOG.mdvia the workspace sync manifest. - Update the smoke-test
repository_dispatchworkflow to validate.devcontainer/CHANGELOG.mdafter install and copy it to rootCHANGELOG.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.
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.
Description
Ship
CHANGELOG.mdin 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 featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
scripts/manifest.tomlCHANGELOG.mdinto both workspace root and.devcontainer/CHANGELOG.md.assets/smoke-test/.github/workflows/repository-dispatch.yml.devcontainer/CHANGELOG.mdexists after install and copy it to repository root asCHANGELOG.md.tests/bats/just.batstests/test_image.py/root/assets/workspace/.devcontainer/CHANGELOG.md.tests/test_integration.py.devcontainerchangelog files both exist and match.CHANGELOG.md,assets/workspace/CHANGELOG.md,assets/workspace/.devcontainer/CHANGELOG.md#333and sync workspace changelog artifacts.Changelog Entry
Changed
CHANGELOG.mdinto both workspace root and.devcontainer/template paths.devcontainer/CHANGELOG.mdto repository root so deploy output keeps a root changelogTesting
just test)Manual Testing Details
Targeted checks run:
npx bats tests/bats/just.bats(passes, includes new smoke changelog regression)Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
Atomic commit intent from issue
#333was constrained by thesync-manifestpre-commit hook: manifest and synced workspace artifacts are coupled at commit time, so implementation and generated sync outputs were committed together.Refs: #333