Repository navigation
docs(reports): index released technical report lines - #2689
Merged
Merged
Conversation
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
force-pushed
the
docs/issue-1708-technical-reports-index
branch
from
November 2, 2026 17:28
b92372f to
773f511
Compare
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.
…ical-reports-index
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.pywritesTECHNICAL_REPORTS/<X.Y>/README.mdfor every line older than the rootCargo.tomlversion: one row per report, newest number first, with a PR link, the H1 title minus theTechnical Report: PR #N -boilerplate, the date (file-name suffix, else the headerDate/Updatedline) and en/ko links. A missing language shows as-..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-currentshows it on demand.--checkfails when a released line's index is stale or missing, and when the current line has a committed one.tests/test_gen_reports_index.pycovers both, plus the version-bump case, and runs in the existingpython-toolingCI job.make bump-versionregenerates the indexes, because a new minor line turns the previous one into a released line.TECHNICAL_REPORTS/README.mdanddocs/README.mddescribe the index;make verify-report-layoutwraps 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-layoutand the license-header check. No Rust changes.