Skip to content

Re-pin factoriotools/factorio:2.1.23 to its rebuilt digest - #502

Merged
wormeyman merged 1 commit into
mainfrom
repin-factorio-2.1.23-digest
Nov 1, 2026
Merged

wormeyman merged 1 commit into
mainfrom
repin-factorio-2.1.23-digest

Conversation

@wormeyman

@wormeyman wormeyman commented Nov 1, 2026 •

Copy link
Copy Markdown
Collaborator

The preview:test check "the pinned digest really is that tag's digest" fails on main today. Upstream moved the 2.1.23 tag.

What moved

factorio-docker's auto-update job rebuilt its tags on 2026-10-27 at 16:20 UTC, when 2.1.24 reached experimental (commit 8ba88d12c). The 2.1.23 tag moved:

old pin new pin
digest sha256:74f41f94... sha256:1e177333...
image created (amd64) 2026-10-23 14:51 UTC 2026-10-27 16:23 UTC
factorio.version label 2.1.23 2.1.23
SHA256 of the Factorio download 4633250f... 4633250f... (same)
layers shared, per platform 1 of 7

So the game inside is the same build. The image around it was rebuilt. This was checked through the registry API, not by pulling the image.

Checked

  • pnpm run verify passes in full: 1,327 app tests, preview:test 14 of 14 container and 27 of 27 worker tests, and verify:rust.
  • Nothing builds this image in CI, so the Dockerfile's own factorio --version assertion did not run here. The image is a local tool only and is not deployed.

This unblocks the #492 branch, whose verify fails on the same check.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Kd6o1Z1SyHWnAVybcR6bLE

Summary by CodeRabbit

  • Chores
    • Updated the container image used by the preview service. The Factorio version remains unchanged, and no end-user-facing behavior changes are noted.

Upstream's auto-update job rebuilt every tag on 2026-10-27 when 2.1.24
reached experimental (factorio-docker 8ba88d12c, 16:20 UTC), so the
2.1.23 tag moved from sha256:74f41f94... to sha256:1e177333....
dockerfile.test.mjs then failed "the pinned digest really is that tag's
digest" in preview:test, on main as well as on branches.

The game inside is unchanged: both images carry factorio.version 2.1.23,
VERSION=2.1.23 and the same SHA256 for the Factorio download. Only the
image layers around it differ (1 of 7 shared per platform).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Kd6o1Z1SyHWnAVybcR6bLE
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b1860cfa-1245-4306-986d-4f99309daed5
Commits

Reviewing files that changed from the base of the PR and between 912b81f and 8643761.

Files selected for processing: 1
  • preview-service/container/Dockerfile

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

The Dockerfile updates the pinned digest for the Factorio base image. The 2.1.23 tag remains unchanged.

Changes: Factorio base image

Layer / File(s) Summary
Update the pinned image digest
preview-service/container/Dockerfile
The Factorio base image digest changes. The 2.1.23 tag remains unchanged.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related issues

  • Issue #58 tracks the same Factorio 2.1.23 digest update applied here.
  • Issue #492 describes a pinned-digest verification failure on its branch; this update supplies the digest for that verification.

Possibly related PRs

Merge Risk: Minimal · up to 86437

No merge-blocking issue is identified in this digest-only update. Normal image validation remains appropriate before use.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: updating the pinned Factorio image digest while retaining tag 2.1.23.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@claude

claude Bot commented Nov 1, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

@wormeyman
wormeyman merged commit 3f322ee into main Nov 1, 2026
17 checks passed
@wormeyman
wormeyman deleted the repin-factorio-2.1.23-digest branch November 1, 2026 17:50
wormeyman added a commit that referenced this pull request Nov 1, 2026
… it (#504)

The registry test asserted that factoriotools/factorio:<tag> still
resolves to the pinned digest. factoriotools rebuilds tags: their
auto-update job rebuilt 2.1.23 on 2026-10-27 with the same Factorio
download inside, and verify went red on main and every branch until
#502 re-pinned.

The test now asks the registry for the PINNED digest itself and asserts
its linux/amd64 image config carries the FROM tag in the
factorio.version label and in VERSION. A digest the registry does not
know fails, and so does one that is another version; a network error
still skips. Planted pins, each run against the live registry:
- the old 2.1.23 digest (74f41f94..., the pre-rebuild image): passes
- 2.1.22's digest under the 2.1.23 tag: fails, "labelled 2.1.22"
- an all-zero digest: fails, "not a real image"


Claude-Session: https://claude.ai/code/session_01Kd6o1Z1SyHWnAVybcR6bLE

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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