chore(xtest): flatten slashed branch names into dist/src tags - #620
Conversation
A branch ref like 'feat/DSPX-2604-createtdf-chunked' resolved by name (not by SHA) kept its slash in the tag, nesting dist/<tag>/ and src/<tag>/ one level deeper than every consumer expects: xtest's all_versions_of() lists dist/*/ and the Go Makefile finds src/*/, so the build was silently discovered as a bare 'feat' directory with no cli.sh in it. Flatten the tag the same way _classify_sha_match already flattens a branch reached by SHA.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughExplicit branch-name resolution now replaces slashes in the result tag with double hyphens. Tests verify the flattened tag and retained branch alias. ChangesBranch Tag Flattening
Estimated code review effort: 2 (Simple) | ~8 minutes Suggested reviewers: Merge Risk: ⚪ Minimal · up to The branch-tag fix appears ready to merge after normal checks. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 2📝 Generate docstrings 💡
🛠️ Fix failing CI checks 💡
🧪 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. A rabbit checks each branch tag, Comment |
|



Split out of #583.
A branch ref like
feat/DSPX-2604-createtdf-chunkedresolved by name (not by SHA) kept its slash in the tag, nestingdist/<tag>/andsrc/<tag>/one level deeper than every consumer expects: xtest'sall_versions_of()listsdist/*/and the Go Makefile findssrc/*/, so the build was silently discovered as a bare "feat" directory with nocli.shin it.Flattens the tag the same way
_classify_sha_matchalready flattens a branch reached by SHA.Standalone fix, no dependency on the rest of the DSPX-4372 stack. First in the stack because the K-arm benchmark work's own tests exercise this.
Summary by CodeRabbit
/now produce tags with--in place of slashes during resolution, keeping the resulting tag format consistent across branch resolution paths.