Conversation
`hermes:topological_sort_components` is `true` by default and runs the topological sort algorithm. Setting it to `false` disables the topological sort. `hermes:debug_component_order` is an integer, 0 (off) by default. Setting to `1` prints the input and sorted component order. Setting to `2` prints the permissions of each component.
Section in the developer manual on how to debug component ordering. Describes how to disable sorting and how to print the component order and their permissions.
Other boundaries have permissions `writeBoundaryFinalIfSet`.
Collaborator
Author
|
Not needed because #445 already exists. |
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.
Purpose
Adds capabilities and instructions on how to disable and debug component ordering.
Change Summary
A setting
hermes:topological_sort_componentscan be set tofalseto turn off topological sorting (printing a warning). An integerhermes:debug_component_orderwill print component order and permissions if greater than zero.Validation
Unit tests check that the ordering is performed and disabled. Other unit tests check that debug messages are printed.
AI Assistance
Codex/gpt-5.4 used to plan and implement changes.
Documentation
Added a guide on debugging component order issues.
Review Notes