send an message/event saying the startup sequence has completed or failed#362
Open
jordaneburton wants to merge 7 commits intomainfrom
Open
send an message/event saying the startup sequence has completed or failed#362jordaneburton wants to merge 7 commits intomainfrom
jordaneburton wants to merge 7 commits intomainfrom
Conversation
…ence and respond with success or failure
Contributor
Author
|
I've successfully gotten a working build where the component can read in the file path for the currently running sequence. |
Contributor
Author
|
I uploaded pics from my testing on the new board. Not sure if these are my exact events though? |
Contributor
Author
|
Alright. This issue is done! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Send Event Logs for Whether the Startup Sequence has Completed or Failed
Description
This pull request enhances the
StartupManagercomponent by improving the handling and logging of start-up sequences. The main changes include adding support for tracking when a sequence begins, and updating the component's internal state to store sequence file path.sequenceStartedfor receiving notifications when a start-up sequence begins, and implemented the corresponding handler methodsequenceStarted_handler. This handler stores the file name of the sequence being run.sequenceStartedport betweencmdSeqandstartupManager.StartupSequenceStartedto log when a start-up sequence is initiated.m_sequence_filetoStartupManagerto keep track of the currently running sequence file.completeSequence_handlerto log the completion status of the start-up sequence based on the stored sequence filepath and the command response.Related Issues/Tickets
Closes #307
How Has This Been Tested?
Tested on a brand new board. Here's event logs from the test:
Checklist
Further Notes / Considerations