Skip to content

fix(ci): drop removed default_image kwarg from dogfood pipeline#147

Merged
markovejnovic merged 1 commit into
mainfrom
fix/ci-drop-default-image
Jun 13, 2026
Merged

fix(ci): drop removed default_image kwarg from dogfood pipeline#147
markovejnovic merged 1 commit into
mainfrom
fix/ci-drop-default-image

Conversation

@markovejnovic

Copy link
Copy Markdown
Contributor

Problem

Every ci build in prod fails at render time:

render failed (exit 1): rendering pipeline "ci": python3 exited with code 1
...
TypeError: pipeline() got an unexpected keyword argument 'default_image'

The @hm.pipeline decorator form no longer accepts default_image (only the factory form ever did, and root steps now auto-stamp ubuntu:24.04). But the committed .hm/ci.py still passed default_image="ubuntu:24.04". Since prod renders pipelines server-side against its baked DSL, the stale kwarg blows up with a raw Python traceback and the whole build is marked render_failed.

Fix

Drop the kwarg. The :apt: base root auto-stamps ubuntu:24.04, so build behavior is unchanged.

Verified via dump_registry_json() — root :apt: base renders with image=ubuntu:24.04; children inherit through the snapshot-fork lineage (image=None, as before).

 .hm/ci.py | 1 -
 1 file changed, 1 deletion(-)

The `@hm.pipeline` decorator no longer accepts `default_image` — root
steps auto-stamp `ubuntu:24.04`. The committed `.hm/ci.py` still passed
it, so prod's server-side render rejected it:

    TypeError: pipeline() got an unexpected keyword argument 'default_image'

failing every `ci` build at render time (`render_failed`, exit 1).

Remove the kwarg. The `:apt: base` root now auto-stamps `ubuntu:24.04`
(verified via dump_registry_json), so build behavior is unchanged.
@markovejnovic markovejnovic merged commit 5963037 into main Jun 13, 2026
16 of 17 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.

1 participant