Skip to content

Conversation

@pedemonte
Copy link

@pedemonte pedemonte commented Aug 29, 2025

This PR adds an opt-in reporting mode to modd.

When run with the -r flag, modd writes a .modd_report file that external tools can watch.

The report file contains just one line with a timestamp and the overall status of all blocks’ prep commands.

  • Status 0: every prep command exited successfully.
  • Non-zero status: at least one prep command failed.

example of .modd_report:

2025-08-29T12:34:26Z,0 
Adds an opt-in reporting mode for external tooling. When run with -r, modd writes a .modd_report snapshot containing the overall status of all blocks’ prep commands. Semantics: - Status 0 -> every prep command exited 0 - Non-zero -> at least one prep command failed Format: one line per update, "RFC3339,status", e.g.: 2025-08-29T14:35:07Z,0 A single Reporter implementation (FileReporter) is provided
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant