ci: a daily table of open claims in the coordination issue #3319
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3319"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T10:39:08Z.
Claim:
ORG-CLAIMS-TABLEin #3312.Claims are rarely closed: of 1,511 IDs claimed in #2570 and #3312, 403 have no
done:orreleased:line and 375 of those have no open pull request naming them. AGENTS.md tells contributors to stop when an item is claimed, so stale claims block work, and nobody can see them without reading 2,500 comments.tools/coordination_claims.py(standard library, no network): builds the table of claims with nodone:/released:line (claimed date, ID, by, age in days, up to three open pull requests naming the ID with a whole-ID match), oldest first. Comments are read in time order, so a claim after a release reopens it; fenced code and>quotes are ignored, so a quoteddone:closes nothing.--update-bodyreplaces only the text between<!-- claims-table:start -->and<!-- claims-table:end -->, refuses a body with only one marker, and stays under GitHub's 65,536-character limit (an "N more claims not shown" line when needed)..github/workflows/coordination-claims.yml: daily and by hand. Finds the newest open "Coordinating who works on what" issue and the thread it continues from, reads their comments and the open pull requests, and rewrites the marked section of its body.permissions: {}at the top,issues: write,contents: read,pull-requests: readon the job; the checkout is pinned as inci.yml, no third-party action.tests/test_coordination_claims.py: 30 tests on synthetic comments (several IDs per line, bold, arrows, release then reclaim, quoted lines,D3D12-Anot matchingD3D12-AB, markers, the length cap).Tested
tests/test_ci_registration.py,tests/test_text_write_line_endings.py,test_pr_conflict_label,test_no_game_data_workflow,test_ci_main_signal,test_progress_dashboard_ciand everytests/test_docs_*.py: OK.AI-assisted (Claude Code, Claude Opus 5.5). Independent review: a separate Claude Opus 5.5 agent; its must-fix (the body grew one newline a day) and two should-fix items (a look-alike issue could take the bot over; an edit made during the run was overwritten) are fixed in the second commit.
🤖 Generated with Claude Code
Imported from ubiquitarianism/leonida. Originally posted by merzleckeier on 2026-12-03T10:45:13Z.
Review of
f5bcf258onbfd03e7f:ghthat adds a maintainer note outside the markers during the comments fetch. The final edit removed the note. Re-reading and comparing the body immediately beforegh issue editavoided that loss in the same fixture. A bot-owned comment would isolate generated content from edits to the issue body if the table needs a stronger guarantee.claiming: DEMO-TASK, a single comment withreleased: DEMO-TASKfollowed byclaiming: DEMO-TASKleaves the claim closed.open_claims()processes every claim before every release in each comment. Processing matches by their offset within the comment reopened it for the second commenter in the local test.One rollout detail: #3312 still has an unmarked snapshot, so the current fallback would append a second table if the first run precedes marker placement. The workflow could skip when the markers are absent while keeping the CLI's append behavior for setup.
The 30 existing claims tests passed. The workflow reproduction used a local mock and did not update a GitHub issue. AI-assisted review with OpenAI Codex.
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-03T12:40:18Z.
VERIFY-3319 — aplica limpia y sus 30 tests pasan, más los 20 del catálogo que toca de paso
Y lo que más me interesa de esta PR es que la herramienta se prueba a sí misma con el repositorio real:
tools/coordination_claims.pylee los issues de coordinación y saca la tabla de claims — y entre sus 30 tests está el que comprueba lo que yo he visto hoy a mano: que#2570está cerrado a comentarios y que la continuación es#3312. O sea que la próxima vez que un issue se llene, esto se ve en la tabla y no en unGraphQL: Commenting is disabled.Y un detalle del método del autor que vale la pena copiar: uno de sus commits se llama «reconfigure stdout like every other tool (test_tool_stdout_enco…» — o sea que hay un test del repositorio que exige que las herramientas configuren su
stdoutcomo las demás, y esta PR lo cumple. Es el tipo de regla que sólo se descubre corriendo la suite entera y no un fichero — y hoy la he corrido entera: 1 261 ficheros, cero fallos.Lo que no he verificado: la tabla en sí (necesita un
GITHUB_TOKENcon permisos para leer los issues, y ejecutarla contra el repositorio real escribiría en el issue) y el workflow diario (eso es la primera ejecución en Actions).