Skip to content

Comments

fix: Add an error counter to stop workflow if one step failed#231

Open
RomainBaville wants to merge 6 commits intomainfrom
RomainBaville/fix/FixGeomechanicsWorkflow
Open

fix: Add an error counter to stop workflow if one step failed#231
RomainBaville wants to merge 6 commits intomainfrom
RomainBaville/fix/FixGeomechanicsWorkflow

Conversation

@RomainBaville
Copy link
Contributor

@RomainBaville RomainBaville commented Feb 19, 2026

For a ParaView plugin of geos-pv the error managment is as follow:

  • filters calls by the plugin raise error
  • the plugin logs them with the verbosity error

If a plugin "a" calls another plugin "b", even if an error is raised during the call of the plugin "b", for the plugin "a" no error have been raised and do not stop.
This PR aims to user the handler "CountWarningsHanlder" renamed "CountVerbosityHandler" to not only count warnings but error and higher verbosity as well. With this counter, the plugin "b" can saved the number of error logged and the plugin "a" can tested it at the end of the application of the plugins "b".

This PR close #233

@RomainBaville RomainBaville self-assigned this Feb 19, 2026
@RomainBaville RomainBaville added type: bug test-geos-integration Triggers the testing of geosPythonPackages import and integration in GEOS CI labels Feb 19, 2026
@RomainBaville RomainBaville marked this pull request as ready for review February 20, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flag: ready for review test-geos-integration Triggers the testing of geosPythonPackages import and integration in GEOS CI type: bug type: cleanup type: refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the CountHandler to count error as well

1 participant