Skip to content

Navigation Menu

Sign in
Sign up

Add optional status report file (-r) for external tooling - #133

Open
pedemonte wants to merge 1 commit into
cortesi:master from
pedemonte:report
Open

Add optional status report file (-r) for external tooling #133
pedemonte wants to merge 1 commit into
cortesi:master from
pedemonte:report

Conversation

@pedemonte

@pedemonte pedemonte commented Aug 29, 2025
edited
Loading

Copy link
Copy Markdown

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月29日T12: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月29日T14: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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /