Repository navigation
fix(ci): decouple upstream sync workflows from ghcr image dependency - #368
Conversation
Run upstream and workspace sync workflows directly on GitHub-hosted runners by removing resolve-image container coupling and standardizing setup-env bootstrapping for retry-dependent steps. Refs: #367
Drop upstream-only .vig-os files from repository and smoke-test roots, and record the CI decoupling fix in changelog entries propagated to workspace payload artifacts. Refs: #367
There was a problem hiding this comment.
Pull request overview
This PR removes a circular CI dependency where upstream sync workflows required a pre-published GHCR image tag, switching those workflows to run directly on GitHub-hosted runners via the repo’s setup-env composite action. It also cleans up upstream-only .vig-os files and records the fix in the changelog.
Changes:
- Refactor upstream
sync-issuesandsync-main-to-devworkflows to dropresolve-image+container:usage and instead run onubuntu-22.04with./.github/actions/setup-env. - Remove upstream-only
.vig-osfiles at the repo root and underassets/smoke-test/. - Propagate the same workflow refactor and changelog entry into the workspace template.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/sync-issues.yml |
Removes container/image resolution and adds setup-env on runner. |
.github/workflows/sync-main-to-dev.yml |
Removes container/image resolution and adds setup-env in both jobs. |
assets/workspace/.github/workflows/sync-issues.yml |
Mirrors upstream workflow changes in the workspace template. |
assets/workspace/.github/workflows/sync-main-to-dev.yml |
Mirrors upstream workflow changes in the workspace template. |
.vig-os |
Deletes upstream root .vig-os config. |
assets/smoke-test/.vig-os |
Deletes upstream smoke-test .vig-os config. |
CHANGELOG.md |
Adds Unreleased “Fixed” entry for #367. |
assets/workspace/.devcontainer/CHANGELOG.md |
Syncs the same changelog entry into the workspace devcontainer changelog. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Delete the now-unused upstream resolve-image composite action after moving upstream workflows to runner-native setup, while keeping downstream workspace resolve-image action intact. Refs: #367
Remove validate-contract and contract_version wiring from workspace release templates and docs, relying on workflow_call input schemas as the single compatibility boundary. Refs: #367
There was a problem hiding this comment.
Pull request overview
This PR removes a circular CI dependency by updating the upstream sync workflows to run directly on GitHub-hosted runners (using ./.github/actions/setup-env for shared retry tooling) instead of running inside a GHCR devcontainer image resolved from .vig-os. It also cleans up upstream-only .vig-os artifacts and removes the now-unused upstream resolve-image action, while updating workspace templates/docs to reflect the new separation.
Changes:
- Refactor upstream sync workflows (
sync-issues,sync-main-to-dev) to run natively on runners viasetup-env(nocontainer:/ noresolve-imagejob). - Remove upstream
.vig-osfiles and delete the upstreamresolve-imagecomposite action. - Remove downstream “contract_version” handshake from workspace release workflows, delete the
validate-contractaction, and update downstream release documentation.
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
scripts/manifest.toml |
Stops syncing upstream sync workflows into the workspace template, enabling independent maintenance. |
docs/DOWNSTREAM_RELEASE.md |
Updates downstream release docs to remove contract-version handshake semantics. |
CHANGELOG.md |
Adds an Unreleased “Fixed” entry for decoupling upstream sync workflows from GHCR tags. |
assets/workspace/.github/workflows/sync-main-to-dev.yml |
Adds note clarifying this workspace workflow is maintained separately from upstream. |
assets/workspace/.github/workflows/sync-issues.yml |
Adds note clarifying this workspace workflow is maintained separately from upstream. |
assets/workspace/.github/workflows/release.yml |
Removes contract_version passed to reusable release workflows. |
assets/workspace/.github/workflows/release-publish.yml |
Removes contract_version input and validation step. |
assets/workspace/.github/workflows/release-extension.yml |
Removes contract_version input and validation step from the extension hook template. |
assets/workspace/.github/workflows/release-core.yml |
Removes contract_version input and validation step. |
assets/workspace/.github/actions/validate-contract/action.yml |
Deletes the contract validation composite action. |
assets/workspace/.devcontainer/CHANGELOG.md |
Mirrors the changelog entry into the workspace devcontainer payload. |
assets/smoke-test/.vig-os |
Removes downstream-only .vig-os file from upstream smoke-test asset directory. |
.vig-os |
Removes upstream root .vig-os file to eliminate downstream-only config from the upstream repo. |
.github/workflows/sync-main-to-dev.yml |
Drops container execution + image resolution; adds setup-env. |
.github/workflows/sync-issues.yml |
Drops container execution + image resolution; adds setup-env. |
.github/actions/resolve-image/action.yml |
Deletes upstream image resolver action now that upstream workflows no longer rely on GHCR. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Disable Python and just installation in upstream sync workflows where only the retry helper is required, reducing runtime and external bootstrap failure modes. Refs: #367
Description
Decouples upstream sync workflows from GHCR image tag resolution so sync automation no longer depends on pre-published devcontainer image tags (for example,
latest) that can be missing or delayed.Also removes the obsolete downstream release contract handshake wiring from workspace templates and keeps compatibility enforced through
workflow_callschemas.Type of Change
fix-- 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
resolve-imagecontainer coupling:.github/workflows/sync-issues.yml.github/workflows/sync-main-to-dev.ymlsetup-envonly for retry helper needs and disabling unnecessary installs (install-python: 'false',install-just: 'false')..github/actions/resolve-image/action.yml.vig-osassets/smoke-test/.vig-osassets/workspace/.github/actions/validate-contract/action.ymlassets/workspace/.github/workflows/release-core.ymlassets/workspace/.github/workflows/release-extension.ymlassets/workspace/.github/workflows/release-publish.ymlassets/workspace/.github/workflows/release.ymlassets/workspace/.github/workflows/sync-issues.ymlassets/workspace/.github/workflows/sync-main-to-dev.ymldocs/DOWNSTREAM_RELEASE.mdscripts/manifest.tomlCHANGELOG.mdassets/workspace/.devcontainer/CHANGELOG.mdChangelog Entry
Fixed
.vig-osfiles at repository root andassets/smoke-test/.setup-envinstead ofresolve-image+container.Changed
workflow_callschemas as the compatibility boundary (#367)validate-contractaction from workspace templates.Testing
just test)Manual Testing Details
Not executed locally in this update (workflow/template and documentation changes only).
Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
Base branch is
release/0.3.1.Current PR scope: 6 commits, 16 files changed,
+35/-204.Refs: #367