Skip to content

fix(serve): preserve deprecated enable-widgets flag - #1088

Merged
SamSaffron merged 1 commit into
SamSaffron:mainfrom
sam-saffron-jarvis:feat/deprecated-enable-widgets
Aug 30, 2026
Merged

fix(serve): preserve deprecated enable-widgets flag#1088
SamSaffron merged 1 commit into
SamSaffron:mainfrom
sam-saffron-jarvis:feat/deprecated-enable-widgets

Conversation

@sam-saffron-jarvis

Copy link
Copy Markdown
Contributor

Summary

  • restore serve --enable-widgets as a compatibility no-op
  • print a deprecation warning to stderr whenever the flag is supplied
  • direct users to --disable-widgets when they need to opt out

This gives existing service definitions and deployment scripts time to migrate after widgets became enabled by default.

Tests

  • go test ./cmd -run 'TestServeWidgetsAreOptOut|TestDeprecatedEnableWidgetsWarning'
  • go build ./...
  • live binary smoke with serve web --enable-widgets: server starts with widgets enabled and emits the expected warning

go test ./... was also run. It has unrelated existing/environment-sensitive failures in two skill-discovery tests and the current frontend bundle-size budget (app.js is 427,861 bytes against a 426,000-byte raw budget).

@SamSaffron
SamSaffron merged commit df77442 into SamSaffron:main Aug 30, 2026
4 of 6 checks passed
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.

2 participants