Skip to content

[FEATURE] Add container-based CI workflow to smoke-test repo #171

Closed

Description

@c-vigo

Description

Add a ci-container.yml workflow to the smoke-test repo that runs the CI pipeline inside the devcontainer image using the GitHub Actions container: directive. This validates the image works as a CI environment alongside the existing bare-runner CI.

Problem Statement

The devcontainer image ships all CI tools (Python, uv, pre-commit, ruff, pytest), but nothing validates that a full CI workflow runs successfully inside it in a real GitHub Actions environment. test-image checks tool presence; test-integration checks the devcontainer lifecycle. Neither tests the end-to-end CI use case with the container: directive.

Proposed Solution

  • Create ci-container.yml in the smoke-test repo
  • Use container: ghcr.io/vig-os/devcontainer:<tag> directive on CI jobs
  • Mirror the template CI steps (lint, test) but running inside the container
  • Use :latest initially (RC tag support comes with sub-issue 4)
  • Document any quirks or differences vs bare-runner CI (e.g., actions/checkout behavior, root user, no Docker-in-Docker)

Alternatives Considered

See parent issue #169 for full alternatives analysis.

Additional Context

This is sub-issue 2 of 4 for #169 (Phase 1). Depends on #170 (smoke-test repo bootstrap).

Dependency graph:

Impact

  • Backward compatible. Adds a new workflow to the smoke-test repo only.
  • No changes to shipped templates.

Changelog Category

Added

Acceptance Criteria

  • ci-container.yml exists in the smoke-test repo
  • CI jobs run inside the devcontainer image via container: directive
  • Lint and test jobs pass inside the container
  • Both bare-runner (ci.yml) and container (ci-container.yml) CI run on PRs
  • Quirks and differences vs bare-runner CI are documented
  • TDD compliance (see .cursor/rules/tdd.mdc)

Activity

  1. added this to the Backlog milestone on Feb 24, 2026
  2. added
    feature
    area:ci
    effort:medium
    area:testing
    semver:minor
    on Feb 24, 2026
  3. self-assigned this
    on Mar 3, 2026
  4. added a commit that references this issue on Mar 3, 2026
  5. modified the milestones: Backlog, 0.3 on Mar 3, 2026
  6. added a commit that references this issue on Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:ciarea:testingeffort:mediumfeaturesemver:minor

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions