Skip to main content
← Back to list
01Issue
BugShippedSwamp CLI
Assigneesstack72

Relationships

#554 @swamp/kubernetes 2026.06.04.1 missing upgrade path from 2026.05.27.2

Opened by bixu · 6/4/2026· Shipped 6/4/2026

Description

After upgrading @swamp/kubernetes from 2026.05.27.2 to 2026.06.04.1 via swamp extension pull @swamp/kubernetes --force, all existing models fail with:

Last upgrade toVersion "2026.05.27.2" does not match model version "2026.06.04.1" for model type "@swamp/kubernetes/node"

The extension's upgrades array in each model type (e.g. node.ts:225) only declares an upgrade toVersion: "2026.05.27.2". There is no entry for toVersion: "2026.06.04.1", so swamp's upgrade system rejects the version mismatch.

Steps to reproduce

  1. Have models created at @swamp/kubernetes 2026.05.27.2
  2. swamp extension pull @swamp/kubernetes --force (pulls 2026.06.04.1)
  3. Run any model method — fails with the version mismatch error

Additional issue: no CLI command to upgrade model typeVersion

There is no swamp model upgrade command. The only workaround is to manually edit the typeVersion field in each model YAML file, which doesn't work anyway because the upgrade system still rejects the mismatch. Models created at 2026.05.27.2 are effectively stuck.

Environment

  • swamp version: 20260604.165624.0-sha.9bed22cc
  • @swamp/kubernetes: upgraded from 2026.05.27.2 to 2026.06.04.1

Upstream repository: https://github.com/swamp-club/swamp-extensions

Environment

  • Extension: @swamp/kubernetes@2026.06.04.1
  • swamp: 20260604.165624.0-sha.9bed22cc
  • OS: darwin (aarch64)
  • Deno: 2.8.2
  • Shell: /bin/zsh
02Bog Flow
OPENTRIAGEDIN PROGRESSSHIPPED+ 1 MOREASSIGNED+ 6 MOREREVIEW+ 3 MOREPR_MERGEDSHIPPED

Shipped

6/4/2026, 7:37:03 PM

Click a lifecycle step above to view its details.

03Sludge Pulse
stack72 assigned stack726/4/2026, 6:33:46 PM
Editable. Press Enter to edit.

bixu commented 6/10/2026, 1:58:08 PM

Still reproducible after the shipped fix. swamp extension pull @swamp/kubernetes --force (registry latest 2026.06.05.1, pulled 2026-06-10) delivers model files declaring version 2026.06.04.1 with the upgrades array still ending at toVersion: "2026.05.27.2" — every model type fails to load with:

Last upgrade toVersion "2026.05.27.2" does not match model version "2026.06.04.1" for model type "@swamp/kubernetes/<type>"

Confirmed via swamp doctor extensions (all 15 model types report BundleBuildFailed). Workaround: pin swamp extension pull @swamp/kubernetes@2026.05.27.2 --force. Looks like the fix never made it into a published registry version — reopening.

Environment: swamp 20260609.133811.0-sha.e82a25d0, darwin aarch64.

stack72 commented 6/10/2026, 2:54:36 PM

@bixu I just publied a new release of the extension and it has ALL of the upgrade entires required and I was able to go from your existing version to the newly published version as a check

bixu commented 6/10/2026, 3:55:31 PM

Cool, will share back if I see any other issues.

Sign in to post a ripple.