Skip to content

fix(github): accept Enterprise Managed User logins in owner slug validation - #20450

Merged
nwparker merged 1 commit into
stablyai:mainfrom
gon2gon2:fix/owner-slug-emu-underscore
Sep 16, 2026
Merged

nwparker merged 1 commit into
stablyai:mainfrom
gon2gon2:fix/owner-slug-emu-underscore

Conversation

@gon2gon2

@gon2gon2 gon2gon2 commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

If your company uses GitHub Enterprise Managed Users, your login looks like octocat_acme — GitHub adds _<shortcode> for you. Orca's GitHub Projects view rejected every such login as "not a valid GitHub slug" before asking GitHub anything, so EMU users could not open their own projects. This PR lets _ through in non-leading positions, everywhere the owner alphabet is checked.

What Changed

  • src/shared/github/owner-slug.ts (new) — one owner alphabet for the whole app: GITHUB_OWNER_SLUG_RE, the owner/number shorthand regex, and isGitHubOwnerSlug. _ is allowed after the first character.
  • src/main/github/project-view/internals.ts, src/main/github/project-view/project-view-reference.ts, src/main/github/github-api-repository-validation.ts — use the shared alphabet instead of local copies.
  • src/renderer/src/components/github-project/project-picker-input.ts — URL path and shorthand both use the shared alphabet (the test file already required renderer parity).
  • mobile/src/tasks/github-project-reference.ts — the fourth copy, found in review; now imports the shared alphabet too.
  • Tests: assertions that encoded "underscore is invalid" now assert the EMU shape is accepted and a leading underscore is still rejected; new tests for the shared module and for isValidGitHubApiRepository (which had none); EMU cases added to the mobile parser test.
  • src/main/git/git-username.ts (b19d615, found while testing) — the branch-prefix username from gh went through the same old alphabet: isPlausibleHostedLogin rejected octocat_acme, and the gh auth status fallback then truncated it to octocat, so worktree branches got the wrong prefix. Both checks now allow _ after the first character; git-username.test.ts covers the accepted and rejected shapes, and the auth-status fallback test covers an EMU login end to end.

Why

GitHub's rule for ordinary accounts is alphanumerics and single hyphens, which is what the old regex encoded. Enterprise Managed Users are a second, documented login format: @IDP-USERNAME_SHORT-CODE (https://docs.github.com/en/enterprise-cloud@latest/admin/managing-iam/iam-configuration-reference/username-considerations-for-external-authentication). Every EMU login has exactly one _, never leading.

The regexes exist so untrusted nameWithOwner data cannot become an arbitrary REST path. _ is not a path separator and the leading-character rule is unchanged, so that guarantee holds.

Linked Issue

Fixes #20449

Visual Proof

N/A — no UI change; the same paste either resolves or shows the same validation error, only the accepted alphabet differs.

Testing

  • Root: vitest run on the four touched test files (shared owner-slug, project-view, github-api-repository-validation, renderer project-picker-input) — 43 passed; full pnpm test — 8,565 files pass, 9 environment-bound failures unrelated to this change (see checklist). Mobile: full vitest run — 566 files, 4,663 tests pass.

  • oxlint on the changed files — clean.

  • pnpm typecheck (all projects), pnpm lint (full, incl. ratchets), pnpm run check:code-quality:changed — pass. Mobile: tsc --noEmit, oxlint — pass.

  • Platforms: macOS (arm64). The change is pure string validation with no platform or SSH surface.

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below

AI Disclosure

Drafted with Claude (Anthropic, Claude Code) from a human-written bug report; the human reviewed the diff and ran the checks.

Author

X: @gonforall

Review

Agent review summary: cross-platform — pure regex, no OS APIs; SSH/remote — no execution-host surface; agents/integrations — GitHub-only code paths, GitLab/Bitbucket validators untouched; performance — anchored regex, same cost; security — leading-character rule and repo reserved names unchanged, _ cannot introduce a path segment; UI — none.

Agent skill upstream boundary

  • Not applicable, or this change follows docs/reference/agent-skill-sharing-upstream-boundary.md and copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

No platform-, remote-, agent-, integration-, or provider-specific behavior beyond GitHub.com / GHES logins.

Checklist

  • This PR is small and focused
  • I explained what changed and why (including ELI5)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred) — pnpm lint, pnpm typecheck (all projects), pnpm run check:code-quality:changed, root pnpm test (8,565 files pass; the 9 failing files are the cross-version-wire harness needing the v1.4.190 tag and the real-Claude-binary integration tests, none under src/main/github or src/shared/github) and mobile pnpm test/tsc/oxlint (566 files pass) run locally on macOS arm64; pnpm build left to CI's package job

@coderabbitai

coderabbitai Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: 372dfd39-bb0c-42df-b36f-0c43c0caabe1

📥 Commits

Reviewing files that changed from the base of the PR and between f3f9445 and 699337d.

📒 Files selected for processing (6)
  • src/main/git/git-username.test.ts
  • src/main/git/git-username.ts
  • src/main/git/repo-username.test.ts
  • src/main/github/github-api-repository.test.ts
  • src/main/github/project-view-host-auth.test.ts
  • src/shared/github/owner-slug.test.ts

Included review availability: Your plan provides up to 10 included reviews per hour; 7 remain after this review.


📝 Walkthrough

Walkthrough

Owner slug validation now accepts underscores after the first character, including Enterprise Managed User logins such as octocat_acme. Main-process, renderer, and mobile project input parsers use shared validation patterns for URLs and shorthand references. Hosted login parsing also preserves EMU usernames. Leading underscores, leading hyphens or dots, reserved repository names, and path-shaped values remain rejected. Tests cover the updated validation and parsing behavior.

Priority: ➖ Normal

Severity of issue fixed: Medium

Merge Risk: ⚪ Minimal · up to 69933

EMU usernames are supported across project and Git username parsing without an identified regression or unresolved merge-blocking risk.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 20.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 10 functions across 16 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: accepting Enterprise Managed User logins in GitHub owner-slug validation.
Description check ✅ Passed The description includes all required template sections, explains the user impact and implementation, links issue #20449, documents testing and platform coverage, and completes the checklist. It also …
Linked Issues check ✅ Passed The implementation satisfies the coding requirements in [#20449]. GITHUB_OWNER_SLUG_RE accepts non-leading underscores and rejects leading underscores and path characters. isGitHubOwnerSlug is use…
Out of Scope Changes check ✅ Passed The shared validator, parser updates, repository validation, mobile updates, and tests directly support [#20449]. Git username changes support the same EMU login format during project-related branch-p…
  • Fix all pre-merge checks with AI

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.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

The owner alphabet is widened in the main and renderer parsers, but the mobile app carries its own copy of the same parser and still rejects EMU logins — so the bug this PR fixes persists on mobile.

Reviewed changes

  • Owner alphabet widened — OWNER_SLUG_RE now permits _ after the first character in src/main/github/project-view/internals.ts, src/main/github/github-api-repository-validation.ts, and the parseProjectPaste shorthand.
  • Renderer parity — project-picker-input.ts extracts a shared OWNER_RE and applies it to both the URL path and the owner/number shorthand.
  • Tests — the two assertions that encoded "underscore is invalid" now assert the EMU shape is accepted and a leading _ is rejected; a new github-api-repository-validation.test.ts covers the owner/repo slug gate.

⚠️ Mobile parser still rejects Enterprise Managed User owners

mobile/src/tasks/github-project-reference.ts:32 and :44 keep the old /^[A-Za-z0-9][A-Za-z0-9-]*$/ alphabet. That function is re-exported as parseProjectInput (mobile/src/tasks/mobile-tasks-dependencies.ts:88) and drives the mobile project picker (mobile/src/tasks/use-mobile-tasks-project-loading-actions.tsx:256), so octocat_acme/1 or a .../users/octocat_acme/projects/1 URL still fails to parse there. The PR's stated goal — accepting the alphabet everywhere it is checked — is not met while this copy remains.

Technical details
# Mobile owner alphabet not updated

## Affected sites
- `mobile/src/tasks/github-project-reference.ts:32` — `OWNER_RE` still `/^[A-Za-z0-9][A-Za-z0-9-]*$/`
- `mobile/src/tasks/github-project-reference.ts:44` — shorthand regex still excludes `_`
- `mobile/src/tasks/github-project-reference.test.ts` — no EMU case

## Required outcome
- `parseGitHubProjectInput` accepts the same owner alphabet as main and renderer, with a test asserting `octocat_acme/1` and a `users/octocat_acme` URL parse while `_acme/1` and `orgs/_acme` still reject.

## Suggested approach
- Prefer one shared constant under `src/shared/github/` (mobile already imports from `../../../src/shared/github/...`) so the alphabet cannot drift again — this PR had to touch three independent copies and one was missed.

## Open questions for the human
- Is the mobile project picker in scope for this fix, or intentionally deferred?

Pullfrog  | Fix it ➔ | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

gon2gon2 added a commit to gon2gon2/orca that referenced this pull request Sep 13, 2026
Review on stablyai#20450 found a fourth copy of the owner regex in
mobile/src/tasks/github-project-reference.ts, still rejecting Enterprise Managed
User logins. Move the alphabet into src/shared/github/owner-slug.ts (slug regex,
owner/number shorthand regex, isGitHubOwnerSlug) and import it from main, renderer
and mobile so the four sites cannot drift again. Mobile gains the EMU test cases.
@gon2gon2

Copy link
Copy Markdown
Contributor Author

Thanks, the mobile finding was right — mobile/src/tasks/github-project-reference.ts was a fourth copy and still rejected EMU logins.

95a160c takes the suggested route: the alphabet now lives once in src/shared/github/owner-slug.ts (slug regex, owner/number shorthand regex, isGitHubOwnerSlug), and main, renderer and mobile import it. Mobile's test gains the EMU cases (octocat_acme/1, users/octocat_acme, and _acme still rejected). Mobile vitest, tsc --noEmit and oxlint pass locally alongside the root checks.

To the open question: yes, the mobile picker is in scope — the point of the fix is that the same paste works everywhere.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No critical issues — one minor cleanup suggestion inline.

Reviewed changes

  • Shared owner alphabet extracted — src/shared/github/owner-slug.ts is now the single source for GITHUB_OWNER_SLUG_RE, the owner/number shorthand regex, and isGitHubOwnerSlug.
  • Drifting copies replaced — main (internals.ts, github-api-repository-validation.ts, project-view-reference.ts) and renderer (project-picker-input.ts) import the shared constants instead of local regexes.
  • Mobile adopted — mobile/src/tasks/github-project-reference.ts now uses the shared alphabet, closing the gap the previous review flagged, with EMU cases added to its parser test.
  • New and updated tests — owner-slug.test.ts and github-api-repository-validation.test.ts added; main, renderer and mobile parser tests now assert the octocat_acme shape is accepted and a leading _ is still rejected.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

Comment thread src/shared/github/owner-slug.ts Resolved
gon2gon2 added a commit to gon2gon2/orca that referenced this pull request Sep 13, 2026
Review on stablyai#20450: isGitHubOwnerSlug had no production caller while
isValidOwnerSlug re-implemented the same check. One validator now.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

  • Single validator — isValidOwnerSlug in src/main/github/project-view/internals.ts:72 now delegates to the shared isGitHubOwnerSlug, and the duplicate local OWNER_SLUG_RE alias was removed. Behavior is unchanged: the shared regex requires a leading alphanumeric, so the dropped value.length > 0 guard was already redundant. This retires the one outstanding cleanup suggestion from the prior review.

Pullfrog  | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@nwparker

Copy link
Copy Markdown
Contributor

@gon2gon2 I verified the reported EMU rejection against GitHub's documented username format and tested your fix. I've pushed an update to this PR, preserving your commits and merging in the newer base used for validation. The latest commit is 212801cac5b.

The shared owner validator accepts non-leading underscores across main, renderer, repository overrides, and mobile. I added regression coverage for complete project resolution with EMU and ordinary users, ordinary organizations, shorthand's organization-to-user fallback, github.com host selection, and rejection before a request reaches an unconfigured host. Encoded separators and other path-shaped owner values remain rejected.

Validation:

  • 177 relevant desktop tests pass; root typechecking and changed-code quality gate pass.
  • Hidden Electron/Playwright E2E passed for EMU URL + shorthand, ordinary user URL + shorthand, a hyphenated organization, view selection, reload/persistence, malformed input rejection, and recovery after an unconfigured-host error.
  • E2E exercised the real picker, IPC, main validation and CLI invocation, with fixture GitHub responses. I don't have access to your live EMU account, so enterprise authentication and real project contents still need your confirmation.
  • Five mobile parser tests and a targeted parser typecheck pass. The full mobile suite wasn't verified locally because its frozen dependency install reported a lockfile/config mismatch.
  • Scoped readiness and code-elegance review found no defects in the change.

Could you pull this PR branch and test your actual https://github.com/users/<username_shortcode>/projects/<number> URL, plus <username_shortcode>/<number> shorthand? Please confirm that the project and its items load, and that opening an ordinary GitHub project still works if you have one available. If anything fails, please share the exact error and whether it occurred while adding the project, choosing its view, or loading its items (no tokens or private project contents needed).

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

Delta since the prior pullfrog review (f3f944505a): a main merge plus one test-only commit.

  • EMU project resolution covered end to end — project-view-host-auth.test.ts drives octocat_acme through pasted github.com URLs (org and user shapes), the owner/number shorthand fallback after an organization miss, the ambient-vs-pasted host boundary, and malformed / unconfigured-host rejection.
  • github.com normalization parameterized — github-api-repository.test.ts runs the no-auth-probe normalization case for both acme and octocat_acme.
  • Shared-alphabet path-injection guards — owner-slug.test.ts adds a_b/c, a_b\c, a_b%2Fc, a_b?c, a_b#c to the reject set, pinning that widening _ did not open a path segment.
  • main merged in — the merge only reconciled unrelated main changes (the GhGraphqlErrorShape → GhGraphqlError rename); the isValidOwnerSlug delegation is intact and no literal copy of the old alphabet remains.

Ablating the alphabet back to [A-Za-z0-9][A-Za-z0-9-]* makes all 11 EMU assertions fail — including the github-api-repository normalization case this commit touched — so the new coverage is real regression protection, not theatre. Focused run: 83 root + 5 mobile tests pass. The single prior Pullfrog thread is resolved, so nothing is outstanding.

Pullfrog  | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@nwparker

Copy link
Copy Markdown
Contributor

tl;dr -- if you can test it out then we can merge it if all is well

@gon2gon2

Copy link
Copy Markdown
Contributor Author

Tested 212801c with my EMU account. Adding the project by URL and by <login>/<number> shorthand both work, and the view and its items load. I don't have an ordinary project handy to check.

One related bug I hit while testing, outside this PR: src/main/git/git-username.ts only accepts [A-Za-z0-9-] for the gh login, so an EMU login like octocat_acme is first rejected and then parsed from gh auth status as octocat, which becomes the branch prefix. Allowing _ after the first character in both checks fixes it and the existing tests pass. I can push that here or as a separate PR, whichever you prefer.

@nwparker

nwparker commented Sep 16, 2026 via email

Copy link
Copy Markdown
Contributor

@gon2gon2

gon2gon2 commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor Author

Thanks @nwparker !
Pushed as b19d615c2: both checks in git-username.ts now allow _ after the first character, with a small unit test for isPlausibleHostedLogin covering EMU logins and the shapes it must still reject.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ No critical issues — one coverage suggestion inline and a description nit.

Reviewed changes

Delta since the prior pullfrog review (212801cac5): one commit, b19d615c, which widens the branch-prefix username checks in src/main/git/git-username.ts so the follow-up the description called out is now done.

  • isPlausibleHostedLogin accepts _ after the first character — the 39-char cap, alphanumeric first/last character, and the -- reject are all preserved, so _acme, octocat_, -octocat and octo--cat still fail.
  • parseGhAuthStatusLogin stops truncating EMU logins — the login capture widened from [A-Za-z0-9-]+ to [A-Za-z0-9][A-Za-z0-9_-]*, so an EMU login printed by gh auth status no longer parses as the prefix before the _ when the gh api user probe fails.
  • New git-username.test.ts — pins the ordinary-login, EMU-login and reject cases against the exported validator; focused run of the two touched suites passes (37 tests).

The widened alphabet is safe: _ is not a path separator, and the leading-character rule plus repo reserved-name set are unchanged, so the nameWithOwner → REST-path guard still holds.

ℹ️ Nitpicks

  • The PR description still lists src/main/git/git-username.ts under "Not changed … Worth a follow-up if EMU users see odd branch prefixes", but this commit changes exactly that. Worth updating the description so it matches the diff.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

Comment thread src/main/git/git-username.ts Resolved

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

Delta since the prior pullfrog review (b19d615c): one test-only commit, 9146ac7, which closes the coverage gap that review flagged.

  • gh auth status fallback EMU coverage — repo-username.test.ts now drives octocat_acme through resolveLocalGitUsername when gh api user fails and the auth-status output prints the EMU login, asserting the whole login rather than the truncated prefix.
  • gh api user EMU coverage — a second case asserts octocat_acme resolves without falling through to the auth-status probe (ghExecFileAsync called once).

Ablating parseGhAuthStatusLogin's capture back to [A-Za-z0-9-]+ makes the fallback case fail (octocat vs octocat_acme), so the new coverage is real regression protection, not theatre. The prior review's inline thread is resolved, and the description nit was also addressed (git-username.ts is now listed under "What Changed").

Pullfrog  | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

@nwparker

Copy link
Copy Markdown
Contributor

Re-reviewed the full PR and the new username fixes through 9146ac72470. The follow-up is correct: both gh api user and the auth-status fallback now preserve the full EMU login instead of rejecting/truncating it. No remaining correctness, security, or compatibility findings in the scoped readiness review.

Pushed 3e117b6b65a with cleanup and stronger regression coverage. The functional fix is unchanged. Consolidated duplicate ordinary/EMU tests, added cached-login checks and active-account ordering cases, and covered maximum-length and malformed branch tokens. Net result: five fewer lines across the three touched files.

Verification:

  • 399 desktop tests across 30 files passed, including username resolution/caching/timeouts, SSH identity, Windows worktree routing, GitLab-primary exclusion, project resolution, branch-building and workspace-composer behavior.
  • Root typecheck, changed-code quality gate, formatting, and diff checks passed.
  • Five mobile parser tests passed in the standalone harness; this does not claim a full Expo/mobile build.
  • Three fresh hidden Electron instances verified the real repository/IPC/CLI-to-rendered-settings path: EMU API success → octocat_acme/feature; EMU API failure plus active-account auth fallback → octocat_acme/feature; ordinary login → octocat/feature.
  • Git Username / Custom / None switching works, and a folder workspace does not inherit a GitHub username.
  • Repeated the project-picker E2E matrix: EMU and ordinary URLs/shorthand, hyphenated organization, view selection, reload/persistence, malformed-input and unconfigured-host rejection, and error recovery.

The local Electron checks use fixture GitHub responses; your live EMU project-and-items confirmation in #20450 (comment) is separate real-account evidence. No live Windows/SSH/mobile-device run was performed.

Verdict: ready to merge once required checks on the latest head pass. No further functional changes indicated. @gon2gon2, if convenient, please do one final fresh-app check that a new branch now uses your complete <username_shortcode>/... prefix; restarting avoids the existing per-process username cache.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes

Delta since the prior pullfrog review (9146ac72): one test-only commit, 3e117b6b, plus a clarified comment.

  • Username suites parameterized — repo-username.test.ts folds the single-purpose cases into it.each blocks for both the gh api user and gh auth status paths, driving gh-demo/octocat_acme and demo-user/octocat_acme through each. No prior coverage was dropped.
  • Multi-account active selection covered — new cases assert the active account wins regardless of block order and whether the logins are EMU or ordinary, pinning parseGhAuthStatusLogin's block-wise parse.
  • Boundary and inject cases added — git-username.test.ts now pins the 39-char acceptance and 40-char rejection, trailing -, and the path/whitespace shapes (/, \, newline, .lock, space) against isPlausibleHostedLogin.
  • Stale comment corrected — isPlausibleHostedLogin drops the "same alphabet as src/shared/github/owner-slug.ts" claim, which never held (the 39-char cap, trailing-separator rule and -- reject all differ from the shared constant).

The tests are not theatre: reverting isPlausibleHostedLogin or the parseGhAuthStatusLogin capture to reject/halt at _ fails the new EMU and multi-account cases. All prior pullfrog threads are resolved and the description matches the diff.

Pullfrog  | View workflow run | Using DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

Unify owner validation across project pickers and repository overrides. Preserve EMU usernames in API and auth-status branch-prefix resolution, with regression coverage.

Co-authored-by: gon2gon2 <[email protected]>
@nwparker
nwparker force-pushed the fix/owner-slug-emu-underscore branch from 3e117b6 to 699337d Compare September 16, 2026 20:51
@nwparker

Copy link
Copy Markdown
Contributor

I corrected a branch-history mistake from my earlier merge that made this PR show 3,068 changed files. Sorry for the noise. The branch is now rebuilt as commit 699337deb00, preserving the owner-slug and username fixes plus regression coverage; GitHub confirms 16 files (+367 / -107). The force push was guarded against concurrent author updates, and the old tip is backed up locally.

Validation on the rebuilt branch: 386 desktop tests and 5 mobile tests passed, all project typechecks passed, and the changed-code quality gate passed. CI is running again.

@gon2gon2 please use the new branch tip for any further testing. Since history was rewritten, preserve any local work before updating your checkout. Please confirm the EMU project flow and full username branch prefix still work in your environment.

@nwparker
nwparker merged commit 85d1ffc into stablyai:main Sep 16, 2026
1 check passed
@gon2gon2
gon2gon2 deleted the fix/owner-slug-emu-underscore branch September 16, 2026 22:58
ivanvykopal pushed a commit to ivanvykopal/orca that referenced this pull request Sep 20, 2026
Unify owner validation across project pickers and repository overrides. Preserve EMU usernames in API and auth-status branch-prefix resolution, with regression coverage.

Co-authored-by: Neil <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitHub Projects: owner slug validation rejects Enterprise Managed User logins (username_shortcode)

2 participants