Skip to content

[NET-1341] update: Add before each and after each support for hooks and introduced postscript_failed status - #343

Open
muhammedrazalak wants to merge 5 commits into
developfrom
update/hooks
Open

[NET-1341] update: Add before each and after each support for hooks and introduced postscript_failed status#343
muhammedrazalak wants to merge 5 commits into
developfrom
update/hooks

Conversation

@muhammedrazalak

@muhammedrazalak muhammedrazalak commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add before_each and after_each hooks to simulation lifecycle for common per-item setup/teardown across all scenarios.
  • Wire them into the existing flow so execution order is: before_allbefore_eachbefore → task → afterafter_eachafter_all.
  • Preserve failure semantics: before_each failures mark the item as prescript_failed and skip it; after_each failures are logged and do not affect status.
  • change description extraction logic from docstring fetch to hook function attributes.
  • add postscript_failed status and submit it during postscript hooks get failed.

Comment thread netra/simulation/api.py
@muhammedrazalak muhammedrazalak changed the title [NET-1341] update: Add before each and after each support for hooks [NET-1341] update: Add before each and after each support for hooks and the introduced postscript_failed status Jul 30, 2026
@muhammedrazalak muhammedrazalak changed the title [NET-1341] update: Add before each and after each support for hooks and the introduced postscript_failed status [NET-1341] update: Add before each and after each support for hooks and introduced postscript_failed status Jul 30, 2026
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.

2 participants