Skip to content

Fix image inherits in Makefile - #989

Open
leighmcculloch wants to merge 2 commits into
mainfrom
resolve-inherits-in-makefile
Open

leighmcculloch wants to merge 2 commits into
mainfrom
resolve-inherits-in-makefile

Conversation

@leighmcculloch

Copy link
Copy Markdown
Member

What

Resolve image inherits before the Makefile selects the image for TAG, as CI already does.

Why

Local builds never resolved inherit, so an inheriting image got only its own deps and config, or an empty .image.json if it had no deps of its own. When inherits functionality was added we added it to CI, but not to the Makefile for local development.

Copilot AI lite review requested due to automatic review settings September 29, 2026 04:01
@leighmcculloch
leighmcculloch requested a review from a team September 29, 2026 04:01
@leighmcculloch leighmcculloch changed the title Resolve image inherits in Makefile Fix image inherits in Makefile Sep 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Fix tag-sensitive metadata regeneration and propagate inheritance resolver failures.

Review effort: Lite
Findings: 1 High severity

Open (1)
What changed in this PR

Updates the Makefile to resolve inherited image configuration before selecting TAG, matching CI behavior.

Changes:

  • Adds inheritance resolution to local image generation.
  • Applies extras after selecting the requested image.
File Description
Makefile Resolves inherited image definitions before extracting build configuration.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Makefile
@leighmcculloch
leighmcculloch enabled auto-merge (squash) September 29, 2026 04:07

@mootz12 mootz12 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

One comment in-line.

Comment thread Makefile
Copilot AI lite review requested due to automatic review settings September 30, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog (Not Ready)

Development

Successfully merging this pull request may close these issues.

3 participants