Skip to content

Require project and infer optional PR or branch context - #1

Merged
PandelisZ merged 2 commits into
mainfrom
codex/verify-project-branch-previews
Oct 5, 2026
Merged

PandelisZ merged 2 commits into
mainfrom
codex/verify-project-branch-previews

Conversation

@PandelisZ

@PandelisZ PandelisZ commented Oct 5, 2026 •

Copy link
Copy Markdown
Contributor

The action now requires a Composal project and has no repository input. The project resolves its connected source repository through its saved PR Testing setup. Optional PR number and branch are inferred from GitHub context; a branch without an open PR registers a project environment and returns preview_registered without reporting a browser pass.

The action confirms the project, deployed branch, exact source SHA, and request identity before accepting a handoff or result. Documentation covers the project PR Testing page, contextual Copy Instructions for Agent, Composal token creation through com pat create | gh secret set, and preview archival after PR merge.

Validation: 17 action tests pass, including entrypoint/outputs, project-only payloads, branch-only registration, stale heads, retries, and credential redaction. The distribution matches packages/verify-action in the Vex monorepo.

Depends on https://github.com/ComposalAI/vex/pull/405 and deployment of its project-scoped PR Testing API. Keep this draft until that API is deployed; this PR does not move the supported 1 tag.

@PandelisZ PandelisZ changed the title Track project previews with optional PR or branch context Require project and infer optional PR or branch context Oct 5, 2026
@PandelisZ
PandelisZ marked this pull request as ready for review October 5, 2026 06:40
@PandelisZ
PandelisZ merged commit d2b6a13 into main Oct 5, 2026
2 checks passed
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