chore(dogfood): Add baseline schema and review workflow#108
Merged
Conversation
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.
Code Metrics Report
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 |
Schema review✅ No risk findings. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
relune reviewon this repository's own pull requests by introducing a small canonical schema and a sticky-comment workflow.Changes
dogfood/schema.sqlas the canonical application schema (users,posts,commentswith foreign keys and supporting indexes) anddogfood/README.mdto clarify that the directory is verification-only and not consumed by any crate..github/workflows/dogfood-review.yaml: buildsrelune-clifrom the checkout, feeds the binary to./actionviabinary-path, and posts the review report as a sticky PR comment using the samepeter-evans/find-comment+peter-evans/create-or-update-commentpattern documented inaction/examples/relune-review.yaml.dogfood/schema.sqlby treating a missing base file as an empty baseline so the workflow runs cleanly on this PR.