Skip to content

chore(dogfood): Add baseline schema and review workflow#108

Merged
mhiro2 merged 1 commit into
mainfrom
chore/dogfood-schema-review
Apr 29, 2026
Merged

chore(dogfood): Add baseline schema and review workflow#108
mhiro2 merged 1 commit into
mainfrom
chore/dogfood-schema-review

Conversation

@mhiro2

@mhiro2 mhiro2 commented Apr 29, 2026

Copy link
Copy Markdown
Owner

Summary

  • Establish a dogfood path that runs relune review on this repository's own pull requests by introducing a small canonical schema and a sticky-comment workflow.
  • Provide the baseline so a follow-up PR can mutate the schema, exercise the find / create-or-update flow, and confirm that blocking findings surface on the PR comment.

Changes

  • cecb50b : chore(dogfood): add baseline schema and review workflow
    • Add dogfood/schema.sql as the canonical application schema (users, posts, comments with foreign keys and supporting indexes) and dogfood/README.md to clarify that the directory is verification-only and not consumed by any crate.
    • Add .github/workflows/dogfood-review.yaml: builds relune-cli from the checkout, feeds the binary to ./action via binary-path, and posts the review report as a sticky PR comment using the same peter-evans/find-comment + peter-evans/create-or-update-comment pattern documented in action/examples/relune-review.yaml.
    • Handle the first introduction of dogfood/schema.sql by treating a missing base file as an empty baseline so the workflow runs cleanly on this PR.

Introduce dogfood/schema.sql and .github/workflows/dogfood-review.yaml so
that future schema changes in this repository can serve as live verification
for the review GitHub Action. The workflow builds relune-cli from the
checkout, feeds the binary to ./action via binary-path, and posts the report
as a sticky PR comment.

This PR establishes the baseline; subsequent PRs that mutate the schema will
exercise the find-comment / create-or-update-comment flow on a real PR.
@mhiro2 mhiro2 changed the title chore(dogfood): add baseline schema and review workflow chore(dogfood): Add baseline schema and review workflow Apr 29, 2026
@github-actions

Copy link
Copy Markdown

Code Metrics Report

main (62ac31f) #108 (fa5a464) +/-
Coverage 94.6% 94.6% 0.0%
Test Execution Time 1m35s 1m33s -2s
Details
  |                     | main (62ac31f) | #108 (fa5a464) | +/-  |
  |---------------------|----------------|----------------|------|
  | Coverage            |          94.6% |          94.6% | 0.0% |
  |   Files             |             81 |             81 |    0 |
  |   Lines             |          36827 |          36827 |    0 |
  |   Covered           |          34864 |          34864 |    0 |
+ | Test Execution Time |          1m35s |          1m33s |  -2s |

Reported by octocov

@github-actions

Copy link
Copy Markdown

Schema review

✅ No risk findings.

@mhiro2 mhiro2 self-assigned this Apr 29, 2026
@mhiro2
mhiro2 merged commit 24e0e79 into main Apr 29, 2026
5 checks passed
@mhiro2
mhiro2 deleted the chore/dogfood-schema-review branch April 29, 2026 02:04
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