Skip to content

feat!: Migrate dashboard to Watt v4 - #214

Merged
ShogunPanda merged 7 commits into
watt-4from
v4-enable-metrics
Oct 19, 2026
Merged

ShogunPanda merged 7 commits into
watt-4from
v4-enable-metrics

Conversation

@ShogunPanda

Copy link
Copy Markdown
Contributor

Summary

Migrated Watt Admin from Watt v3 to Watt v4, updating runtime dependencies, configuration formats, startup behavior, and application metadata handling. Dashboard startup now enables metrics on the selected runtime without restarting workers or replacing existing metric options.

Changes

  • Replaced Watt v3 JSON configurations with Watt v4 JavaScript configurations for the dashboard, backend, composer, frontend, and test fixtures.
  • Updated runtime and service handling for Watt v4 APIs, including application URLs, serving states, and revised service schemas.
  • Improved metrics collection to support disabled metrics, aggregate listening applications, preserve request statistics, and close API clients reliably.
  • Added startup and integration coverage for runtime metrics activation and Watt v4 behavior.
  • Raised the minimum Node.js version to 24.20.0 and pinned Watt dependencies to the v4 prerelease packages.

Notes

The pinned Watt prerelease does not yet include the metrics API; integration testing currently requires packages built from platformatic/platformatic#5238, and the dependency versions should be updated before merging.

Additional Informations

AI-assisted work. All changes reviewed by a human.

Signed-off-by: Paolo Insogna <paolo@cowtech.it>
Signed-off-by: Paolo Insogna <paolo@cowtech.it>
Signed-off-by: Paolo Insogna <paolo@cowtech.it>
@mcollina

Copy link
Copy Markdown
Member

We need a separate next/watt-4 branch where to land this.

@ShogunPanda
ShogunPanda changed the base branch from main to v4 October 19, 2026 09:56
@ShogunPanda
ShogunPanda changed the base branch from v4 to watt-4 October 19, 2026 09:57
@ShogunPanda

Copy link
Copy Markdown
Contributor Author

@mcollina Done, it now lands on watt-4 branch, which is a cut-off of main.
Is everything else good?

Signed-off-by: Paolo Insogna <paolo@cowtech.it>
Signed-off-by: Paolo Insogna <paolo@cowtech.it>
Signed-off-by: Paolo Insogna <paolo@cowtech.it>

@mcollina mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm once CI is green

Signed-off-by: Paolo Insogna <paolo@cowtech.it>
@ShogunPanda
ShogunPanda merged commit 4c0be73 into watt-4 Oct 19, 2026
1 check passed
@ShogunPanda
ShogunPanda deleted the v4-enable-metrics branch October 19, 2026 13:00
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