Skip to content

fix: move revision info retrieval to the base FlowCfg#139

Merged
AlexJones0 merged 1 commit intolowRISC:masterfrom
AlexJones0:commit_flow_fix
Apr 2, 2026
Merged

fix: move revision info retrieval to the base FlowCfg#139
AlexJones0 merged 1 commit intolowRISC:masterfrom
AlexJones0:commit_flow_fix

Conversation

@AlexJones0
Copy link
Copy Markdown
Contributor

@AlexJones0 AlexJones0 commented Apr 1, 2026

In d6d53f6 (as part of #109), the logic to record the commit hash (and shortened version) was added to the sim flow, but in reality since it is used in the deploy it needs to be on every flow.

Move the computation of this information to the base FlowCfg object, after all expansion has taken place to fill in the proj_root. This should now work for the other flows (e.g. formal).

Closes #119.
Closes #133.

In d6d53f6, the logic to record the commit hash (and shortened version)
was added to the sim flow, but in reality since it is used in the deploy
it needs to be on every flow.

Move the computation of this information to the base `FlowCfg` object,
after all expansion has taken place to fill in the `proj_root`. This
should now work for the other flows (e.g. formal).

Signed-off-by: Alex Jones <alex.jones@lowrisc.org>
Copy link
Copy Markdown
Contributor

@hcallahan-lowrisc hcallahan-lowrisc left a comment

Choose a reason for hiding this comment

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

Seems pretty clear cut to me. Thanks for fixing the immediate issue @AlexJones0

@AlexJones0 AlexJones0 added this pull request to the merge queue Apr 2, 2026
Merged via the queue into lowRISC:master with commit 5524219 Apr 2, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Formal flow tries to treat a FormalCfg as a SimCfg Unable to run Ascentlint

2 participants