Skip to content

MILAB-6714: drop private from gpu-info software package - #6

Merged
xnacly merged 1 commit into
mainfrom
MILAB-6714_software-not-private
Aug 11, 2026
Merged

MILAB-6714: drop private from gpu-info software package#6
xnacly merged 1 commit into
mainfrom
MILAB-6714_software-not-private

Conversation

@xnacly

@xnacly xnacly commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Problem

The block published on 2026-07-27 references a docker image that was never uploaded. quay.io/milaboratories/pl-containers:platforma-open.milaboratories.gpu-test.gpu-info.main.c79fc91ff0c4 does not exist; the June image (...1c637624b078) does. Any run of the block fails when the backend pulls it.

Cause

"private": true on software/gpu-info/package.json. pl-pkg gates docker auto-push on !isPrivate, so CI built the image, wrote the entrypoint descriptor pointing at its tag, and skipped the push. The build reported success.

CI logs for the merge run confirm it: Building docker images... / Docker image is built: with zero occurrences of Publishing docker images.... The June run has both.

The flag arrived in f49dae5 via a structure refresh run against a local block-tools build (the file:/Users/.../block-tools/package.tgz override committed in that same commit and removed in 58f0308). That build predated the structurer fix in @platforma-sdk/block-tools@2.11.6, which stopped emitting private on software packages and now strips it on refresh.

Change

Remove the field, plus a patch changeset so the block republishes.

Not included

This block's .structure is still {"version":1}. A full structure refresh with current block-tools would strip private too, but would also migrate to v2: build script to block-tools software build, drop prepublishOnly, swap the @platforma-sdk/package-builder devDep. Kept separate so this stays a minimal unblock.

Verification

After merge, the main build should log Publishing docker images... and the new tag should resolve in the registry.

Ticket: MILAB-6714

Greptile Summary

The PR removes the private package flag that prevented pl-pkg from pushing the GPU information Docker image and adds a patch changeset to trigger republication.

  • private: A package-manifest flag that suppresses publication; removed from the GPU information software package so Docker auto-push is enabled.
  • gpu-info: The software package that detects GPUs and reports their details; its source is unchanged, but its package publication status changes.
  • pl-pkg: The Platforma package-building tool whose Docker auto-push behavior is gated by the package's private status; this PR enables its publishing path.
  • changeset: Release metadata describing the package and semantic-version increment; a patch entry is added so a corrected artifact is released.
  • Docker image: The runtime container referenced by the block entrypoint; the change is intended to ensure newly referenced images are uploaded and available.

Confidence Score: 5/5

The PR appears safe to merge, with no concrete blocking or non-blocking defects identified in the two focused metadata changes.

The package identifier in the changeset matches the modified workspace package, and removing the publication guard directly addresses the documented skipped Docker push without exposing an existing npm publication path.

Important Files Changed

Filename Overview
software/gpu-info/package.json Removes private: true so the existing software-package tooling can publish the generated Docker image.
.changeset/gpu-info-not-private.md Adds a correctly targeted patch changeset documenting and triggering republication of the GPU information package.

Reviews (1): Last reviewed commit: "MILAB-6714: drop private from gpu-info s..." | Re-trigger Greptile

pl-pkg gates docker auto-push on !isPrivate, so CI built the image and
wrote the entrypoint descriptor pointing at its tag, then skipped the
push. The published block 404s pulling that image at runtime.

The flag was written by a structure refresh run against a local
block-tools build predating the fix in @platforma-sdk/block-tools
(structurer now does removeField("private") for software packages).
@xnacly
xnacly force-pushed the MILAB-6714_software-not-private branch from c9effaf to d36a970 Compare August 11, 2026 11:23
@xnacly
xnacly merged commit 56e0579 into main Aug 11, 2026
11 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.

2 participants