GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: allow Updatecli manifest dependson by olblak · Pull Request #8437 · updatecli/updatecli

Conversation

@olblak

@olblak olblak commented Apr 15, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Fix #8436

Introduce two parameters:

  • id that store a unique manifest id.
  • dependson similar to the dependson the resource which allows to reference id to define ordering.

Please note that id don't need to be unique so an id specified in an autodiscovery configuration will be herited to any generated manifest by the autodiscovery configuration.

Test

To test this pull request, you can run the following commands:

cd pkg/core/engine
go test

Additional Information

Checklist

  • I have updated the documentation via pull request in website repository.

Tradeoff

Potential improvement

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

macedogm reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@olblak
feat: allow Updatecli manifest dependson
a43173d
Signed-off-by: Olblak <[email protected]>
@olblak olblak added enhancement New feature or request core All things related to Updatecli core engine labels Apr 15, 2026
github-advanced-security[bot]
github-advanced-security Bot found potential problems Apr 15, 2026
View reviewed changes
Comment thread pkg/core/engine/autodiscovery.go Fixed

Uh oh!

There was an error while loading. Please reload this page.

@olblak
fix: generate manifest id based on sanitize data
4e0ada9
Signed-off-by: Olblak <[email protected]>
@olblak
olblak requested a review from Copilot April 15, 2026 08:59
Copilot started reviewing on behalf of olblak April 15, 2026 09:00
View session
olblak added 2 commits April 15, 2026 11:05
@olblak
fix: remove left over function
bc7c792
Signed-off-by: Olblak <[email protected]>
@olblak
fix: ignore gosec errors in test
397fcc9
Signed-off-by: Olblak <[email protected]>
Copilot AI reviewed Apr 15, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Pull request overview

Adds manifest-level dependency ordering to the engine so pipelines can be executed in a deterministic order based on a new manifest id and dependson relationship (including propagation/inheritance for autodiscovery-generated manifests).

Changes:

  • Introduces Engine.OrderPipelines() (topological sort with stable sibling ordering) and runs it during Engine.Prepare().
  • Extends config model with internal ManifestID plus user-facing dependency fields (Spec.ID, Spec.DependsOn), and seeds ManifestID during config load.
  • Ensures autodiscovery-generated manifests get deterministic internal manifest IDs and inherit id/dependson; adds tests for ordering + fingerprinting behavior.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
pkg/core/engine/prepare.go Calls the new ordering phase during engine preparation with telemetry.
pkg/core/engine/order.go Implements manifest dependency resolution + pipeline reordering logic.
pkg/core/engine/order_test.go Adds unit tests for ordering behavior, error cases, and dependency merging.
pkg/core/engine/autodiscovery.go Propagates id/dependson to discovered manifests and assigns stable internal manifest IDs via fingerprinting.
pkg/core/engine/autodiscovery_test.go Verifies autodiscovery fingerprinting is stable and ignores secrets.
pkg/core/config/main.go Adds internal manifestID + dependency helpers and seeds manifest IDs in New().
pkg/core/config/main_test.go Adds tests ensuring id/dependson parse correctly and internal manifest IDs are generated.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pkg/core/engine/order.go Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread pkg/core/config/main.go Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread pkg/core/engine/order.go Resolved

Uh oh!

There was an error while loading. Please reload this page.

@olblak
fix: remove unneeded param
948be9c
Signed-off-by: Olblak <[email protected]>
@olblak
olblak requested a review from Copilot April 15, 2026 10:24
Copilot started reviewing on behalf of olblak April 15, 2026 10:24
View session
Copilot AI reviewed Apr 15, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread pkg/core/config/main.go Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread pkg/core/engine/autodiscovery.go Resolved

Uh oh!

There was an error while loading. Please reload this page.

olblak added 2 commits April 17, 2026 15:13
@olblak
Merge branch 'main' into issue/8436
4cbb230
@olblak
Merge branch 'main' into issue/8436
39c2691
@olblak
olblak merged commit 0e30852 into updatecli:main Apr 24, 2026
7 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@olblak

olblak commented May 1, 2026

Copy link
Copy Markdown
Member Author

The commits from this pull request were accidentally merged from #8472 using automerge

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@olblak olblak mentioned this pull request May 12, 2026
docs: document manifest ordering updatecli/website#3088
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
+1 more reviewer
@github-advanced-security github-advanced-security[bot] github-advanced-security[bot] left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

core All things related to Updatecli core engine enhancement New feature or request

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Feature Request: Pipeline manifest ordering

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@olblak @github-advanced-security
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.