Skip to content

Remove redundant Docker image tagging#60

Merged
chorrell merged 1 commit intomainfrom
remove-redundant-image-tagging
Feb 10, 2026
Merged

Remove redundant Docker image tagging#60
chorrell merged 1 commit intomainfrom
remove-redundant-image-tagging

Conversation

@chorrell
Copy link
Owner

Summary

Removes unused Docker image tagging operation that was never referenced anywhere in the codebase.

Changes

Removed this line from create_image:

@image.tag("repo" => "node", "tag" => "#{version}", "force" => true)

Analysis

  • The tag node:20 and node:22 were created but never used
  • Tests reference images via @image.id directly
  • No other code references these tags
  • Searched entire codebase - zero references to the tag names

Benefits

Cleaner code - Removes unused operations
Slightly faster - Avoids unnecessary tagging overhead
Less confusing - Clearer that tags aren't needed

Testing

✅ All tests pass successfully without the tagging
✅ Verified both Node.js 20 and 22 test suites work
✅ Parallel execution still functions correctly
✅ Image cleanup works as expected

The image tagging operation was never used anywhere in the codebase.
Tests reference the image via @image.id directly, not by the tag name.

Benefits:
- Slightly faster image builds (no tagging overhead)
- Cleaner code without unused operations
- Reduces confusion about whether tags are needed

All tests pass successfully without the tagging operation.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
@chorrell chorrell merged commit 096ce0f into main Feb 10, 2026
1 check passed
@chorrell chorrell deleted the remove-redundant-image-tagging branch February 10, 2026 22:43
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