⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Conversation

@lucataco
Copy link
Contributor

When pushing to r8.im/*, commit 2ad2c7f introduced temporary image naming to fix OrbStack compatibility, but missed updating three function calls that run containers to extract metadata:

  • GenerateOpenAPISchema
  • GeneratePipFreeze
  • GenerateModelDependencies

These functions were still using the original imageName (e.g., r8.im/replicate/model-test) instead of tmpImageId (cog-tmp:), causing 'No such image' errors during the 'Validating model schema' step.

This fix ensures all three functions use the temporary image ID that was actually built by Docker.

When pushing to r8.im/*, commit 2ad2c7f introduced temporary image naming
to fix OrbStack compatibility, but missed updating three function calls that
run containers to extract metadata:

- GenerateOpenAPISchema
- GeneratePipFreeze
- GenerateModelDependencies

These functions were still using the original imageName (e.g.,
r8.im/replicate/model-test) instead of tmpImageId (cog-tmp:<hash>),
causing 'No such image' errors during the 'Validating model schema' step.

This fix ensures all three functions use the temporary image ID that was
actually built by Docker.
@lucataco lucataco requested a review from a team as a code owner January 29, 2026 22:41
Copy link

@gandalfhz-cf gandalfhz-cf left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@NikhilSinha1 NikhilSinha1 left a comment

Choose a reason for hiding this comment

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

Yeah I see, this makes sense

@lucataco lucataco merged commit da2de8f into main Jan 29, 2026
32 checks passed
@lucataco lucataco deleted the fix/use-tmp-image-for-schema-validation branch January 29, 2026 23:07
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.

4 participants