Skip to content

fix(scheduler): casefold repository identity - #2007

Draft
seonghobae wants to merge 2 commits into
fix/scheduler-draft-merge-mutation-guardfrom
fix/scheduler-casefold-repository-identity
Draft

fix(scheduler): casefold repository identity#2007
seonghobae wants to merge 2 commits into
fix/scheduler-draft-merge-mutation-guardfrom
fix/scheduler-casefold-repository-identity

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

Root cause

GitHub repository identity is case-insensitive, but scheduler owned-head and compare-ref routing used exact string equality. Canonical casing drift could therefore misclassify an organization-owned branch as an external fork and block normal restack/update processing.

This bounded successor carries the corresponding valid delta from historical Draft #1231 and is stacked after #2006.

RED → GREEN

  • RED: 4fb514db54e6210fc0606f0dfa8d9033f3e1f6f5
    • requires Owner/Repo and owner/repo to use the same owned-head and compare-ref path
  • GREEN: 75e9d67cba611fcdefb156e2bb8a3f3c0574c79b
    • case-folds identifiers at exactly the two routing boundaries
    • preserves external-fork and missing-metadata behavior
    • updates CHANGELOG, APA-style doctoring, and docs/product-technical-gap-baseline.md

Stack and authority

  • Base: fix/scheduler-draft-merge-mutation-guard@5abc0a0284bcf2ee11715e642f882af73f1e8adb
  • Normal fast-forward commits only; no force push or rebase
  • No ownership, review, status, or mutation permission is broadened
  • Status remains Proposed pending parent integration and fresh exact-head evidence

@coderabbitai

coderabbitai Bot commented Sep 7, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@seonghobae seonghobae added bug Something isn't working type: bug Defect or incorrect behavior priority: medium Normal-priority or P2 work labels Sep 7, 2026 — with ChatGPT Codex Connector
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working priority: medium Normal-priority or P2 work type: bug Defect or incorrect behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant