Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Thank you for following the naming conventions for pull request titles! 🙏 |
📝 WalkthroughWalkthroughAdds a change-detection job to the autofix CI workflow to gate downstream tasks, and standardizes several workflows to use Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant PR as Pull Request
participant GH as GitHub Actions
participant Detect as detect_changes (reusable)
participant Lint as lint_docs job
PR->>GH: trigger autofix.ci workflow
GH->>Detect: run detect_changes (reusable workflow)
alt detect_changes success and docs changed
Detect-->>GH: result: success, docs_output: true
GH->>Lint: start lint_docs (needs satisfied + if true)
Lint-->>GH: lint result
else detect_changes failure or no docs
Detect-->>GH: result: failure or docs_output:false
GH-->>Lint: skip lint_docs (condition not met)
end
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
🧰 Additional context used🧠 Learnings (1)📚 Learning: 2025-08-08T19:52:42.113ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (3)
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 |
Graphite Automations"Notify author when CI fails" took an action on this PR • (10/20/25)1 teammate was notified to this PR based on Andreas Thomas's automation. "Post a GIF when PR approved" took an action on this PR • (10/21/25)1 gif was posted to this PR based on Andreas Thomas's automation. |
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.github/workflows/autofix.ci.yaml(2 hunks).github/workflows/job_test_api_local.yaml(1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-08-08T19:52:42.113Z
Learnt from: imeyer
PR: unkeyed/unkey#3765
File: .github/workflows/job_detect_changes.yaml:43-43
Timestamp: 2025-08-08T19:52:42.113Z
Learning: In the unkeyed/unkey repository, the workflows `.github/workflows/job_test_api_local.yaml` and `.github/workflows/job_test_go_api_local.yaml` should keep their Blacksmith self-hosted runners (blacksmith-4vcpu-ubuntu-2404 and blacksmith-8vcpu-ubuntu-2404 respectively) as these are performance-critical test jobs that require dedicated resources.
Applied to files:
.github/workflows/job_test_api_local.yaml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Test API / API Test Local
- GitHub Check: Test Go API Local / Test
- GitHub Check: Build / Build
🔇 Additional comments (3)
.github/workflows/job_test_api_local.yaml (1)
15-16: Docker Buildx action update is reasonable.The change from
useblacksmith/setup-docker-builderto the officialdocker/setup-buildx-action@v3.11.1is a sensible modernization that aligns with standard CI practices. The prior action reference is retained as a comment for reference..github/workflows/autofix.ci.yaml (2)
42-43: Compound if condition mixing needs and github.event context — verify logic.The
lint_docsif condition combines job outputs fromneeds.detect_changeswith GitHub event context. While this pattern is valid, ensure the logic handles these scenarios correctly:
- If
detect_changesis skipped (draft PR or non-pull_request event), the condition should still evaluate correctly- If
detect_changesfails,lint_docswill be skipped (is this intended?)The current condition will cause
lint_docsto be skipped ifdetect_changes.resultis not'success'(e.g., if it's'skipped'or'failure'). Verify this is the intended behavior.Can you confirm that this gating logic aligns with the expected CI behavior?
9-11: All verification points confirmed—the workflow is properly configured.The
job_detect_changes.yamlworkflow exists and is correctly implemented:
- ✓ Defines a
docsoutput with proper chaining (jobs.build.outputs.docs ← steps.changes.outputs.docs)- ✓ Includes path patterns for detecting docs changes (apps/docs/, apps/engineering/, *.md)
- ✓ The
lint_docsjob gating logic is sound:
- Checks
needs.detect_changes.result == 'success'(handles workflow failure)- Checks
needs.detect_changes.outputs.docs == 'true'(handles missing output)- Conditional logic properly handles draft PRs and non-PR events
No issues found.
* fix: go to gh runner for broken test * just use normal runners
* fix: go to gh runner for broken test * just use normal runners
|
superseeded by #4138 |

What does this PR do?
Switches back to normal GH runner for the test that keeps failing, also only runs docs linting when we change docs....
Type of change
How should this be tested?
Test go green?
Checklist
Required
pnpm buildpnpm fmtconsole.logsgit pull origin mainAppreciated