Skip to content

feat: schema change PR comment#155

Merged
Xetera merged 2 commits into
mainfrom
feat-pr-comment-schema-change
Jun 24, 2026
Merged

feat: schema change PR comment#155
Xetera merged 2 commits into
mainfrom
feat-pr-comment-schema-change

Conversation

@Xetera

@Xetera Xetera commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

This should include the schema change in the PR comment. I expect this to not be a perfect PR because change detection can come up with wild diffs in schema for relatively simple changes. But at the minimum it should let the author (and agents) know that they've made some schema changes in the PR

@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 Analysis

3 queries analyzed

2 pre-existing issues
  • SELECT "guests"."id", "guests"."session_id", "guests"."username", "guests"."avatar_path", "guests"."color", "guests"."side", "guests"."audio_recording_path", "guests"."audio_recording_public", "gue...
    index assets(event_id, inserted_at desc)
    cost 31,003,449 → 1,498 (100% reduction)
  • SELECT * FROM guest_ip_addresses WHERE ip_address = '127.0.0.1';
    index guest_ip_addresses(ip_address)
    cost 154,402 → 8 (100% reduction)

Using assumed statistics (10000000 rows/table). For better results, sync production stats.

@Xetera Xetera merged commit 8ee483a into main Jun 24, 2026
6 of 7 checks passed
@Xetera Xetera deleted the feat-pr-comment-schema-change branch June 24, 2026 13:03
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