Skip to content

[leas code] Deduplicate GitHub link normalization - #13409

Merged
nwparker merged 1 commit into
mainfrom
nwparker/leas-code-github-links
Aug 10, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/leas-code-github-links

Conversation

@nwparker

Copy link
Copy Markdown
Contributor

Summary

  • replace the renderer copy of GitHub link normalization with a re-export of the identical shared implementation
  • preserve the existing renderer import path and export surface
  • remove stale comments that described the implementation as renderer-only
  • reduce source by 55 net lines

Verification

  • renderer GitHub-link suite: 16 tests passed
  • mobile smart-source shared-consumer suite: 17 tests passed
  • pnpm run typecheck
  • pnpm run check:code-quality:changed
  • formatting and commit hooks

@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 86955abe-8859-4ede-ab18-5813e980f0e1

📥 Commits

Reviewing files that changed from the base of the PR and between ac83068 and b62d848.

📒 Files selected for processing (1)
  • src/renderer/src/lib/github-links.ts

📝 Walkthrough

Walkthrough

The renderer GitHub-link module now re-exports functionality from shared/new-workspace/github-links. It removes the renderer-specific GitHubLinkQuery type and normalizeGitHubLinkQuery function, including input-size handling and direct issue or pull request parsing.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description includes a useful summary and verification details but omits the required Screenshots, Testing checklist, AI Review Report, Security Audit, and Notes sections. Add all required template sections, including visual-change status, test checklist results, AI review findings, security audit coverage, and platform-specific notes.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: deduplicating GitHub link normalization by using the shared implementation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

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.

@nwparker
nwparker merged commit 65a5e84 into main Aug 10, 2026
45 checks passed
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
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.

1 participant