Skip to content

Fix production regeneration package metadata conflict - #67

Merged
mekilis merged 3 commits into
mainfrom
fix/workflow-regeneration
Nov 30, 2026
Merged

mekilis merged 3 commits into
mainfrom
fix/workflow-regeneration

Conversation

@mekilis

@mekilis mekilis commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Keep the newly added test and test:compatibility scripts solely as persistent edits in package.json, not duplicate additions in generator configuration. Retain the historical test:verify generator baseline.
  • Exercise the actual production speakeasy run workflow twice in the regeneration gate instead of lower-level generate sdk, with forced generation and the fixed schema fixture.
  • Assert all three test script values and protected compatibility files survive each pass; run all tests, build and lint after each pass. Registry uploads and Git snapshot pushes remain disabled in verification.

Cause

Both generator config and persistent edits added the same test scripts to package.json. Script ordering varies in the pristine compilation path, producing textual merge conflicts even with identical values. Reordering alone proved insufficient in this PR's initial CI run. Keeping each addition on only one side of the merge avoids that collision without freezing package metadata or suppressing merge errors.

Original failed production run: https://github.com/frain-dev/convoy.js/actions/runs/42784920819

Verification

  • All 59 local tests, build, lint, shell syntax and diff checks pass.
  • Independent review checked the actual pristine baseline and prompted explicit package-script preservation assertions.
  • Credentialed two-pass production-workflow regeneration runs in this PR's SDK regeneration CI check.

No release or automatic merge requested.

@mekilis
mekilis marked this pull request as ready for review November 10, 2026 12:12
@mekilis
mekilis merged commit c5e91d2 into main Nov 30, 2026
6 checks passed
@mekilis
mekilis deleted the fix/workflow-regeneration branch November 30, 2026 11:07
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