Fix main build: drop convenience from actor initializer - #8604
azooz2003-bit wants to merge 1 commit into
Conversation
#8521 added public convenience init() to the GitHubPullRequestRequestCoordinator actor. Actor initializers delegate without convenience (SE-0327) and current Swift toolchains reject the keyword as a hard error, so every fleet reload-cloud build and CI compile of main fails with 'initializers in actors are not marked with convenience'. It landed silently because PR CI is currently disabled. Dropping the keyword keeps the same public surface and delegation. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Greptile SummaryThis PR fixes the Swift 6 build for the pull request coordinator.
Confidence Score: 5/5This looks safe to merge.
Important Files Changed
Reviews (1): Last reviewed commit: "Fix main build: drop convenience from ac..." | Re-trigger Greptile |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe public default initializer for ChangesInitializer update
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
|
Superseded: an equivalent fix (dropping |
#8521 added
public convenience init()to theGitHubPullRequestRequestCoordinatoractor. Actor initializers delegate withoutconvenience(SE-0327) and current Swift toolchains reject the keyword as a hard error, so every fleet reload-cloud build and CI compile of main fails withinitializers in actors are not marked with 'convenience'(example: https://github.com/manaflow-ai/cmux/actions/runs/29874585488). It landed silently because PR CI is currently disabled. Dropping the keyword keeps the same public surface and the same delegation toinit(session:).🤖 Generated with Claude Code
Need help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.Summary by cubic
Remove the
conveniencekeyword from the default initializer of theGitHubPullRequestRequestCoordinatoractor to comply with SE-0327 and fix a hard compiler error. Public API stays the same (still delegates toinit(session:)), restoring main and CI builds.Written for commit ada0762. Summary will update on new commits.
Summary by CodeRabbit