Skip to content

docs(reports): index released technical report lines - #2689

Merged
inureyes merged 4 commits into
mainfrom
docs/issue-1708-technical-reports-index
Nov 28, 2026
Merged

inureyes merged 4 commits into
mainfrom
docs/issue-1708-technical-reports-index

Conversation

@inureyes

@inureyes inureyes commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Closes #1708

TECHNICAL_REPORTS/ now has one folder per minor release line (#3506) and 730 en/ko report pairs. This PR adds a generated index by PR number for each released line, and keeps the line under development out of git on purpose.

  • scripts/ci/gen_reports_index.py writes TECHNICAL_REPORTS/<X.Y>/README.md for every line older than the root Cargo.toml version: one row per report, newest number first, with a PR link, the H1 title minus the Technical Report: PR #N - boilerplate, the date (file-name suffix, else the header Date/Updated line) and en/ko links. A missing language shows as -.
  • The current line (0.9) gets no committed index. With .keep-reports, every merged PR commits its own report, so an index of that folder would be one file every open PR rewrites at the same spot, and concurrent PRs would conflict on it in turn (lablup/backend.ai-go dropped its tracked report table for this reason). --print / make reports-index-current shows it on demand.
  • --check fails when a released line's index is stale or missing, and when the current line has a committed one. tests/test_gen_reports_index.py covers both, plus the version-bump case, and runs in the existing python-tooling CI job. make bump-version regenerates the indexes, because a new minor line turns the previous one into a released line.
  • TECHNICAL_REPORTS/README.md and docs/README.md describe the index; make verify-report-layout wraps the layout check from docs: group technical reports into minor-version folders #3506.

Indexes written: 0.5 (47), 0.6 (15), 0.7 (92), 0.8 (401); 0.9 prints 175.

Validation: the Python tooling suite passes on Python 3.12 (270 tests), and so do make verify-reports-index, make verify-report-layout and the license-header check. No Rust changes.

@inureyes inureyes added type:docs Documentation improvements or additions priority:low Low priority status:review Under review labels Oct 27, 2026
TECHNICAL_REPORTS/ held 980 files (490 en/ko pairs) with no index and no inbound link, so a report could not be found or mapped to its PR. A hand-kept table would drift on the next report, so the index is generated.

- scripts/ci/gen_reports_index.py writes TECHNICAL_REPORTS/README.md: one row per report stem, newest number first, with the PR link, the cleaned H1 title, the date (file-name suffix, else the header Date/Updated line) and en/ko links. --check exits 1 when the committed index is stale.
- tests/test_gen_reports_index.py covers the stale cases (new report, retitled report, hand edit, missing index), unpaired and pipe-bearing titles, and asserts the committed index is current and links every report file. It runs in verify-python-tooling and CI's python-tooling job, so a report PR that skips `make reports-index` fails there.
- Makefile gains reports-index and verify-reports-index; docs/README.md points at the directory.

TECHNICAL_REPORTS/ is gitignored, so the README is force-added like the reports.

Closes #1708
@inureyes
inureyes force-pushed the docs/issue-1708-technical-reports-index branch from b92372f to 773f511 Compare November 2, 2026 17:28
Merge main, which moved TECHNICAL_REPORTS/ into one folder per minor release line (#3506), and rework the generated index to fit it.

A single generated TECHNICAL_REPORTS/README.md would no longer hold: that file now documents the layout, and with .keep-reports every merged PR commits its own report, so a committed index of the line under development would be rewritten by every open PR at the same spot. The generator now writes <X.Y>/README.md only for released lines, which no longer receive reports. The current line has no committed index; --print (make reports-index-current) shows it. --check fails on a stale or missing released index and on a committed index for the current line. make bump-version regenerates the indexes, since a new minor line turns the previous one into a released line.

Validation: python tooling suite passes on Python 3.12 (270 tests, 16 in test_gen_reports_index.py), plus verify-reports-index, verify-report-layout and the license-header check.
@inureyes inureyes changed the title docs(reports): generate an index for TECHNICAL_REPORTS docs(reports): index released technical report lines Nov 28, 2026
PR #3404 merged after the folder split (#3506) and filed its report at the TECHNICAL_REPORTS/ root, which the layout check now rejects on main.
@inureyes
inureyes merged commit d3e76c9 into main Nov 28, 2026
32 of 33 checks passed
@inureyes
inureyes deleted the docs/issue-1708-technical-reports-index branch November 28, 2026 10:46
@inureyes inureyes added this to the 0.9 milestone Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:low Low priority status:review Under review type:docs Documentation improvements or additions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(reports): add an index README for the 308-file TECHNICAL_REPORTS directory

1 participant