Skip to content

Feat/server timing reporting - #14

Merged
fidalgo merged 3 commits into
mainfrom
feat/server-timing-reporting
Jul 24, 2026
Merged

Feat/server timing reporting#14
fidalgo merged 3 commits into
mainfrom
feat/server-timing-reporting

Conversation

@fidalgo

@fidalgo fidalgo commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

How to test

Release notes

Does this change need an explicit changelog or release-note callout beyond the PR title?

Checklist

  • PR title is a Conventional Commit and suitable for squash merge
  • Tests added/updated (if applicable)
  • Docs updated (if applicable)
  • I kept changes focused and easy to review
About the maintainers

Built by Ethos Link, the team behind Reviato.
Capture. Interpret. Act.
Turn guest feedback into clear next steps for your team. Collect private appraisals, spot patterns across reviews, and act before small issues turn into public ones.

fidalgo added 3 commits July 24, 2026 13:19
What:
- Parse standard Server-Timing metrics, descriptions, and signals.
- Aggregate coverage, percentiles, and the ten worst pages.
- Expose timing data through page and result APIs.

Why:
- Make Rails and custom backend instrumentation actionable in crawl reports.
- Preserve malformed-entry visibility without hiding valid metrics.

Where:
- Server-Timing parser, summary, and reporter components.
- HTTP and browser page snapshots, documentation, and focused tests.
What:
- add a callable profile_token configuration that emits X-Profile-Token
- propagate the token through sitemap, HTTP, and browser document requests
- retain same-origin redirects while stripping cross-origin requests

Why:
- allow protected Server-Timing endpoints to be crawled and reported
- prevent diagnostic credentials from leaking to third-party origins

Where:
- request header policy, crawl transports, configuration, documentation, and transport tests
What:
- Fetch the implicit sitemap from the configured HTTP base URL.
- Resolve profile tokens from CRAWLSCOPE_PROFILE_TOKEN by default.
- Update the Rails initializer template and migration guidance.

Why:
- Keep validation tied to live application and database state.
- Support secure token configuration in Rails, CLI, Rake, and plain Ruby usage.

Where:
- Runtime configuration and default sitemap resolution.
- Rails install generator, documentation, and focused regression tests.
@fidalgo
fidalgo merged commit 6489506 into main Jul 24, 2026
6 checks passed
@fidalgo
fidalgo deleted the feat/server-timing-reporting branch July 24, 2026 13:50
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