Dev Tracking Data Compilersqlite

Saved queries

The six questions this database is built to answer. Each runs unchanged on SQLite and Postgres.

1. Acceptance criteria with no linked commits or no linked tests2. Commits not tied to any task3. Cycle time4. Requirements changed after the code for one of their criteria merged5. Review turnaround by reviewer6. Full trace for one requirement

6. Full trace for one requirement: requirement -> criteria -> tasks -> commits -> PRs -> reviews.

REQ-CLICK-01 REQ-CLICK-02 REQ-CLICK-03 REQ-HTTPX-01 REQ-HTTPX-02 REQ-HTTPX-03 REQ-REQ-01 REQ-REQ-02 REQ-REQ-03 SUB-CLI-01 SUB-HTTP-01 SYS-01
SQL
-- 6. Full trace for one requirement: requirement -> criteria -> tasks -> commits -> PRs -> reviews.
-- LEFT JOINs keep the gaps visible: a criterion with no task shows NULLs to the right.
SELECT r.key AS requirement,
       a.key AS criterion,
       a.text AS criterion_text,
       t.key AS task,
       t.status AS task_status,
       c.repo,
       c.sha,
       c.committed_at,
       pr.number AS pr_number,
       pr.title AS pr_title,
       pr.merged_at,
       rv.state AS review_state,
       rp.display_name AS reviewer,
       rv.submitted_at AS reviewed_at
FROM requirements r
JOIN requirement_criteria rc ON rc.requirement_id = r.id
JOIN acceptance_criteria a ON a.id = rc.criterion_id
LEFT JOIN task_criteria tc ON tc.criterion_id = a.id
LEFT JOIN tasks t ON t.id = tc.task_id
LEFT JOIN commit_tasks ct ON ct.task_id = t.id
LEFT JOIN commits c ON c.id = ct.commit_id
LEFT JOIN pull_request_commits prc ON prc.commit_id = c.id
LEFT JOIN pull_requests pr ON pr.id = prc.pull_request_id
LEFT JOIN reviews rv ON rv.pull_request_id = pr.id
LEFT JOIN people rp ON rp.id = rv.reviewer_id
WHERE r.key = ?
ORDER BY a.key, t.key, c.committed_at, rv.submitted_at;

9 rows

requirementcriterioncriterion_texttasktask_statusreposhacommitted_atpr_numberpr_titlemerged_atreview_statereviewerreviewed_at
REQ-CLICK-03AC-CLICK-201-1Declaring a parameter whose name is not a valid Python identifier, or is a Python keyword, emits a DeprecationWarning.TASK-CLICK-2011donepallets/clickb90faad1788bc030bb3320938f07c9189f42d7d02026-09-22T06:39:58Z3866Deprecate parameter names that are: not a Python identifier, or a Python Keyword, or not lower-cased2026-09-23T04:07:17ZCOMMENTEDSofia Reyes2026-09-14T18:39:30Z
REQ-CLICK-03AC-CLICK-201-1Declaring a parameter whose name is not a valid Python identifier, or is a Python keyword, emits a DeprecationWarning.TASK-CLICK-2011donepallets/clickb90faad1788bc030bb3320938f07c9189f42d7d02026-09-22T06:39:58Z3866Deprecate parameter names that are: not a Python identifier, or a Python Keyword, or not lower-cased2026-09-23T04:07:17ZAPPROVEDJamal Wright2026-09-17T13:42:39Z
REQ-CLICK-03AC-CLICK-201-1Declaring a parameter whose name is not a valid Python identifier, or is a Python keyword, emits a DeprecationWarning.TASK-CLICK-2011donepallets/clickb90faad1788bc030bb3320938f07c9189f42d7d02026-09-22T06:39:58Z3866Deprecate parameter names that are: not a Python identifier, or a Python Keyword, or not lower-cased2026-09-23T04:07:17ZAPPROVEDNina Kowalski2026-09-21T23:40:57Z
REQ-CLICK-03AC-CLICK-201-3`Parameter.human_readable_name` keeps working but emits a DeprecationWarning that points to `Parameter.spec`.TASK-CLICK-2012donepallets/click9f0bcdf0d868edfc71435cd0aac2dcc08cf948282026-09-23T16:52:07Z3877Add `Parameter.spec` and deprecate `human_readable_name`2026-10-04T22:19:53ZAPPROVEDSofia Reyes2026-09-10T20:35:31Z
REQ-CLICK-03AC-CLICK-201-3`Parameter.human_readable_name` keeps working but emits a DeprecationWarning that points to `Parameter.spec`.TASK-CLICK-2012donepallets/click9f0bcdf0d868edfc71435cd0aac2dcc08cf948282026-09-23T16:52:07Z3877Add `Parameter.spec` and deprecate `human_readable_name`2026-10-04T22:19:53ZAPPROVEDJamal Wright2026-09-14T00:51:20Z
REQ-CLICK-03AC-CLICK-201-3`Parameter.human_readable_name` keeps working but emits a DeprecationWarning that points to `Parameter.spec`.TASK-CLICK-2012donepallets/click9f0bcdf0d868edfc71435cd0aac2dcc08cf948282026-09-23T16:52:07Z3877Add `Parameter.spec` and deprecate `human_readable_name`2026-10-04T22:19:53ZAPPROVEDNina Kowalski2026-10-01T16:44:14Z
REQ-CLICK-03AC-CLICK-201-4A codemod script renames deprecated parameter names in user projects automatically.TASK-CLICK-2013todo
REQ-CLICK-03AC-CLICK-204-2`CliRunner.isolated_filesystem()` emits a DeprecationWarning, and the testing docs show the temporary-directory replacement.TASK-CLICK-2042donepallets/clickc2ed41490baa08002714ab79afa4a41f2d67c02c2026-07-20T12:16:06Z3704Deprecate `isolated_filesystem` and document its limits2026-07-20T17:43:21ZAPPROVEDJamal Wright2026-06-29T03:44:57Z
REQ-CLICK-03AC-CLICK-204-2`CliRunner.isolated_filesystem()` emits a DeprecationWarning, and the testing docs show the temporary-directory replacement.TASK-CLICK-2042donepallets/clickc2ed41490baa08002714ab79afa4a41f2d67c02c2026-07-20T12:16:06Z3704Deprecate `isolated_filesystem` and document its limits2026-07-20T17:43:21ZAPPROVEDSofia Reyes2026-07-14T21:59:53Z