Repository navigation
TML-3513: An ORM release tells prisma-cli at once, so the CLI follows it within minutes - #30944
wmadden-electric wants to merge 2 commits into
Conversation
…n it is missing The notify step read PRISMA_CLI_DISPATCH_PAT, a secret this repository never had, and skipped with exit 0. So prisma-cli heard about rc.22 only from its daily run the next morning. DEPLOY_GITHUB_TOKEN is the token prisma-cli docs/oss/release-automation.md names, and Composer already sends its notice with it. Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io>
…limit Dev pushes and beta dispatches start a prisma-cli run that follows only release tags, so they changed nothing there. The error now says the packages are already published. Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
@prisma/orm-extension-arktype-json
@prisma/orm-extension-middleware-cache
@prisma/orm-extension-paradedb
@prisma/orm-extension-pgvector
@prisma/orm-extension-postgis
@prisma/orm-extension-supabase
@prisma/orm-family-mongo
@prisma/orm-family-sql
@prisma/orm-framework
@prisma/orm-mongo
@prisma/orm-mysql
@prisma/orm-postgres
@prisma/orm-postgres-contrib
@prisma/orm-sqlite
@prisma/orm-target-mongo
@prisma/orm-target-mysql
@prisma/orm-target-postgres
@prisma/orm-target-sqlite
@prisma/orm-toolchain
commit: |
size-limit report 📦
|
When the ORM publishes a release, the publish workflow now tells prisma-cli at once, as it was meant to:
Why
The step read
PRISMA_CLI_DISPATCH_PAT, a secret this repository has never had, and skipped with exit 0. On the 8.0.0-rc.22 publish it printed "PRISMA_CLI_DISPATCH_PAT is not configured; skipping". prisma-cli only noticed rc.22 at its daily run the next morning, 17 hours later.DEPLOY_GITHUB_TOKENis set in this repository. It is the token prisma-cli'sdocs/oss/release-automation.mdnames for this notice, and prisma/composer already sends its notice with it.What changes
DEPLOY_GITHUB_TOKENthroughgh api, the same call Composer makes.latestreleases. Dev pushes would start a prisma-cli run that changes nothing, because prisma-cli follows release tags only.curlcall it replaces.With prisma/prisma-cli's change that makes a product release cut a CLI release, an ORM release reaches
prisma@latestwithin minutes. Together they close the gap a user reported on Discord, whereprisma@8.0.0-rc.29pinned@prisma/orm-toolchain8.0.0-rc.21 for four days after ORM rc.22 shipped.Not verified
A real dispatch from this repository. The first
latestrelease after this merges will show it.Closes TML-3513.
Agent: uther-28
🤖 Generated with Claude Code
Summary by CodeRabbit