Skip to content

fix: gate dashboard URL prints behind is_verbose() for --silent compliance#210

Closed
wjgong001 wants to merge 1 commit into
microsoft:mainfrom
wjgong001:fix/silent-dashboard-url
Closed

fix: gate dashboard URL prints behind is_verbose() for --silent compliance#210
wjgong001 wants to merge 1 commit into
microsoft:mainfrom
wjgong001:fix/silent-dashboard-url

Conversation

@wjgong001
Copy link
Copy Markdown

Summary

Fixes #209. Three locations still printed the dashboard URL to stderr even when --silent was set, violating the "No progress output. Only JSON result on stdout." contract.

Changes

  1. src/conductor/cli/app.py (replay command, lines 990-991) — Gated the "Replay dashboard:" and "Press Ctrl+C to exit" prints behind is_verbose().
  2. src/conductor/cli/run.py (run --web, line 1173) — Gated the dashboard URL print behind a lazy is_verbose() import, removing the # Print URL to stderr regardless of --silent/--quiet comment since that behavior was the bug.
  3. src/conductor/cli/run.py (resume --web, line 1685) — Same gate as Support file path as an input #2.

All three match the pattern established in the existing verbose_log() helper and the #201/#203 fix for --web-bg mode.

Verification

Before this fix:

conductor --silent run examples/simple-qa.yaml --web 2>&1 | grep Dashboard
# Output: Dashboard: http://127.0.0.1:XXXXX (leaked even with --silent)

After this fix:

conductor --silent run examples/simple-qa.yaml --web 2>&1 | grep Dashboard
# No output (silent mode respected)

Dashboard failure warnings (Exception handler in run.py) are left ungated since they communicate actual errors that users should see regardless of verbosity mode.

…iance

Fixes microsoft#209. Three locations still printed the dashboard URL to stderr
even when --silent was set, breaking the 'No progress output' contract:

1. src/conductor/cli/app.py:990-991 — replay command dashboard URL
2. src/conductor/cli/run.py:1173 — foreground  dashboard URL
3. src/conductor/cli/run.py:1685 — foreground  dashboard URL

Each is now gated by , matching the pattern already
established in verbose_log() and the microsoft#201/microsoft#203 fix for --web-bg mode.
Dashboard failure warnings (Exception handler) are left ungated since
they communicate actual errors.
@wjgong001 wjgong001 closed this May 19, 2026
@wjgong001 wjgong001 deleted the fix/silent-dashboard-url branch May 19, 2026 04:07
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.

--silent still prints dashboard URL in foreground --web and replay

2 participants