Repository navigation
fix(ci): reject unconfirmed Glama builds - #860
Draft
ajitpratap0 wants to merge 1 commit into
Draft
ajitpratap0 wants to merge 1 commit into
ajitpratap0 wants to merge 1 commit into
Conversation
Stop treating HTTP 200 validation pages as successful build triggers. Require a canonical Glama build-test redirect, expose trigger failures, and avoid logging raw redirect targets or response bodies. Send the current form's base image and bound the request timeout. Preserve the documented missing-cookie warning and skip behavior. Co-Authored-By: Codex <noreply@openai.com> Codex-Session: 01a164e5-e59a-7281-b5b1-efc545a2f622
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
Claude finished @ajitpratap0's task in 21s —— View job Review of PR #860: reject unconfirmed Glama buildsI reviewed the diff of What looks good
Concerns and suggestions
Verdict: Looks good to merge, with the caveat that the success path is unconfirmed until Glama resolves the "Commit not found" issue. I'd re-verify with the first live run afterwards. |
This branch has not been deployed
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.
Summary
Glama returned an HTTP 200 validation page without creating a build, but the sync workflow printed “Glama build triggered” and completed successfully. Reject unconfirmed responses and let trigger failures fail the job. Success now requires a 302/303 redirect to a canonical Glama build-test URL; raw redirect targets and response bodies are not logged.
Send the current form's
baseImagefield and use a 20-second request timeout. Keep the optional missing-cookie warning/skip and the version-bump job's existing best-effort behavior.Test Plan
task check(format, vet, lint, full race suite).git diff --check.v1.16.0commite9c5db91a8eda4f98d697a53dbd997ebd5255c87with “Commit not found. The commit must exist in the repository,” even after Sync Server refreshes to descendant326fdd15. The defensive redirect contract is inferred from existing build-test URLs and remains unconfirmed on a successful POST. Vendor support has the diagnostic evidence; no main/unpinned build was substituted.The original workflow runs 39855149972 and 39855773623 both returned HTTP 200 with an empty Location and created no build.
Breaking Changes
None to the public API. A configured Glama trigger that returns an unconfirmed response now fails visibly instead of reporting success.