Repository navigation
feat(prisma-compute): read a build's log through the API and prisma build logs - #46
Closed
AmanVarshney01 wants to merge 1 commit into
Closed
AmanVarshney01 wants to merge 1 commit into
AmanVarshney01 wants to merge 1 commit into
Conversation
…build logs`
The skill said there is no build log endpoint and listed `build logs`
as a removed command. `GET /v1/builds/{buildId}/logs` now returns a
GitHub Actions build's lines and error lines, and `prisma build logs`
reads it in CLI releases after 8.0.0-rc.39. Agents check
`prisma build --help` before using it, and fall back to the API.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes
The
prisma-computeskill told agents that there is no build log endpoint, and thatbuild logsis a removed command they must not run. Both are out of date:GET /v1/builds/{buildId}/logsreturns the log of a build that ran in GitHub Actions (prisma/pdp-control-plane#6298).prisma build listandprisma build logsare merged in feat(cli):prisma build listandbuild logsshow a build's GitHub Actions log prisma-cli#434. They ship in the first CLI release after 8.0.0-rc.39.So the skill now:
automation-rest-api.md: the job,lines,errors,truncated,tail, the GitHub Actions-only rule, and the 503 on a GitHub rate limit. It also mentions listing failed builds withGET /v1/builds?projectId=<id>&state=failed.build logs <build-id>row atnpx prisma build logs --errorswhennpx prisma build --helplists it, and at the endpoint otherwise. Agents check--helpfirst because the CLI they have installed may be older than the release withbuild.buildto the command table incli-command-map.md, marked as newer releases only.build logsunder removed commands and under Avoid.🤖 Generated with Claude Code