Skip to content

feat(compose): Hasura v2.51 as the v1.5 default with upgrade smoke (P7-LIVE-23) - #707

Merged
acamarata merged 5 commits into
mainfrom
p7/P7-LIVE-23
Oct 12, 2026
Merged

acamarata merged 5 commits into
mainfrom
p7/P7-LIVE-23

Conversation

@acamarata

Copy link
Copy Markdown
Collaborator

Summary

  • Image lock: hasura (graphql-engine v2.51.0) and hasura-v14 (v2.44.0), resolved with tools/imagelock (floating-tag drift in unrelated entries left out).
  • v1.4 renders hasura-v14, v1.5 renders hasura (compose.HasuraEntry, one compat.V15 gate). An explicit HASURA_VERSION wins (v2.51.0 now counts as an override; the init default v2.44.0 does not). A project lock pin is kept (TestHasuraLockPinKept).
  • nself update plan: the hasura row follows the mode, adds a one-way note for the v2.51 move and never moves a newer pin back.
  • scripts/ci/hasura-upgrade-smoke.sh + fixtures: start on v2.44.0 with migrated data and metadata (tracked tables, relationship, permission, event trigger, remote schema), verified backup, switch to v2.51.0, assert rows, metadata export equality, mutation, subscription, remote schema, event trigger; rollback by restore; pin-back without restore observed.
  • Image-Lock wiki page: Hasura section, upgrade and roll back.

Verification

Evidence is kept in the hq QA folder (P7-LIVE-23-verify.out, smoke-v15.out, smoke-v14.out; both smokes ran on mm4, Colima linux/arm64).

Ticket: P7-LIVE-23 (draft; not for merge until the lead reviews)

…7-LIVE-23)

The image lock gains hasura (graphql-engine v2.51.0) and hasura-v14 (v2.44.0).
v1.4 renders hasura-v14, v1.5 hasura (HasuraEntry, one compat.V15 gate). An
explicit HASURA_VERSION wins, a project lock pin is kept, and the update plan
offers the entry of the mode and never moves a newer pin back.

scripts/ci/hasura-upgrade-smoke.sh proves the upgrade on Linux with data,
metadata, an event trigger, a remote schema and a subscription, plus both
rollback paths.
…back comments, smoke row count (P7-LIVE-23)

A digest-only pin of the hasura-v14 digest orders as v2.44.0, an unknown
digest-only pin is left as is in both modes, the lock bootstrap test uses the
entry of the mode, and the smoke counts the rows added since the backup from the
database right before the restore.
@acamarata
acamarata marked this pull request as ready for review October 12, 2026 09:53
@acamarata
acamarata merged commit 6aa6bf8 into main Oct 12, 2026
35 checks passed
@acamarata
acamarata deleted the p7/P7-LIVE-23 branch October 12, 2026 10:55
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