Skip to content

[CHORE] Rename devcontainer → devkit (after publish-cutover #639) #781

Closed

Description

@c-vigo

Rename devcontainer → devkit, ship as devkit 1.0.0

This issue is the source of truth for the rename program. The body below is a living
plan-of-record (checklist auto-tracks as PRs merge); a dated status timeline lives in the
comments. Sequenced AFTER the gated publish-cutover #639 — consumer-facing, semver:major.

Origin: PR #670 roadmap, thread E + rename note. Refs #639, #670.


Confirmed decisions (approved 2026-07-10)

  • Brand spelling: devkit (one word) — matches all existing DEVKIT_* manifest keys.
  • Version target: 1.0.0 — the rename milestone; declares the contract stable. (Breaking surface is now small: image ref unchanged; pin-key + install-source changes are soft.)
  • Pin-key migration: DEVCONTAINER_VERSION → DEVKIT_VERSION via a dual-key parser — read
    DEVKIT_VERSION first, fall back to legacy DEVCONTAINER_VERSION. Soft cutover; un-migrated
    consumers keep working until an install.sh --force re-scaffold.
  • Both repos rename: vig-os/devcontainer → vig-os/devkit and
    vig-os/devcontainer-smoke-test → vig-os/devkit-smoke-test.
  • Image name UNCHANGED — stays ghcr.io/vig-os/devcontainer (the artifact is a dev container; devkit is the project/repo that ships it). No new package, no consumer image migration. (Course-correction 2026-07-10, refactor(image): keep published image as ghcr.io/vig-os/devcontainer #974 — supersedes the earlier "new devkit package" plan.)

Rollback levers: pin DEVKIT_VERSION/DEVCONTAINER_VERSION=0.5.1 (last pre-rename release) or
0.3.9 (final Debian). Pre-promote failures auto-reset release/1.0.0 (never delete tags).


Stage checklist

Stage 0 — Pre-flight (manual / human-gated)

  • [~] GHCR ghcr.io/vig-os/devkit seeded — now unused (image stays devcontainer, refactor(image): keep published image as ghcr.io/vig-os/devcontainer #974); delete the seeded package (needs delete:packages/UI)
  • Rename smoke-test repo devcontainer-smoke-test → devkit-smoke-test ✅ done (remote updated; old name redirects)
  • Smoke-test dispatch listener verified active post-rename (a real test dispatch is deferred to the 1.0.0 candidate — it runs the full cycle)

Stage 1 — Code rename on dev (PRs, all Refs: #781)

Scope adjustments (from execution): the flake attribute rename moved from
PR 3 into PR 2 (same workflow files, shared nix-build verification). Repo-URL
and image-ref doc canonicalization deferred out of PR 4 to Stage 3 / PR 2
(flipping them early 404s until the repo rename). PR 4 also caught a missed pin
reader — devc-upgrade's awk — now dual-keyed in PR 5.

Stage 2 — Release train → devkit 1.0.0 (human-gated dispatches)

  • just prepare-release 1.0.0 ✅
  • just publish-candidate 1.0.0 → 1.0.0-rc1 green ✅
  • ready + approved (chore: release 1.0.0 #975) → just finalize-release 1.0.0 ✅
  • Downstream gate: devkit-smoke-test published final 1.0.0 (after 1 retry of a transient sync-issues timeout) ✅
  • just promote-release 1.0.0 ✅ — :latest, Release undrafted, chore: release 1.0.0 #975 merged to main

Stage 3 — Rename source repo (one-way; after promote)

Stage 4 — Consumer rollout & close-out

  • Re-scaffold active consumers (install.sh --force): vault, talys, hyrr, cad2gdml, scitadel, …
  • Announce 1.0.0 as the rename boundary (old package frozen at 0.5.1)
  • First green scheduled vulnix nightly on main under the new package → close this issue

Working scratch copy of the full plan (verification steps, per-file line refs, testing/reporting
strategy) is maintained alongside the executor; canonical status is this issue + its comments.

Activity

  1. added
    chore
    priority:low
    area:image
    effort:medium
    on Jun 30, 2026
  2. added this to the 1.0 milestone on Jul 7, 2026
  3. added
    priority:high
    semver:major
    and removed
    priority:low
    on Jul 7, 2026
  4. added a commit that references this issue on Jul 9, 2026
  5. 25 remaining items

  6. c-vigo commented on Jul 10, 2026

    @c-vigo
    ContributorAuthor

    🎉 devkit 1.0.0 released (2026-07-10)

    Stage 2 complete. 1.0.0 is published and on main:

    • ghcr.io/vig-os/devcontainer:1.0.0 (multi-arch) + :latest → 1.0.0 (digests match), cosign/SLSA/SBOM attested.
    • GitHub Release 1.0.0 published (undrafted); PR chore: release 1.0.0 #975 merged to main; RC artifacts pruned.
    • Downstream devkit-smoke-test published its final 1.0.0 Release (the promote gate).

    One transient hiccup, auto-recovered: the downstream final cycle first failed when that repo's sync-issues spiked to 441s (vs its normal 60–80s) and overran the ~2min wait; a single re-dispatch passed cleanly. No config change needed (#977 closed).

    The corrected model shipped and is validated end-to-end: image name unchanged (ghcr.io/vig-os/devcontainer), DEVKIT_VERSION pin (legacy accepted), devkitImage flake attr, dispatch to the renamed devkit-smoke-test.

    Next — Stage 3 (repository rename), human-gated, do now that promote is done:

    1. Rename vig-os/devcontainer → vig-os/devkit; update remotes.
    2. PR: flip cosign --certificate-identity-regexp + OCI source label → …/devkit + canonicalize source-repo doc URLs. Must merge before the next release (1.0.1+), else its promote cosign-verify breaks.
    3. Lockstep PR in devkit-smoke-test: flip its source-repo back-refs (install.sh raw URL, notify-failure) — the moment the source repo is renamed.
    4. Re-register triggers; verify scheduled security-scan.yml cron is enabled.
      Then Stage 4: announce; consumers re-scaffold at leisure (no image migration); close this issue after the first green scheduled vulnix nightly on main.
  7. c-vigo commented on Jul 10, 2026

    @c-vigo
    ContributorAuthor

    🔤 Stage 3 — repository renamed (2026-07-11)

    vig-os/devcontainer → vig-os/devkit and vig-os/devcontainer-smoke-test → vig-os/devkit-smoke-test (done; GitHub redirects old URLs; local remotes updated; scheduled Security Scan verified active).

    Image name deliberately unchanged — ghcr.io/vig-os/devcontainer (no ghcr.io ref touched in either PR). Immutable released CHANGELOG + docs/issues/docs/pull-requests archives keep old links (redirect).

    Remaining

  8. c-vigo commented on Jul 11, 2026

    @c-vigo
    ContributorAuthor

    Rename complete. devkit 1.0.0 released; repos renamed vig-os/devcontainer→vig-os/devkit and …-smoke-test→vig-os/devkit-smoke-test; source-repo refs + cosign signing identity + OCI source label flipped (#979) with the smoke-test lockstep (#235). Per the course-correction, the published image stays ghcr.io/vig-os/devcontainer, so consumers need no image migration — a re-scaffold at leisure only refreshes source URLs. The release-critical scheduled vulnix scan (security-scan) is green on main under the renamed repo — the close criterion. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:imagechoreeffort:mediumpriority:highsemver:major

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions