Skip to content

Add open-Knots-PRs triage view: source/label/ready filters + daily ACK refresh#6

Merged
kwsantiago merged 7 commits into
mainfrom
knots-pr-view
Jul 13, 2026
Merged

Add open-Knots-PRs triage view: source/label/ready filters + daily ACK refresh#6
kwsantiago merged 7 commits into
mainfrom
knots-pr-view

Conversation

@kwsantiago

@kwsantiago kwsantiago commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Adds an open-PRs triage view and richer filters so all open bitcoinknots/bitcoin PRs, not just the ones referenced in a spec, can be triaged and shortlisted for a release. Requested in the Knots dev discussion.

View

  • github.list_open_prs(repo) — enumerates all open (non-draft) PRs via the API (paginated, token-aware).
  • "★ open Knots PRs" view — a new dropdown entry. PRs are shaped like spec rows so the existing table, sort, search, and CSV export are reused unchanged. Served by /api/knots-prs, baked to data/__knots__.json for the static site. Of the 50 open PRs, 33 aren't in the spec at all, so this surfaces work the spec view can't.

Filters

  • Quick: ✓ ready (open + tested ACK + no NACK) and ! NACK. tACK is the existing Review level → L3 chip.
  • Source: Core / Knots / GUI, derived from the PR token prefix (numeric / k### / g###).
  • Labels: chips for each GitHub label present (shown where labels exist). The repo's existing high priority label makes the "mark high priority" workflow work with no new mechanism: label on GitHub, filter here.
  • Sort by ACK count: the review column now orders by review strength then raw ACK count.
  • Insights bar gains a clickable "ready to merge: N"; disposition/section/active controls hide in the PR view.

Freshness

Deploy BOSUN_CACHE_TTL lowered 3 days → 1 day, so each daily run re-fetches ACKs for every open PR. New PRs already appeared daily; rate-limited fetches are caught and retried next run.

Design

ACK/tACK data stays fully dynamic (fetched live from the API, classified in ack.py, re-baked each deploy). Nothing about review status touches the spec file, which keeps its single job as the build recipe.

Docs

README links the live instance, the default spec source, and the proposed DAG-native model, and documents the new view + filters.

The live site defaults to the Knots-PR view; switching back to the spec is a one-line change.

@kwsantiago
kwsantiago merged commit 8b59883 into main Jul 13, 2026
1 check passed
@kwsantiago
kwsantiago deleted the knots-pr-view branch July 13, 2026 22:25
@kwsantiago kwsantiago changed the title Add open-Knots-PRs view with ready/tACK filters Add open-Knots-PRs triage view: source/label/ready filters + daily ACK refresh Jul 13, 2026
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