Skip to content

feat(setup): add .vig-os as devcontainer version source of truth - #259

Merged
c-vigo merged 3 commits into
feature/173-wire-cross-repo-dispatch-release-gatefrom
feature/257-vig-os-config-ssot
Mar 11, 2026
Merged

c-vigo merged 3 commits into
feature/173-wire-cross-repo-dispatch-release-gatefrom
feature/257-vig-os-config-ssot

Conversation

@c-vigo

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

Copy link
Copy Markdown
Contributor

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

  • feat -- New feature
  • 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

  • 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 [FEATURE] Root .vig-os config file as SSoT for devcontainer version #257 entry

Changelog Entry

Added

  • Root .vig-os config file as devcontainer version SSoT (#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

  • Tests pass locally (just test)

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

Refs: #257

@c-vigo
c-vigo merged commit a6c3bf0 into feature/173-wire-cross-repo-dispatch-release-gate Mar 11, 2026
4 checks passed
@c-vigo
c-vigo deleted the feature/257-vig-os-config-ssot branch March 11, 2026 12:16
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.

1 participant