Skip to content

fix(ci): repair master failures in CLI bind test, addons UI build and e2e - #12876

Merged
mudler merged 4 commits into
masterfrom
fix/master-ci-failures
Oct 24, 2026
Merged

mudler merged 4 commits into
masterfrom
fix/master-ci-failures

Conversation

@mudler-agent

Copy link
Copy Markdown
Collaborator

Fixes three failures on master that were red for PRs too.

  • CLI test (core/cli): the "rejects public IPv6" spec used 2001:db8::1, the IPv6 documentation prefix. Since [httpclient] validate redirect targets and pin dialed addresses for user URLs #12853 that prefix is classed as non-public, so the bind is correctly trusted and the spec failed. The spec now uses a globally routable address. The policy code is unchanged.
  • Apple UI build: installFlow.js and InstallFlow.jsx differed only by case. On a case-insensitive filesystem, import ... from './InstallFlow' can resolve to the file without a default export. The module is renamed to installAndTurnOn.js (a pure rename) and its two importers are updated.
  • UI e2e:
    • The add-on page for an add-on that is turned off did not render the Reload action, which the spec expects. It now renders the same action as the failed state.
    • The diarization profiles spec expected the "Known speakers" heading in the core UI. That heading ships with the Voice add-on, so the spec now serves the Voice add-on bundle, as the other add-on specs do. Its assertions are unchanged.

Verification

  • go test ./core/cli/: 106 of 106 specs pass.
  • UI: npm run build and the unit tests pass.
  • Playwright: addons-shell and diarization-profiles pass (15/15). addon-navigation, studio-addons and legacy-redirects pass (114/114).
  • Lint: npm run lint reports two errors in e2e/coverage-fixtures.js, which this PR does not touch.

Not verified: the combined branch was not re-run as a whole, and the macOS build was not run here.

🤖 Generated with Claude Code

2001:db8::/32 is the IPv6 documentation prefix and is now classed as
non-public, so the bind is trusted and the spec failed. Use a public
address from 2606:4700:4700::/48 instead.
…llFlow.jsx

installFlow.js and InstallFlow.jsx differ only by case. On a
case-insensitive filesystem the bundler can resolve
`import FlowStatus from './InstallFlow'` to the .js module, which has
no default export, and the macOS build fails with MISSING_EXPORT.

Rename the module to installAndTurnOn.js, after its main export, and
update its two importers. No code changes.

Assisted-by: Claude Code:claude-sonnet-5-5
The clearer empty states for a stopped add-on dropped the Reload button
from the unavailable page, so a user who turned the add-on back on had
no way to mount it again without leaving the page. Render the button in
the actions of the off state, next to Turn on.
The remembered voices link now opens the page of the Voice add-on, which
the core build no longer draws. Install the built Voice bundle next to
Studio, as the other specs do for their add-ons, and build it in the
global setup.
@mudler
mudler merged commit 994d3ac into master Oct 24, 2026
31 of 34 checks passed
@mudler
mudler deleted the fix/master-ci-failures branch October 24, 2026 08:05
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