feat: Report execution outcome #151

Merged
johnride merged 5 commits from report-execution-outcome into master 2025-09-10 02:50:46 +00:00
Owner

Add a simple mechanism to report information in an execution summary, displayed at the end of the execution of Harmony.

image

Currently, we can report in 2 different ways:

  • from the Interpret execution outcome
  • from the Feature installation outcome

For example:

 // From an `Interpret`
return Ok(Outcome::success_with_details(vec!["the future is now"]));

// From a `Feature`
return Ok(InstallationOutcome::success_with_details(vec!["beep beep boop"]));

And it will be reported like this:

🚀 All done! Here's what's next for you:
- the future is now
- beep beep boop

Additionally, all ingresses (from the K8sIngressScore) will be automatically added to the summary.

Add a simple mechanism to report information in an execution summary, displayed at the end of the execution of Harmony. ![image](/attachments/2e185f5d-52ad-4225-9109-9eb101473646) Currently, we can report in 2 different ways: - from the `Interpret` execution outcome - from the `Feature` installation outcome For example: ```rs // From an `Interpret` return Ok(Outcome::success_with_details(vec!["the future is now"])); // From a `Feature` return Ok(InstallationOutcome::success_with_details(vec!["beep beep boop"])); ``` And it will be reported like this: ``` 🚀 All done! Here's what's next for you: - the future is now - beep beep boop ``` Additionally, all ingresses (from the `K8sIngressScore`) will be automatically added to the summary.
129 KiB
letian added 4 commits 2025-09-10 02:36:45 +00:00
letian added 1 commit 2025-09-10 02:50:31 +00:00
fix format
Some checks failed
Run Check Script / check (pull_request) Failing after 1m22s
7514ebfb5c
johnride merged commit 9b889f71da into master 2025-09-10 02:50:46 +00:00
johnride deleted branch report-execution-outcome 2025-09-10 02:50:47 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: NationTech/harmony#151
No description provided.