Skip to content

[codex] update latest stable deps and ci#51

Merged
KevinTCoughlin merged 2 commits into
mainfrom
codex/update-latest-stable-deps-and-ci
Jun 13, 2026
Merged

[codex] update latest stable deps and ci#51
KevinTCoughlin merged 2 commits into
mainfrom
codex/update-latest-stable-deps-and-ci

Conversation

@KevinTCoughlin

Copy link
Copy Markdown
Owner

Summary

  • update Go module/toolchain versions and refresh Go dependency metadata
  • refresh pinned GitHub Action SHAs and related CI/container workflow versions
  • update container base image digests and make Paper latest resolve to the newest stable release instead of RCs
  • sync contributor/user docs with the new supported Go versions
  • normalize an existing gofumpt formatting issue in internal/console/commands_test.go

Why

The repo was slightly behind on stable Go patch levels, workflow pins, and container base digests. During validation, the container build also exposed that Paper's API now returns a release candidate ahead of the stable line for latest, which broke bundled plugin startup during the image warmup boot. This change keeps the repo current while preserving the existing dual-Go support model and makes container builds prefer stable Paper releases.

Validation

  • go mod tidy
  • go build ./cmd/mc-dad-server/
  • go test -race ./...
  • go vet ./...
  • go run github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.11.4 run
  • parsed GitHub workflow YAML files locally
  • docker build -f Containerfile -t mc-dad-server:test .

Notes

The container image now builds successfully against the stable Paper line (26.1.2 at validation time) instead of incorrectly selecting 26.2-rc-2. AppCDS warmup still falls back without producing the archive in this environment, but the build completes and the RC-related plugin startup regression is resolved.

@KevinTCoughlin KevinTCoughlin requested a review from Copilot June 13, 2026 02:40
@KevinTCoughlin KevinTCoughlin marked this pull request as ready for review June 13, 2026 02:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the project’s pinned toolchain/dependencies and CI/container infrastructure to track the latest stable Go patch releases and refreshed workflow/image digests, and adjusts the container’s Paper “latest” resolution to prefer stable releases.

Changes:

  • Bump Go toolchain/module patch versions and refresh Go dependency metadata (go.mod / go.sum).
  • Refresh pinned GitHub Actions SHAs across CI/container/nightly workflows.
  • Update container base image digests and adjust Paper “latest” selection logic in the container build to avoid RC/previews; sync contributor/user docs accordingly.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
README.md Updates documented preferred/minimum Go versions to match the bumped toolchain.
CONTRIBUTING.md Syncs contributor prerequisites table and Codespaces note to new Go versions.
go.mod Bumps go + toolchain patch versions and updates a few dependency versions.
go.sum Refreshes sums to align with the updated module versions.
internal/console/commands_test.go Normalizes formatting by removing a stray trailing line.
Containerfile Updates base image digests and changes how MC_VERSION=latest resolves Paper to prefer stable versions.
.github/workflows/nightly.yml Refreshes pinned action SHAs (checkout, goreleaser action).
.github/workflows/container.yml Refreshes pinned action SHAs for build/push, metadata, login, QEMU/Buildx, and SARIF upload.
.github/workflows/ci.yml Refreshes pinned action SHAs and updates Go version matrix to the new patch levels.

Comment thread Containerfile
Comment on lines 101 to +105
if [ "$MC_VER" = "latest" ] || [ -z "$MC_VER" ]; then \
MC_VER=$(curl -fsSL -H "User-Agent: ${UA}" \
"https://fill.papermc.io/v3/projects/paper/versions" \
| jq -r '.versions[0].version.id'); \
| jq -r '[.versions[].version.id | select(test("^[0-9]+(\\.[0-9]+){1,2}$"))][0]'); \
[ -n "$MC_VER" ] && [ "$MC_VER" != "null" ] || \

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot Address

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implemented in 872bf01: the CLI paperLatestVersion path now skips RC/pre-release IDs and selects the newest stable version, matching the container behavior. I also added tests covering an RC-first versions list and the no-stable-version error case.

@KevinTCoughlin KevinTCoughlin merged commit f53d7ea into main Jun 13, 2026
@KevinTCoughlin KevinTCoughlin deleted the codex/update-latest-stable-deps-and-ci branch June 13, 2026 15:24
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.

3 participants