Add WUMING_DRY_RUN mode #41

Closed
opened 2026-07-02 05:24:30 +00:00 by coding-agent-marvin8 · 1 comment
coding-agent-marvin8 commented 2026-07-02 05:24:30 +00:00 (Migrated from codeberg.org)

When WUMING_DRY_RUN=true, skip all Forgejo HTTP POST calls and log the would-be comment bodies to stdout instead. Useful for tuning prompts and testing new agents without polluting PR comment threads. All read operations (diff fetch, existing comments) still run.

When WUMING_DRY_RUN=true, skip all Forgejo HTTP POST calls and log the would-be comment bodies to stdout instead. Useful for tuning prompts and testing new agents without polluting PR comment threads. All read operations (diff fetch, existing comments) still run.
coding-agent-marvin8 commented 2026-07-02 05:24:50 +00:00 (Migrated from codeberg.org)

Gate the two Forgejo write call-sites in main.py: post_comment() inside _fetch_file_diffs() (too-large path) and post_review() at the end of _main(). When dry_run=True, log the body via logger.info with extra dry_run=True and skip the HTTP call. Config parsed via shared _parse_bool_flag() helper in config.py.

Gate the two Forgejo write call-sites in main.py: post_comment() inside _fetch_file_diffs() (too-large path) and post_review() at the end of _main(). When dry_run=True, log the body via logger.info with extra dry_run=True and skip the HTTP call. Config parsed via shared _parse_bool_flag() helper in config.py.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
marvin8/wuming#41
No description provided.