Skip to content

docs: group technical reports into minor-version folders - #3506

Merged
inureyes merged 1 commit into
mainfrom
docs/technical-reports-version-folders
Nov 28, 2026
Merged

inureyes merged 1 commit into
mainfrom
docs/technical-reports-version-folders

Conversation

@inureyes

Copy link
Copy Markdown
Member

TECHNICAL_REPORTS/ had grown to 1,460 files in one flat directory. Reports now live under TECHNICAL_REPORTS/<MAJOR>.<MINOR>/, split at the minor version only, so every patch release and pre-release of a line shares a folder (0.8.0-beta.1, 0.8.0 and 0.8.1 all map to 0.8/). This follows the layout lablup/backend.ai-go uses.

  • Placement: the first release tag containing each PR's merge commit, or the current Cargo.toml line for unreleased PRs. The 48 reports keyed by an issue number were placed by their filename date against tag dates. Result: 0.5 (94), 0.6 (30), 0.7 (184), 0.8 (802), 0.9 (350). GitHub milestones stop at 0.5, so they could not be used.
  • TECHNICAL_REPORTS/README.md records the layout and the filing rule: a new report goes into the MAJOR.MINOR of the root Cargo.toml version on the base branch. Because 0.X.Y belongs to 0.X, that value is right at every point of the release cycle, so there is no hand-maintained "current folder" pointer to move at release time.
  • Report paths quoted in other reports and in docs/mlxcelverse/rocm-overlay.md now include the folder; relative links out of moved reports gained one ../. A link check over all moved reports finds only one pre-existing broken target (webui/tests/screenshots/README.md, which never existed).
  • scripts/ci/check_technical_reports_layout.py fails CI when a tracked report sits at the root, in a non-version folder, or in a folder newer than the Cargo.toml line. It runs with a self-test in the windows-reserved-paths job (no toolchain, not behind the changes filter).

Validation: the layout check and its self-test pass locally. No Rust code changed.

TECHNICAL_REPORTS/ had grown to 1,460 files in one flat directory. Reports now live under TECHNICAL_REPORTS/<MAJOR>.<MINOR>/, split at the minor version only, so every patch release and pre-release of a line shares a folder (0.8.0-beta.1, 0.8.0 and 0.8.1 all map to 0.8/). This follows the layout lablup/backend.ai-go uses.

Each existing report was placed by the first release tag containing its PR's merge commit, or the current Cargo.toml line when the PR is unreleased. The 48 reports keyed by an issue number were placed by the date in their filename against the tag dates. Result: 0.5 (94), 0.6 (30), 0.7 (184), 0.8 (802), 0.9 (350).

TECHNICAL_REPORTS/README.md records the layout and the filing rule for new reports: the folder is the MAJOR.MINOR of the root Cargo.toml version on the base branch. Report paths quoted inside other reports and in docs/mlxcelverse/rocm-overlay.md now include the folder, and relative links out of the moved reports gained one more ../ level.

scripts/ci/check_technical_reports_layout.py fails CI when a tracked report sits at the root, in a folder that is not a MAJOR.MINOR version, or in a folder newer than the Cargo.toml line. It runs with a self-test in the windows-reserved-paths job, which already guards tracked path names without the changes filter.
@inureyes inureyes added status:review Under review type:docs Documentation improvements or additions priority:low Low priority labels Nov 28, 2026
@inureyes
inureyes merged commit 7ab71f9 into main Nov 28, 2026
33 checks passed
@inureyes
inureyes deleted the docs/technical-reports-version-folders branch November 28, 2026 10:15
inureyes added a commit that referenced this pull request Nov 28, 2026
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 added a commit that referenced this pull request 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 added a commit that referenced this pull request Nov 28, 2026
* docs(reports): generate an index for TECHNICAL_REPORTS

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

* docs: move the PR #3404 report into the 0.9 folder

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 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.

1 participant