Repository navigation
feat(ci): wire cross-repo smoke dispatch and release gate - #249
Merged
gerchowl merged 25 commits intoMar 11, 2026
Merged
Conversation
… management Refs: #173
- Added .vscode/settings.json to scripts/manifest.toml for consistent editor settings - Ensures both root repo and workspace template keep settings in sync
When synced to assets/workspace/, the Python interpreter path is
transformed from the host venv (${workspaceFolder}/.venv/bin/python3) to
the container venv (/opt/venv/bin/python3).
Refs: #173
## Description Remove the `pull_request` `paths` filter from CodeQL workflows so PRs with non-Python changes still run CodeQL and upload SARIF results, preventing merge protection from getting stuck waiting for missing results. ## Type of Change - [ ] `feat` -- New feature - [x] `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 - `.github/workflows/codeql.yml` - Removed `pull_request.paths` (`'**.py'`) so CodeQL always runs for PRs to `dev`, `release/**`, and `main` - `assets/workspace/.github/workflows/codeql.yml` - Mirrored the same trigger change in the workspace template copy - `CHANGELOG.md` - Added an Unreleased `### Fixed` entry for issue `#247` ## Changelog Entry ### Fixed - **CodeQL PR trigger no longer blocks merge protection on non-Python changes** ([#247](#247)) - Removed `pull_request` `paths` filter from `codeql.yml` in both root and workspace template so CodeQL always runs for PRs targeting protected branches and uploads SARIF results ## Testing - [ ] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details N/A ## Checklist - [x] My code follows the project's style guidelines - [x] 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`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] 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 This branch is based on `feature/173-wire-cross-repo-dispatch-release-gate`. Refs: #247 ## Description Remove the `pull_request` `paths` filter from CodeQL workflows so PRs with non-Python changes still run CodeQL and upload SARIF results, preventing merge protection from getting stuck waiting for missing results. ## Type of Change - [ ] `feat` -- New feature - [x] `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 - `.github/workflows/codeql.yml` - Removed `pull_request.paths` (`'**.py'`) so CodeQL always runs for PRs to `dev`, `release/**`, and `main` - `assets/workspace/.github/workflows/codeql.yml` - Mirrored the same trigger change in the workspace template copy - `CHANGELOG.md` - Added an Unreleased `### Fixed` entry for issue `#247` ## Changelog Entry ### Fixed - **CodeQL PR trigger no longer blocks merge protection on non-Python changes** ([#247](#247)) - Removed `pull_request` `paths` filter from `codeql.yml` in both root and workspace template so CodeQL always runs for PRs targeting protected branches and uploads SARIF results ## Testing - [ ] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details N/A ## Checklist - [x] My code follows the project's style guidelines - [x] 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`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] 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 This branch is based on `feature/173-wire-cross-repo-dispatch-release-gate`. Refs: #247
…ntegration smoke test Refs: #173
There was a problem hiding this comment.
Pull request overview
This PR wires RC (release candidate) publishing to trigger cross-repo smoke tests in vig-os/devcontainer-smoke-test, documents a manual “smoke gate” before final release, and syncs related CI/workspace template hardening changes.
Changes:
- Add candidate-only cross-repo
repository_dispatchfromrelease.ymlto the smoke-test repo (non-blocking, GitHub App token). - Document the manual RC smoke gate in
docs/RELEASE_CYCLE.mdand record the changes inCHANGELOG.md. - Harden/sync workspace templates: CI workflow pins/behavior, helper CLI checks, sidecar runtime fallback, and image tests covering
gh-issues.
Reviewed changes
Copilot reviewed 26 out of 26 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
tests/test_integration.py |
Removes a gh-issues smoke test that was effectively non-actionable/always-skipped in the integration environment. |
tests/test_image.py |
Adds gh-issues to image-level “command is callable” checks; simplifies parametrization. |
scripts/manifest.toml |
Syncs .vscode/settings.json into workspace template with path transform; updates hook-removal list. |
justfile.worktree |
Adds fast-fail checks for required helper CLIs used by worktree automation. |
justfile.gh |
Adjusts gh-issues recipe execution style (script-style). |
docs/RELEASE_CYCLE.md |
Adds the manual RC smoke gate phase and documents dispatch behavior + app install requirement. |
assets/workspace/justfile.project |
Updates workspace uv sync behavior to include all groups. |
assets/workspace/.vscode/settings.json |
Adds workspace VS Code settings (synced from root via manifest). |
assets/workspace/.pre-commit-config.yaml |
Removes taplo hooks from workspace template config. |
assets/workspace/.github/workflows/sync-issues.yml |
Updates pinned action SHAs in the workspace template workflow. |
assets/workspace/.github/workflows/scorecard.yml |
Updates pinned actions/checkout SHA in workspace template. |
assets/workspace/.github/workflows/release.yml |
Updates pinned actions/checkout SHA in workspace template. |
assets/workspace/.github/workflows/codeql.yml |
Removes PR paths filter (avoid merge-protection deadlock); updates checkout pin in workspace template. |
assets/workspace/.github/workflows/ci.yml |
Adds workflow_call support and updates action pins in workspace template CI. |
assets/workspace/.github/workflows/ci-container.yml |
Adds workflow_call + image-tag input to run CI against an RC tag in a containerized workflow. |
assets/workspace/.github/label-taxonomy.toml |
Clarifies provenance of setup-labels helper command. |
assets/workspace/.devcontainer/justfile.worktree |
Adds helper CLI availability checks (devcontainer variant). |
assets/workspace/.devcontainer/justfile.gh |
Adjusts gh-issues recipe execution style (devcontainer variant). |
assets/workspace/.devcontainer/justfile.devc |
Adds docker fallback for sidecar management recipes (podman/docker). |
assets/workspace/.devcontainer/README.md |
Documents required helper CLIs for certain just recipes. |
CHANGELOG.md |
Adds unreleased entries describing RC smoke dispatch + manual gate and related hardening. |
.github/workflows/sync-issues.yml |
Updates pinned action SHAs in root workflow. |
.github/workflows/scorecard.yml |
Updates pinned actions/checkout SHA in root workflow. |
.github/workflows/release.yml |
Adds cross-repo dispatch token generation + repository dispatch trigger for RC publishes (non-blocking). |
.github/workflows/codeql.yml |
Removes PR paths filter (avoid merge-protection deadlock); updates checkout pin. |
.github/label-taxonomy.toml |
Clarifies provenance of setup-labels helper command. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
## Description Running `just` with no arguments no longer shows available recipes because the `lint` recipe was placed before the `default` recipe in the justfile. This PR moves `default` back to the first position and adds a regression test. ## Type of Change - [ ] `feat` -- New feature - [x] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [ ] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [x] `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 - `justfile` — reordered recipes so `default` appears before `lint`, restoring `just` with no arguments listing available recipes - `tests/bats/just.bats` — new bats test asserting `just` output starts with "Available recipes" - `CHANGELOG.md` — added Fixed entry for #254 ## Changelog Entry ### Fixed - **`just` default recipe hidden by lint recipe** ([#254](#254)) - The `default` recipe must appear before any other recipe in the justfile; `lint` was placed first, shadowing the recipe listing - Moved `default` recipe above `lint` to restore `just` with no arguments showing available recipes ## Testing - [x] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details N/A ## Checklist - [x] My code follows the project's style guidelines - [x] 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`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Additional Notes N/A Refs: #254
## Description
Introduce a committed root `.vig-os` config file as the single source of
truth for devcontainer versioning in workspace assets. This removes
version discovery via `docker-compose.yml` parsing and routes version
flow through `DEVCONTAINER_VERSION`.
## Type of Change
- [x] `feat` -- New feature
- [ ] `fix` -- Bug fix
- [ ] `docs` -- Documentation only
- [ ] `chore` -- Maintenance task (deps, config, etc.)
- [ ] `refactor` -- Code restructuring (no behavior change)
- [x] `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
- Add `assets/workspace/.vig-os` with
`DEVCONTAINER_VERSION={{IMAGE_TAG}}`
- Update `assets/workspace/.devcontainer/docker-compose.yml`
- switch image tag from `{{IMAGE_TAG}}` to
`${DEVCONTAINER_VERSION:-latest}`
- Update `assets/workspace/.devcontainer/scripts/initialize.sh`
- source root `.vig-os`
- write/update `DEVCONTAINER_VERSION` in `.devcontainer/.env`
- Update `assets/workspace/.devcontainer/scripts/version-check.sh`
- replace `docker-compose.yml` grep parsing with `.vig-os` sourcing
- Update tests
- `tests/test_integration.py`: add `.vig-os` coverage, update image
assertion, add missing `.vig-os` graceful-failure test
- `tests/test_image.py`: include `.vig-os` in expected workspace files
- Update `CHANGELOG.md` (`## Unreleased > Added`) with issue #257 entry
## Changelog Entry
### Added
- **Root `.vig-os` config file as devcontainer version SSoT**
([#257](#257))
- Add committed `assets/workspace/.vig-os` key/value config with
`DEVCONTAINER_VERSION` as the canonical version source
- Update `docker-compose.yml`, `initialize.sh`, and `version-check.sh`
to consume `.vig-os`-driven version flow
- Extend integration/image tests for `.vig-os` presence and graceful
handling when `.vig-os` is missing
## Testing
- [x] Tests pass locally (`just test`)
## Checklist
- [x] My code follows the project's style guidelines
- [x] 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`)
- [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and
pasted the entry above)
- [x] My changes generate no new warnings or errors
- [x] 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
- This PR is intentionally based on
`feature/173-wire-cross-repo-dispatch-release-gate` (issue #173 branch),
not `dev`.
Refs: #257
gerchowl
approved these changes
Mar 11, 2026
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
This PR submits the full
feature/173-wire-cross-repo-dispatch-release-gatebranch intodev.It wires RC publish to trigger smoke tests in
vig-os/devcontainer-smoke-test, documents the manual smoke gate before final release, and includes related CI/workspace hardening changes present on this branch.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
release.yml: add candidate-only cross-reporepository_dispatchto smoke-test repo, including scoped GitHub App token generation and non-blocking behavior.docs/RELEASE_CYCLE.md: add manual RC smoke gate phase, update release lifecycle flow, and documentRELEASE_APPinstallation requirement on smoke-test repo.CHANGELOG.md: add unreleased entries for RC smoke dispatch/release gate and related branch changes.codeql.yml,scorecard.yml,sync-issues.yml,ci.yml,ci-container.yml,release.ymljustfile.gh/assets/workspace/.devcontainer/justfile.gh: remove brokengh-issues --helpavailability guard (the CLI has no--helpflag, so the check always failed).tests/test_image.py: addgh-issuesto the parametrizedcommand -vcallable check; simplify test to use name-only parametrization.tests/test_integration.py: removeTestGhIssuesSmokeclass (always skipped — no repo context in test workspace; binary availability now covered by image tests).Changelog Entry
Added
.vscode/settings.jsontoscripts/manifest.tomlto keep editor settings consistent across root repo and workspace templaterepository_dispatchinvig-os/devcontainer-smoke-testwith the RC tag payloadFixed
gh-issues --helpguard in justfile recipe (#173)gh-issuesCLI has no--helpflag, so the availability check always failed even when the binary was installedChanged
setup-labelsis provided by devcontainer bootstrap toolingpull_requestpathsfilter fromcodeql.ymlin both root and workspace template so CodeQL always runs for PRs targeting protected branches and uploads SARIF resultsTesting
just test)Manual Testing Details
vig-os/devcontainer-smoke-testvia dispatch runs:rc_tag=latest) completed successfullyrc_tagfailed validation as expecteddoes-not-exist-tag) failed container pull and summary as expectedChecklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
N/A
Refs: #173, #247