Repository navigation
fix(vcs): strip only the leading branch namespace from push refs - #15035
Conversation
str_replace removed every occurrence of refs/heads/, so a branch whose name itself contains that prefix lost part of its name. Push events now remove just the leading namespace, so branch names reach deployment rules unchanged.
|
Review complete. No issues found — approved ✅. This PR replaces
Reviewed commit: 4f65292 |
🟢 Tier S · Ready to merge
Push webhook parsing now removes
📂 Walkthrough · 5
Reviewed |
Security rulesNo new WARNING or ERROR findings from security rules. 6 existing findings tracked in
|
✨ Benchmark resultsComparing
Per-scenario breakdown & investigation detailsMetrics below reflect the current branch (after). Δ P95 compares against the base.
Top API waits (after)
|
str_replace removed every occurrence of refs/heads/, so a branch whose name itself contains that prefix lost part of its name. Push events now remove just the leading namespace, so branch names reach deployment rules unchanged.
Lint, PHPStan and the touched unit tests passed locally before rebasing on main; e2e runs in CI.
Related: appwrite-labs/cloud#6673