Skip to content

ops(scan): fix the always-empty webstatus.dev "widely" Baseline query#110

Merged
jdevalk merged 1 commit into
mainfrom
ops/fix-baseline-widely-query-2026-07-17
Jul 17, 2026
Merged

ops(scan): fix the always-empty webstatus.dev "widely" Baseline query#110
jdevalk merged 1 commit into
mainfrom
ops/fix-baseline-widely-query-2026-07-17

Conversation

@jdevalk

@jdevalk jdevalk commented Jul 17, 2026

Copy link
Copy Markdown
Owner

What changed

ops/routines/daily-standards-scan.md — documents that webstatus.dev's baseline_date filter keys off a feature's low date, and gives the corrected query shape for catching newly → Widely transitions.

Why now

Today's scan run tripped over this. The routine currently says:

baseline_status:widely catches the newly-Baseline → Widely transition (a feature now safe to rely on everywhere)

scoped by baseline_date:<START>..<END> with "a trailing ~8-day window". That combination can never match anything. baseline_date filters on the feature's low date (when it went newly), not its high date. Widely is reached ~30 months after newly, so a feature that goes Widely today has a low date ~30 months in the past.

The failure mode is the bad kind: no error, just total: 0 every single run. Half the Baseline check has been reporting "nothing moved" unconditionally, and would have kept doing so indefinitely.

Verification

Both queries run against the public API today (2026-07-17):

Query metadata.total
baseline_status:widely AND baseline_date:2026-06-01..2026-07-17 (routine as written) 0
baseline_status:widely AND baseline_date:2023-12-01..2024-01-31 (window offset back ~30mo) 16

The second returns the features that actually went Widely in June 2026 — has, loading-lazy, nesting, storage-access, masks, :dir(), url-canparse and others. Every one has high_date = low_date + 30 months exactly, which is what confirms the filter keys off low_date.

Sample from that response:

feature_id low_date high_date
has 2023-12-19 2026-06-19
loading-lazy 2023-12-19 2026-06-19
storage-access 2023-12-05 2026-06-05

Source

Status justification

Not a spec-content change — this is routine plumbing, so no changelog entry per the CLAUDE.md rule that the changelog tracks what the spec says, not tooling.

Worth noting what this fix does not change: the 16 features it now surfaces were reviewed this run anyway, and 14 are rejected by the auditable-outcome rule (CSS/JS authoring ergonomics — the subgrid/#82 precedent). The other two (loading-lazy, storage-access) are already covered and their statuses stay correct. So the immediate yield is zero new pages; the value is that the query stops lying on future runs.

🤖 Generated with Claude Code

The routine told the scan to catch newly-Baseline -> Widely transitions with
`baseline_status:widely` scoped by `baseline_date:<this run's window>`. That
query can never match: `baseline_date` filters on a feature's *low* date (the
day it went newly), not its high date, and Widely is reached ~30 months after
newly. So a feature going Widely today has a low date ~30 months in the past,
and the query silently returns zero every run.

Verified against the public API today:
  baseline_status:widely AND baseline_date:2026-06-01..2026-07-17  -> total 0
  baseline_status:widely AND baseline_date:2023-12-01..2024-01-31  -> total 16
The second window returns the 16 features that actually went Widely in June
2026 (high_date = low_date + 30 months in every case), confirming the filter
keys off low_date.

Document the offset and give both query shapes, so half the Baseline check
stops being a no-op that reports "nothing moved" forever.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying specification-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 54d667c
Status: ✅  Deploy successful!
Preview URL: https://815ed608.specification-website.pages.dev
Branch Preview URL: https://ops-fix-baseline-widely-quer.specification-website.pages.dev

View logs

@jdevalk
jdevalk marked this pull request as ready for review July 17, 2026 06:43
@jdevalk
jdevalk merged commit db913a9 into main Jul 17, 2026
8 checks passed
@jdevalk
jdevalk deleted the ops/fix-baseline-widely-query-2026-07-17 branch July 17, 2026 06:43
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