Skip to content

feat(review): add a [BETA] chat usage collapsible to the PR comment - #5081

Merged
JSONbored merged 1 commit into
mainfrom
feat/chat-beta-usage-dropdown
Jul 11, 2026
Merged

feat(review): add a [BETA] chat usage collapsible to the PR comment#5081
JSONbored merged 1 commit into
mainfrom
feat/chat-beta-usage-dropdown

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Summary

  • Adds a new "[BETA] Chat with Gittensory" collapsible to the bottom of the public PR review comment, briefly explaining @gittensory ask/@gittensory chat syntax (and, when enabled, the plain-language intent router) plus a link to the command reference docs.
  • Empty (thus invisible) unless the repo has chatQa or intentRouting enabled under advisoryAiRouting, so no repo advertises a command that would just decline — same convention as the existing "Test coverage" collapsible.
  • Moves commandReferenceUrl from github/commands.ts to github/footer.ts (exported) so both the @gittensory help reply and this new collapsible resolve the same doc URL without a circular module import (commands.ts already imports from signals/engine.ts).

Closes #5078

Test plan

  • npm run typecheck
  • Full unsharded npm run test:coverage (14324 passed, 0 failed)
  • New tests: collapsible stays empty when both flags are off, renders ask/chat usage + docs link when chatQa is on, renders the plain-language routing line when intentRouting is on
  • npm run command-reference:check / npm run docs:drift-check

Adds a "[BETA] Chat with Gittensory" collapsible to the bottom of the
public PR review comment, briefly explaining @gittensory ask/chat
syntax (and the plain-language intent router, when enabled) plus a
link to the command reference docs. Empty (thus invisible) unless the
repo has chatQa or intentRouting enabled, matching the existing "Test
coverage" collapsible's convention.

Moves commandReferenceUrl from github/commands.ts to github/footer.ts
(exported) so both the @gittensory help reply and this new collapsible
resolve the same doc URL without a circular module import.

Closes #5078
@JSONbored JSONbored self-assigned this Jul 11, 2026
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@codecov

codecov Bot commented Jul 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.20%. Comparing base (4719f2c) to head (3d7244c).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5081   +/-   ##
=======================================
  Coverage   94.20%   94.20%           
=======================================
  Files         470      470           
  Lines       39693    39698    +5     
  Branches    14486    14488    +2     
=======================================
+ Hits        37392    37397    +5     
  Misses       1645     1645           
  Partials      656      656           
Flag Coverage Δ
shard-1 46.39% <66.66%> (-0.02%) ⬇️
shard-2 33.59% <44.44%> (+0.03%) ⬆️
shard-3 31.34% <0.00%> (+0.01%) ⬆️
shard-4 32.67% <88.88%> (-0.10%) ⬇️
shard-5 33.48% <0.00%> (-0.10%) ⬇️
shard-6 45.12% <44.44%> (+0.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/github/commands.ts 98.28% <ø> (-0.02%) ⬇️
src/github/footer.ts 100.00% <100.00%> (ø)
src/queue/processors.ts 95.46% <ø> (ø)
src/signals/engine.ts 97.49% <100.00%> (+<0.01%) ⬆️
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@JSONbored
JSONbored merged commit 74afe7d into main Jul 11, 2026
15 of 16 checks passed
@JSONbored
JSONbored deleted the feat/chat-beta-usage-dropdown branch July 11, 2026 13:36
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.

Add a beta usage dropdown for chat/ask commands to the PR review comment

1 participant