Skip to content

fix(ci): decouple upstream sync workflows from ghcr image dependency - #368

Merged
c-vigo merged 6 commits into
release/0.3.1from
bugfix/367-fix-upstream-dependancy-image
Mar 19, 2026
Merged

c-vigo merged 6 commits into
release/0.3.1from
bugfix/367-fix-upstream-dependancy-image

Conversation

@c-vigo

@c-vigo c-vigo commented Mar 19, 2026 •

Copy link
Copy Markdown
Contributor

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_call schemas.

Type of Change

  • 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

  • Upstream sync workflows now run directly on GitHub-hosted runners without resolve-image container coupling:
    • .github/workflows/sync-issues.yml
    • .github/workflows/sync-main-to-dev.yml
  • Reduced setup bootstrap scope in sync workflows by using setup-env only for retry helper needs and disabling unnecessary installs (install-python: 'false', install-just: 'false').
  • Deleted obsolete upstream resolver and upstream-only config artifacts:
    • .github/actions/resolve-image/action.yml
    • .vig-os
    • assets/smoke-test/.vig-os
  • Removed downstream release contract handshake layer from workspace templates:
    • assets/workspace/.github/actions/validate-contract/action.yml
    • assets/workspace/.github/workflows/release-core.yml
    • assets/workspace/.github/workflows/release-extension.yml
    • assets/workspace/.github/workflows/release-publish.yml
    • assets/workspace/.github/workflows/release.yml
  • Kept workspace sync workflows explicitly decoupled from upstream template behavior:
    • assets/workspace/.github/workflows/sync-issues.yml
    • assets/workspace/.github/workflows/sync-main-to-dev.yml
  • Updated docs/manifests/changelog for the decoupling model:
    • docs/DOWNSTREAM_RELEASE.md
    • scripts/manifest.toml
    • CHANGELOG.md
    • assets/workspace/.devcontainer/CHANGELOG.md

Changelog Entry

Fixed

  • Sync workflows no longer depend on pre-published GHCR image tags (#367)
    • Remove upstream .vig-os files at repository root and assets/smoke-test/.
    • Refactor upstream sync workflows to run natively on runners via setup-env instead of resolve-image + container.

Changed

  • Downstream release templates now rely on workflow_call schemas as the compatibility boundary (#367)
    • Remove contract-handshake wiring and obsolete validate-contract action from workspace templates.
    • Minimize sync workflow setup footprint to reduce unnecessary bootstrap surface.

Testing

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

Manual Testing Details

Not executed locally in this update (workflow/template and documentation changes only).

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

Base branch is release/0.3.1.

Current PR scope: 6 commits, 16 files changed, +35/-204.

Refs: #367

c-vigo added 2 commits March 19, 2026 10:16
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
@c-vigo c-vigo self-assigned this Mar 19, 2026
@c-vigo
c-vigo requested a review from Copilot March 19, 2026 09:20

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 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-issues and sync-main-to-dev workflows to drop resolve-image + container: usage and instead run on ubuntu-22.04 with ./.github/actions/setup-env.
  • Remove upstream-only .vig-os files at the repo root and under assets/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.

Comment thread .github/workflows/sync-issues.yml Resolved
Comment thread .github/workflows/sync-main-to-dev.yml Resolved
c-vigo added 3 commits March 19, 2026 10:27
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
@c-vigo
c-vigo requested a review from Copilot March 19, 2026 09:55

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 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 via setup-env (no container: / no resolve-image job).
  • Remove upstream .vig-os files and delete the upstream resolve-image composite action.
  • Remove downstream “contract_version” handshake from workspace release workflows, delete the validate-contract action, 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.

Comment thread .github/workflows/sync-issues.yml Resolved
Comment thread .github/workflows/sync-main-to-dev.yml Resolved
Comment thread .github/workflows/sync-main-to-dev.yml Resolved
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
@c-vigo
c-vigo merged commit 51b5a46 into release/0.3.1 Mar 19, 2026
13 checks passed
@c-vigo
c-vigo deleted the bugfix/367-fix-upstream-dependancy-image branch March 19, 2026 10:18
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