Skip to content

feat(github): name Query Doctor on the comment - #207

Merged
veksen merged 1 commit into
mainfrom
feat-brand-the-comment
Jul 31, 2026
Merged

veksen merged 1 commit into
mainfrom
feat-brand-the-comment

Conversation

@veksen

@veksen veksen commented Jul 31, 2026

Copy link
Copy Markdown
Member

Goal

The comment should say what produced it. Follow-up to #201, which replaced the "Query Doctor Analysis" heading with a count and dropped the name.

What

Before, the comment opened on ### 6 successful checks with nothing naming the product.

After:

[mark] Query Doctor

### 6 successful checks

  Cost regression — No query went up more than 10%
  ...

How

assets/brand/mark.svg is exported from LogoSmall in packages/ui, the mark the app's sidebar uses. It is copied rather than shared, the same way the gate glyphs are, because the analyzer cannot depend on a Site package.

The mark carries its own #0D0D0D tile, so one file reads on white and on #0d1117. No themed <source> is needed, though <picture> is already the wrapper because GitHub turns a bare <img> into a link (#203).

Tests

github.test.ts asserts the name and the mark render above the roster. Full suite: 389 passing, 39 files, typecheck clean.

@github-actions github-actions Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

 Query Doctor

6 successful checks

 Cost regression — No query went up more than 5%
 Untested data access — No changed data-access file without a test
 New query — No new queries
 New query with index recommendation — No new query ships an index recommendation
 Schema drift — No schema changes
 High-value nudge — No index or rewrite past the threshold


More details via MCP → get_ci_run({ runId: "019fb960-d29c-75e1-a9ad-ce16d4c447f1" }) · view run · docs
3 queries read against main on assumed statistics of 10,000,000 rows per table. Sync production stats for costs measured against your real data.

Trimming the old heading took the product name with it, so the comment
identified itself only by the bot account that posted it.

The mark is the one the app's sidebar uses, exported from the LogoSmall
component. It carries its own dark tile, so a single file reads on both
canvases and needs no themed <source>.

Co-Authored-By: Claude <noreply@anthropic.com>
@veksen
veksen force-pushed the feat-brand-the-comment branch from d0d6a9d to 5785db0 Compare July 31, 2026 18:11
@veksen
veksen merged commit c4362a2 into main Jul 31, 2026
6 checks passed
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