Skip to content

fix(ci): restore upgrade tests from RC3 - #3558

Merged
EItanya merged 2 commits into
mainfrom
fix/restore-upgrade-tests-rc3
Nov 6, 2026
Merged

EItanya merged 2 commits into
mainfrom
fix/restore-upgrade-tests-rc3

Conversation

@EItanya

@EItanya EItanya commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Upgrade tests on main now select v1.0.0-rc3, which already installs Atelet as a separate Helm release. The regular upgrade test was blocked by a missing optional migration table, then by missing Harness fixtures when it tried to invoke the previous release.

Check for the optional tracking table in a separate statement: PostgreSQL resolves table references before evaluating CASE. Keep readiness polling for the required core migration table.

Before each invocation phase, apply the four Harness fixtures used by TestSessionInteraction from the matching source checkout. Resolve their images from the installed controller's runtime catalog so the previous release, current build, and application rollback each exercise their own runtime images. Reuse the existing lifecycle manifest without creating its unrelated smoke Agents or opaque BYO fixture.

Validated with PostgreSQL query checks, fixture rendering tests for released and locally built images, upgrade-package configuration tests, and Go lint. Both required upgrade checks passed on 9bd2ab0fe, including invocation before and after the upgrade, schema comparison, application rollback, and schema rollback.

Runtime fixtures across upgrade and rollback
flowchart LR
    source["Matching release or PR checkout"] -->|Lifecycle manifest| fixtures["Invocation Harness fixtures"]
    controller["Installed controller configuration"] -->|Runtime image digests| fixtures
    fixtures -->|Apply| cluster["Upgrade test cluster"]
    cluster -->|Invoke all four Harnesses| test["TestSessionInteraction"]
Loading

@EItanya
EItanya requested a review from a team as a code owner November 6, 2026 16:33
@github-actions github-actions Bot added the bug Something isn't working label Nov 6, 2026
@blacksmith-sh

This comment has been minimized.

@github-actions github-actions Bot added bug Something isn't working and removed bug Something isn't working labels Nov 6, 2026

@timflannagan timflannagan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine to unblock CI, but there's some weirdness with how this suite is designed to me

@EItanya
EItanya added this pull request to the merge queue Nov 6, 2026
Merged via the queue into main with commit 2e2acf5 Nov 6, 2026
34 checks passed
@EItanya
EItanya deleted the fix/restore-upgrade-tests-rc3 branch November 6, 2026 19:02
jerry-jibu pushed a commit to jerry-jibu/kagent that referenced this pull request Nov 14, 2026
Backports seven PRs from `main` to `release/v1.0.x` for the 1.0 release.
Each is cherry-picked with `-x` in its original merge order, and none
needed changes. Every file these commits touch now matches `main`
exactly.

| PR | Commit | Why |
| --- | --- | --- |
| kagent-dev#3558 | `2e2acf58c` | fix(ci): restore upgrade tests from RC3 |
| kagent-dev#3545 | `7c9c52105` | fix(ui): show when the Substrate lists were
read, not a running age |
| kagent-dev#3395 | `aaf1ca882` | feat(session): revert crashed runtimes through
RevertSession (needed for a customer) |
| kagent-dev#3562 | `5c490d83b` | refactor: remove helpers orphaned by the KMCP
removal (low risk; keeps the branch close to `main`) |
| kagent-dev#3563 | `c6adf72f9` | refactor(api): move MCP header resolution out of
`v1alpha3`, so the 1.0 API package describes only data |
| kagent-dev#3340 | `347acbe55` | fix(controller): move a ModelConfig condition's
transition time only on a status change (labeled `cherrpick-1.0`) |
| kagent-dev#3560 | `ccb2dd350` | adk/mcp: defer tool discovery until invocation,
so slow MCP discovery no longer fails agent resumes |

Please use **Rebase and merge** so each backported PR stays its own
commit on the release branch.

Validation before kagent-dev#3560 was added (CI covers the full set):
- `go build ./...` and `go vet ./...`
- `go test -race` with envtest for `api`, `core/cli`,
`core/internal/{controller,database,grpcserver,mcp,service,substrate}`,
`core/pkg/migrations`, and `pkg/logging`
- `make -C go lint`: 0 issues
- UI `tsc --noEmit` and `substrateReadAge.test.tsx`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Signed-off-by: Eitan Yarmush <[email protected]>
Signed-off-by: Nicholas Bucher <[email protected]>
Signed-off-by: Ada Lundhe <[email protected]>
Signed-off-by: timflannagan <[email protected]>
Signed-off-by: QuentinBisson <[email protected]>
Signed-off-by: Shashank Ram <[email protected]>
Co-authored-by: Nicholas Bucher <[email protected]>
Co-authored-by: Ada Lündhé <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Tim Flannagan <[email protected]>
Co-authored-by: Quentin Bisson <[email protected]>
Co-authored-by: Shashank <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants