• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 19583107716

21 Nov 2025 08:48PM UTC coverage: 48.874% (-0.01%) from 48.885%
19583107716

push

github

web-flow
Allow `--foreground` flag with `--from-config` (#2649)

Allow --foreground flag with --from-config

The --foreground flag is an execution-related flag that controls HOW
to run the server (foreground vs detached), not a configuration flag
that controls WHAT to run. The runFromConfigFile function already
respects this flag, so it should be allowed alongside --from-config.

This change modifies the validation logic to use an allowlist of
execution-related flags (--foreground, --debug) that can be used
with --from-config, while still preventing actual configuration
flags from being mixed with --from-config.

Fixes #2643

Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Chris Burns <ChrisJBurns@users.noreply.github.com>

0 of 11 new or added lines in 1 file covered. (0.0%)

2 existing lines in 1 file now uncovered.

24644 of 50424 relevant lines covered (48.87%)

61.41 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

82.27
/pkg/transport/proxy/httpsse/http_proxy.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc