Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Observability score · 64needs work 2 instrumented · 0 partial · 2 dark Fix first (2)
evlog map v0.8.0 · how the score works · what each check expects |
All 8 entry points, fix first
Note No evlog map v0.11.2 · how the score works · what each check expects |
HugoRCD
force-pushed
the
feat/report-cards
branch
from
November 16, 2026 18:46
f3677e7 to
4181fe1
Compare
HugoRCD
force-pushed
the
feat/report-cards
branch
from
November 16, 2026 19:03
4181fe1 to
174d93d
Compare
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.
A new
cards-urlinput posts each run to an evlog cloud app (evloghq/evlog#1075), which stores it with the base branch's score history and draws the report as an SVG card. The comment then opens on that card. Without the input, the comment is unchanged.On a real pull request
The
cardsjob on #13 posted this comment through the deployment athttps://evlog-cloud.vercel.app(the comment). The fixtures are the same onmainand the PR, andmainhas one recorded point, so the card shows coverage and the entry points to fix first instead of a trend.With history and changes (demo data): a scratch shop with six pushes on
main, then a PR that dropsuser.id,cart.totaland thecheckout.completedaudit, and removes the wide event fromGET /api/orders/:id. Rendered by the same app code from a local run of the action.What changed
cards-urlinput (validated as http(s) ininputs.mjs) and acards-urloutput with the run page, empty when no cards were drawn.src/lib/cards.mjsbuilds the run from the scan results, including each entry point'seventat the base and the head, and authenticates with a GitHub Actions OIDC token (audiencehttps://evlog.cloud). If the token is missing or the app refuses the run, the action logs a notice and posts the plain comment.GET /api/orders/:iddark") with links into the diff, then the wide event diff as adiffblock and the full check grid, both folded.cardsjob intest.yml: on this repository's own PRs it scans the fixtures with the@evlog/clipreview from feat(cli): record the wide event each entry point carries in evlog map evlog#1075, posts tohttps://evlog-cloud.vercel.app, comments under its owncomment-key, and asserts that the output points at a stored run whose card is served asimage/svg+xml.Usage
Validation
npm run checkandnpm test: 99 pass, including the newcards.test.mjscases for the payload, the degraded paths and the comment layout.cardsjob on this PR is the end to end check: it passes, and its comment is the capture above.ELI5: when someone opens a pull request, the action already writes a comment about how well the code logs. With this, the comment opens on a picture that shows the score over time and which logged details the change would lose.