Conversation
The web UI is now opt-in rather than always running. To enable it, specify a port via `--web-port` or `PITCHFORK_WEB_PORT` environment variable. This reduces resource usage for users who only use the CLI or TUI. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR changes the web UI from enabled-by-default to opt-in, requiring explicit port configuration via --web-port or PITCHFORK_WEB_PORT environment variable. This reduces resource usage for users who only need CLI/TUI functionality.
Changes:
- Removed the
--no-webflag and made--web-portan optional parameter with no default value - Updated all documentation to reflect that the web UI must be explicitly enabled
- Simplified the supervisor run logic by removing the conditional web port handling
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/cli/supervisor/run.rs | Changed web_port from u16 with default to Option<u16>, removed no_web flag and conditional logic |
| pitchfork.usage.kdl | Updated help text to indicate web UI is opt-in, removed --no-web flag and default port value |
| docs/reference/environment-vars.md | Updated to document that web UI is disabled by default, removed PITCHFORK_NO_WEB section |
| docs/quickstart.md | Removed web UI references from quick start, focusing on TUI as the primary interactive dashboard |
| docs/guides/web-ui.md | Restructured to show how to enable the web UI first, removed port configuration and disable sections |
| docs/guides/logs.md | Updated to mention both TUI and web UI, with web UI noted as optional |
| docs/cli/supervisor/run.md | Updated --web-port description to reflect opt-in behavior, removed --no-web documentation |
| docs/cli/commands.json | Updated help text for --web-port flag and removed --no-web entry with default value |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Merged
jdx
added a commit
that referenced
this pull request
Jan 19, 2026
## 🤖 New release * `pitchfork-cli`: 1.0.2 -> 1.1.0 <details><summary><i><b>Changelog</b></i></summary><p> <blockquote> ## [1.1.0](v1.0.2...v1.1.0) - 2026-01-19 ### Added - add file watching to auto-restart daemons ([#165](#165)) - support boolean values for retry configuration ([#170](#170)) - disable web UI by default ([#172](#172)) - auto-generate JSON schema from Rust types ([#167](#167)) ### Fixed - improve cron watcher granularity for sub-minute schedules ([#163](#163)) - improve log file position tracking accuracy ([#164](#164)) </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/release-plz/release-plz/). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Releases `pitchfork-cli` v1.1.0 and syncs version across `Cargo.toml`, `Cargo.lock`, `docs/cli/*`, and `pitchfork.usage.kdl`. > > - **Added**: file watching to auto-restart daemons; boolean support for retry config; web UI disabled by default; JSON schema generation from Rust types > - **Fixed**: improved cron watcher granularity (sub-minute); more accurate log file position tracking > - Updated `CHANGELOG.md` with 1.1.0 notes > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 2e6d4c6. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The web UI is now opt-in rather than always running. To enable it, specify a port via
--web-portorPITCHFORK_WEB_PORTenvironment variable:Rationale
Changes
--no-webflag (no longer needed)--web-portoptional with no default value🤖 Generated with Claude Code
Note
feat: web UI is now opt-in
--web-portnow enables the web UI when provided (no default); removed--no-web.supervisor runreads optionalPITCHFORK_WEB_PORTand passesOption<u16>toSUPERVISOR.start.web-ui.md,logs.md, quickstart, env vars, and generated CLI docs to reflect opt-in behavior and enablement via--web-portorPITCHFORK_WEB_PORT.Written by Cursor Bugbot for commit 2fa0e2c. This will update automatically on new commits. Configure here.