Skip to content

CONN-1273: replace Speakeasy generate/release workflows with thin stubs - #655

Draft
mcollinscodat wants to merge 4 commits into
mainfrom
feat/CONN-1273-release-stubs
Draft

CONN-1273: replace Speakeasy generate/release workflows with thin stubs#655
mcollinscodat wants to merge 4 commits into
mainfrom
feat/CONN-1273-release-stubs

Conversation

@mcollinscodat

@mcollinscodat mcollinscodat commented Aug 4, 2026

Copy link
Copy Markdown

Replaces the Speakeasy generate and release workflows for bank-feeds, lending, platform, sync-for-expenses and sync-for-payables with thin stubs pointing at Codat's central SDK codegen pipeline. Workflow filenames and names are unchanged so existing triggers keep matching. Workflows for the other products are untouched.

  • Generate stubs: generation now runs centrally and arrives here as a versioned PR. The stub prints a warning and exits 0 (it flips to exit 1 when the upstream trigger switches over).
  • Release stubs: still trigger on <product>/RELEASES.md pushes to main (plus manual dispatch), but now forward the release to the central publish pipeline instead of publishing here. Each run mints a short-lived GitHub App token scoped to the central repo and sends the dispatch with it. No packaging check has been dropped; they all run centrally.

…flows with thin stubs pointing at the central pipeline

- bank_feeds_generate.yaml - generation moved to Codat SDK Codegen; stub warns and exits 0
- bank_feeds_release.yaml - forwards the release trigger to the central publish pipeline
- lending_generate.yaml - generation moved to Codat SDK Codegen; stub warns and exits 0
- lending_release.yaml - forwards the release trigger to the central publish pipeline
- platform_generate.yaml - generation moved to Codat SDK Codegen; stub warns and exits 0
- platform_release.yaml - forwards the release trigger to the central publish pipeline
- sync_for_expenses_generate.yaml - generation moved to Codat SDK Codegen; stub warns and exits 0
- sync_for_expenses_release.yaml - forwards the release trigger to the central publish pipeline
- sync_for_payables_generate.yaml - generation moved to Codat SDK Codegen; stub warns and exits 0
- sync_for_payables_release.yaml - forwards the release trigger to the central publish pipeline
… from the GitHub App

- bank_feeds_release.yaml - guard + App token mint (scoped to the codegen repo) before the dispatch
- lending_release.yaml - guard + App token mint (scoped to the codegen repo) before the dispatch
- platform_release.yaml - guard + App token mint (scoped to the codegen repo) before the dispatch
- sync_for_expenses_release.yaml - guard + App token mint (scoped to the codegen repo) before the dispatch
- sync_for_payables_release.yaml - guard + App token mint (scoped to the codegen repo) before the dispatch
…file

.github/workflows - all ten stubs: drop the cutover/ prefix from the written-by line so it matches the TypeScript repo's stubs and pipeline file
…line which repo they fired from

- .github/workflows/*_release.yaml - all five dispatch payloads add sdk_repo (github.repository), so the central publish clones and tags the repo the release came from and a mirror rehearses against its own tree
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