Skip to content

fix(web): a model change declares each offering once so the redeploy is accepted (CL-8591) - #948

Merged
TheGreatAxios merged 2 commits into
mainfrom
cl-8591-dedupe-offerings
Sep 18, 2026
Merged

TheGreatAxios merged 2 commits into
mainfrom
cl-8591-dedupe-offerings

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Contributor

Summary

Live check of #946 failed: the new offering is minted before Myra's current offering list is read, so swapping the old id in produced the new id twice and the stock deploy validator rejected the chain (sourceOfferingIds must be a list of unique catalog offering ids).

Changes

  • apps/web/src/settings/myra-model-redeploy.ts: the swap keeps the first occurrence of each offering id and the declared source at the same position.
  • Test for the duplicate case.

Testing

  • Unit tests, typecheck, lint, fmt locally; CI runs check.
  • Live: re-run the model change on the dev stack after merge.

@linear-code

linear-code Bot commented Sep 18, 2026

Copy link
Copy Markdown

CL-8591

@TheGreatAxios
TheGreatAxios merged commit 339ecb7 into main Sep 18, 2026
4 checks passed
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