Skip to content

ci: install the nnnotes release named in .github/nnnotes.txt - #24

Merged
nichinichisou0609 merged 3 commits into
mainfrom
ci/install-released-nnnotes
Oct 14, 2026
Merged

nichinichisou0609 merged 3 commits into
mainfrom
ci/install-released-nnnotes

Conversation

@nichinichisou0609

@nichinichisou0609 nichinichisou0609 commented Oct 13, 2026 •

Copy link
Copy Markdown

The publishing workflows install nnnotes from PyPI (.github/nnnotes.txt: nnnotes[deck,fonts]==0.2.1) instead of building the checkout and its Rust extension.

  • music_data.py: a build's inputs name nnnotesVersion (the installed nnnotes) and deckCommit (the installed ournotes-sim release); the engines come from that release; the schema gate uses nnnotes.schemas.load("music-data"). No git history, rust/Cargo.lock or src/ reads remain.
  • music-data-region.yml: no PYTHONPATH: src; the plan job installs nnnotes (no fetch-depth: 0); the build job installs it before the JP network check, which imports it.
  • story-site-region.yml: installs the same release; no Rust cache.
  • ci.yml: a workflows job runs the songs page smoke and .github/scripts tests with the pinned release.
  • MUSIC_DATA.md, STORY_SITE.md: raising .github/nnnotes.txt replaces syncing the fork.
  • music-data-prebuilt.yml, prebuilt_publish.py, prebuilt_publish_download.py and their tests are removed: the scheduled music-data.yml builds and publishes each region itself with the native statistics cache. songs-page.yml keeps the scripts it shares (prebuilt_publish_smoke.mjs, prebuilt_publish_page.py).

The first run after this change rebuilds, since the inputs now carry nnnotesVersion.

Locally the .github/scripts tests pass (330) with nnnotes[deck,fonts]==0.2.1 installed from PyPI (deck model ournotes-deck 0.0.8).

Dry run (run 38433788453, force, both regions), compared with the published files:

  • JP: every chart identical; only provenance.deck (0.0.8), provenance.exporter.version (0.2.1) and the replay engines differ.
  • TW: every chart identical except the three charts of song 100032 (10003200–10003202), whose chart assets changed in the current TW client data; 10003201 and 10003202 now have one judged note fewer than their score rows' full combo count and are measured on their own notes. The rest is provenance (deck, exporter, master version, catalog).
  • build.json inputs name nnnotesVersion: 0.2.1 and the deckCommit of ournotes-deck 0.0.8.

nichinichisou0609 and others added 3 commits October 13, 2026 21:46
The publishing workflows install nnnotes from PyPI, the release that
.github/nnnotes.txt names with its extras deck and fonts, instead of
building the checkout and its Rust extension.

- A music data build's inputs name the installed nnnotes version
  (nnnotesVersion) and the ournotes-deck commit of the installed
  ournotes-sim release; the engines are downloaded from that release,
  and the schema gate uses the schema the installed nnnotes ships.
- The plan job installs nnnotes and needs no git history; the build
  job installs it before the JP network check, which imports it.
- CI tests the publishing scripts in their own job, with the release
  they install.
- MUSIC_DATA.md and STORY_SITE.md describe raising the pinned release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The scheduled music-data workflow builds and publishes each region's chart
statistics itself, with the native statistics cache and the installed deck
model release. The separate workflow that published an externally built
bundle, its upload and download helpers and their tests are removed.

The songs page workflow keeps the page smoke test and page assembly scripts
it shares (prebuilt_publish_smoke.mjs, prebuilt_publish_page.py).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nnnotes 0.2.1 pins the deck model of ournotes-deck 0.0.8, which measures
a chart on its own notes when its score row's full combo count differs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nichinichisou0609
nichinichisou0609 marked this pull request as ready for review October 13, 2026 18:32
@nichinichisou0609
nichinichisou0609 merged commit 24698d9 into main Oct 14, 2026
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant