Skip to content

Resolve Nds4j from Maven Central instead of building it in CI - #9

Merged
turtleisaac merged 1 commit into
mainfrom
claude/pokeditor-bug-deep-dive-9mm03b
Aug 27, 2026
Merged

turtleisaac merged 1 commit into
mainfrom
claude/pokeditor-bug-deep-dive-9mm03b

Conversation

@turtleisaac

Copy link
Copy Markdown
Owner

Nds4j 1.0.0 is on Maven Central and this module pins that exact version, so the three CI steps that resolved a branch name, cloned Nds4j and installed it from source no longer affect what the build resolves.

Since Nds4j's main moved on, those steps are worse than redundant: each run cloned a repository and ran a full build to install a coordinate nothing here asks for, and the resulting jar was then ignored. Removing them also means CI tests against the same artifact anyone depending on this library downloads, rather than a locally built one that could quietly differ from the published 1.0.0.

What is lost

The branch matching those steps performed is genuinely gone: a change spanning this repository and Nds4j can no longer be exercised together in CI. That trade is deliberate. Picking up new Nds4j behaviour now means bumping the version pin here, which is a reviewable line in a diff rather than an implicit consequence of a branch name — and full-stack testing is better served by a local checkout of all four repositories, where a sibling snapshot can be mvn installed and the exact combination about to ship gets exercised.

Verification

Built with -Dmaven.repo.local pointed at an empty directory, so nothing could resolve from a previously installed jar:

  • Nds4j-1.0.0.jar was downloaded, and _remote.repositories records Nds4j-1.0.0.jar>central= — it came from Central, not from a local install.
  • Suite passed: 42 tests, 11 skipped for want of a ROM.
  • CI is green on the runner, and the run took 21s against 28s for the previous one on this workflow.

Generated by Claude Code

Nds4j 1.0.0 is published to Central and this module pins that exact
version, so the three steps that resolved a branch, cloned Nds4j and
installed it from source no longer affect what the build resolves.
Since Nds4j's main branch moved to 1.1.0-SNAPSHOT they are worse than
redundant: each run cloned a repository and ran a full build to install
a coordinate nothing here asks for, and the resulting jar was ignored.

Removing them also means CI now tests against the same artifact anyone
depending on this library downloads, rather than a locally built one
that could quietly differ from the published 1.0.0.

The branch matching those steps performed is genuinely lost: a change
spanning this repository and Nds4j can no longer be exercised together
in CI. That trade is deliberate. Picking up new Nds4j behaviour now
means bumping the version pin here, which is a reviewable line in a
diff rather than an implicit consequence of a branch name.

Verified by building with -Dmaven.repo.local pointed at an empty
directory: Nds4j 1.0.0 was downloaded from Central (confirmed by the
central marker in _remote.repositories) and the suite passed, 42 tests
with 11 skipped for want of a ROM.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RqYGZhtVb8KrPA9ftp5bob
@turtleisaac
turtleisaac merged commit 7ba97bd into main Aug 27, 2026
2 checks passed
@turtleisaac
turtleisaac deleted the claude/pokeditor-bug-deep-dive-9mm03b branch August 27, 2026 21:44
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.

2 participants