Repository navigation
fix(ci): skip preview lookup for non-deploying PRs - #2412
Merged
Merged
Conversation
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The classifier can miss deployment inputs when GitHub truncates PR file listings beyond 3,000 files.
1 open finding
What changed in this PR
Classifies PRs by Vercel deployment impact so live E2E only waits for relevant previews.
Changes:
- Adds a reviewed deployment-input manifest.
- Gates preview lookup and E2E execution on deployment impact.
- Adds regression coverage for classification and workflow conditions.
| File | Description |
|---|---|
.github/e2e-deployment-inputs.json |
Defines Vercel deployment paths. |
.github/workflows/e2e-tests.yml |
Classifies PR changes and records non-applicable runs. |
tests/unit/test_workflow_pr_gate_coverage.py |
Tests classifier paths and workflow conditions. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully 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
mainA not-applicable result means no PR-specific deployment exists to probe; it is intentionally distinct from
ALL TESTS PASSED.Paths changed
.github/e2e-deployment-inputs.json.github/workflows/e2e-tests.ymltests/unit/test_workflow_pr_gate_coverage.pyValidation
UV_CACHE_DIR=/tmp/eventrelay-uv-cache uv run --with pytest --with pyyaml pytest -o addopts='' tests/unit/test_workflow_pr_gate_coverage.py -q— 36 passedactions/github-scriptbody compiled successfully as an async functiongit diff --check— passedneeds_preview=falseapps/web/src/app/page.tsxandpackage-lock.jsonclassifyneeds_preview=trueneeds_preview=trueCloses #2411