Skip to content

chore: refresh vig-os scaffold pin drift (partial backport) - #23

Merged
gerchowl merged 1 commit into
devfrom
chore/template-refresh
Apr 15, 2026
Merged

gerchowl merged 1 commit into
devfrom
chore/template-refresh

Conversation

@gerchowl

Copy link
Copy Markdown
Contributor

Summary

Partial backport of pin bumps from `vig-os/devcontainer` upstream. Only the items that don't require infrastructure we don't have locally (containers, `resolve-image` action, `retry` CLI).

Tackles item (3) from the session task list — "broader vig-os devcontainer template resync".

What changed

File Change Age behind upstream
`codeql.yml` `github/codeql-action` SHA `0d579ffd` → `c10b8064` (both v4) 22 days
`scorecard.yml` same `codeql-action/upload-sarif` SHA bump 22 days
`sync-issues.yml` `create-github-app-token` v2→v3, `commit-action` v0.1.5→v0.2.0, `MAX_ATTEMPTS: "3"` env, drop dead `github.token` fallback multiple weeks

What was intentionally NOT backported

Container-based execution — upstream now runs `ci.yml`, `sync-issues.yml`, and `sync-main-to-dev.yml` inside `ghcr.io/vig-os/devcontainer` via a new `resolve-image` action. Running those in containers requires shipping that action locally, parsing `.vig-os` for the image tag, and accepting the container startup cost on every CI run. Host-runner execution is fine for our needs and keeps the CI setup standard.

`retry --retries 3` wrappers — the `retry` CLI is baked into the devcontainer image. Not on bare ubuntu-22.04 runners. Flaky-API retries would need to be re-implemented in shell for our workflows. Low-value tradeoff given we haven't hit flakes.

`ci.yml` full resync — upstream's current `ci.yml` is a container shell. A straight replace would delete our:

Our local `ci.yml` is strictly more capable for this repo. Intentional divergence, documented here.

Audit provenance

Drift audit done via agent scan of `vig-os/devcontainer/assets/workspace/` vs local:

  • Both drifted (don't straight-sync): `ci.yml`, `sync-issues.yml`, `sync-main-to-dev.yml`
  • Upstream-only (safe to sync): `codeql.yml`, `scorecard.yml`
  • Local-only (keep): `ci-container.yml`, `setup-env/action.yml`, release workflows
  • Identical: `.pre-commit-config.yaml`, `.pymarkdown`, `.yamllint`, `justfile`, `justfile.local`

Test plan

  • CI green on all required checks
  • `sync-issues.yml` still runs cleanly (validated separately on the next scheduled or manual trigger)
  • No regression in CodeQL / Scorecard runs

🤖 Generated with Claude Code

Partial backport from `vig-os/devcontainer` upstream — only the
items that don't require infrastructure we don't have.

- codeql.yml: `github/codeql-action` SHA `0d579ffd` → `c10b8064`
  (both v4, upstream is 22 days newer)
- scorecard.yml: same `github/codeql-action/upload-sarif` pin bump
- sync-issues.yml:
  - `actions/create-github-app-token` v2 (`29824e69`) → v3 (`f8d387b6`)
  - `vig-os/commit-action` v0.1.5 (`c0024cba`) → v0.2.0 (`1bc00435`)
  - `MAX_ATTEMPTS: "3"` env on the commit step (retry commit on
    transient push failures)
  - drop `|| github.token` fallback on `GH_TOKEN` (we always have
    the App token, the fallback is dead code now)

Deliberately skipped from the upstream template:

- Container-based execution (`ghcr.io/vig-os/devcontainer` via a
  `resolve-image` action) — requires the `resolve-image` action
  which we don't ship locally, plus the devcontainer image itself
  as a hosting target. Host-runner execution is fine for our needs.
- `retry --retries 3 -- gh api ...` wrappers around API calls —
  require the `retry` CLI which ships inside the devcontainer image,
  not on bare ubuntu-22.04 runners.
- `ci.yml` upstream resync — upstream's version would delete our
  Python test matrix (3.12+all, 3.13+all), Bandit/Safety security
  scan, Dependency Review, and Rust (mat-rs) jobs. Our local version
  is strictly more capable for this repo; intentional divergence.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@gerchowl
gerchowl merged commit dff2ca6 into dev Apr 15, 2026
13 checks passed
@gerchowl
gerchowl deleted the chore/template-refresh branch April 15, 2026 11:37
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