github robintra/perf-sentinel v0.20.2

latest release: chart-v0.20.2
3 hours ago

What's new in v0.20.2

v0.20.2 is about a value the HTML dashboard held and would not show. Open a finding, and its endpoint sits in a card of the detail panel, next to the service and each grouping attribute. The mono cards among them cut at ... as soon as the value outgrew its grid track, near 150 pixels, which a route template does almost at once. The text was in the DOM the whole time, selectable and invisible, so an operator had nothing to read and no way to trust what they copied.

The card that cut an endpoint at three dots

The nowrap on those cards was borrowed from the dense rows, where a single line is what keeps the list scannable. A card has no such constraint: the grid already stretches every card of a row to a common height, so a value that takes two or three lines costs no layout. The mono cards now wrap the way the service card beside them always did, and a long path breaks on the overflow-wrap: anywhere the parent rule already carried. A Playwright test plants a route template longer than any in the demo dataset, asserts the card has no horizontal overflow, and reads the computed style back rather than the rule.

Two rows keep their ellipsis on purpose, since their single line is what holds their height: the endpoint of a diff row and the gate rule of the overview banner. Both gain the title the findings row and the span row have carried for a while, so every value the dashboard truncates now leads back to the whole one on hover. The trace id is untouched: it is shortened in the text rather than by CSS, and its own tooltip and copy button have always carried the full 32 characters.

Upgrade impact

  • A long endpoint or grouping attribute in the detail panel wraps onto as many lines as it needs, where it was cut at .... A report already on disk keeps the CSS it was written with, so regenerate it to pick the change up.
  • The diff row endpoint and the overview gate rule keep their single line and show the whole value on hover.
  • No configuration key is added or removed, no route, metric or wire format changes, the acknowledgment signatures and the detection verdicts are untouched, and MSRV stays 1.97.1.

Full detail in CHANGELOG.md.

Verifying this release

# Binary integrity via SLSA Build L3 attestation
gh attestation verify perf-sentinel-linux-amd64 \
  --repo robintra/perf-sentinel

# A periodic disclosure produced by this binary
perf-sentinel verify-hash --report perf-sentinel-report.json \
  --expected-identity "https://github.com/robintra/perf-sentinel/.github/workflows/release.yml@refs/tags/v0.20.2" \
  --expected-issuer "https://token.actions.githubusercontent.com" \
  --verify-binary ./perf-sentinel-linux-amd64

gh CLI 2.49 or newer required for gh attestation verify.

Don't miss a new perf-sentinel release

NewReleases is sending notifications on new releases.