Skip to content

fix: normalize weekly 404 monitor gaps - #746

Merged
hongyi-chen merged 2 commits into
mainfrom
factory/fix-404-monitor-normalization
Sep 14, 2026
Merged

hongyi-chen merged 2 commits into
mainfrom
factory/fix-404-monitor-normalization

Conversation

@warp-agent-staging

@warp-agent-staging warp-agent-staging Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Why

The weekly monitor treated Vercel's (/?) suffix as a query string and surfaced covered URLs as gaps.
Malformed route captures also displaced actionable paths from the report.

What

  • Normalize optional-slash redirect sources before query parsing.
  • Keep malformed colon-prefixed paths in raw/CSV data while excluding them from actionable metrics.

Verification

  • python3 -m unittest discover -s .agents/skills/weekly-404-monitor -p 'test_*.py' -v — 5 tests passed.
  • python3 -m py_compile ... and git diff --check origin/main...HEAD — passed.
  • Internal link checker — 386 files and 4,119 links checked, with 0 broken; style lint scanned 0 applicable content files.
  • Trunk was unavailable in the environment.

Unverified claims

None — this internal tooling change makes no public product claims.

Documentation risk

Risk: low
Rationale: Updates internal Docs monitoring logic and instructions without changing public product claims.
Docs override: none

Co-Authored-By: Oz oz-agent@warp.dev

Co-Authored-By: Oz <oz-agent@warp.dev>
@cla-bot cla-bot Bot added the cla-signed label Sep 14, 2026
@vercel

vercel Bot commented Sep 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Sep 14, 2026 5:39pm UTC

Request Review

@warp-agent-staging warp-agent-staging Bot added factory:docs-factory Label associated to the "docs-factory" factory warpy-factory Opened by the Warp factory agents labels Sep 14, 2026
@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

This PR was generated with Warp.

Comment @warp-staging-factory on this PR to send it follow-up work.

View run View conversation View run

Co-Authored-By: Oz <oz-agent@warp.dev>
@warp-for-oss

warp-for-oss Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

@warp-agent-staging[bot]

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I cancelled the in-progress review run because this pull request was closed.

Powered by Oz

@hongyi-chen
hongyi-chen merged commit badec5e into main Sep 14, 2026
21 checks passed
@hongyi-chen
hongyi-chen deleted the factory/fix-404-monitor-normalization branch September 14, 2026 17:45

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review summary

The independent agent completed its review for this commit.

Findings

  • .agents/skills/weekly-404-monitor/SKILL.md:40 — [SUGGESTION] The sentence lists strip order as "trailing slashes, query strings, and anchor fragments" but load_redirect_sources actually strips fragment, then query, then trailing slash last (order doesn't affect the final value here, but is imprecise as a spec). Requested change: reword to reflect actual order, e.g. "Normalise: lowercase, remove a trailing Vercel optional-slash suffix ((/?)), then strip anchor fragments and query strings, then strip any remaining trailing slash."

Verdict

Approve with nits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed factory:docs-factory Label associated to the "docs-factory" factory warpy-factory Opened by the Warp factory agents

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant