Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 16, 2026

The release workflow failed because xstate and @meshery/schemas are peer dependencies not available during build, causing TypeScript declaration generation to fail with Cannot find module 'xstate'.

Changes

  • package.json: Added xstate and @meshery/schemas to devDependencies (same versions as peerDependencies) so they're installed during CI build
  • GoogleIcon.tsx: Removed invalid textAnchor="none" attribute — "none" is not a valid SVG text-anchor value, and this error was masked by the earlier module resolution failure

The DTS build now completes successfully:

DTS ⚡️ Build success in 14852ms
DTS dist/index.d.ts  89.64 KB
Original prompt

fix https://github.com/layer5io/sistent/actions/runs/21056001105


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Fix action run issue in Sistent fix: Add missing devDependencies for DTS build and fix GoogleIcon type error Jan 16, 2026
Copilot AI requested a review from fitzergerald January 16, 2026 04:59
@pontusringblom pontusringblom marked this pull request as ready for review January 16, 2026 12:57
Copilot AI review requested due to automatic review settings January 16, 2026 12:57
@pontusringblom pontusringblom merged commit a41b1ba into master Jan 16, 2026
3 of 5 checks passed
@pontusringblom pontusringblom deleted the copilot/fix-action-run-issue-again branch January 16, 2026 12:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a CI build failure in the DTS (TypeScript declaration) generation workflow. The issue occurred because peer dependencies (xstate and @meshery/schemas) were not available during the build process, causing module resolution failures. Additionally, it corrects an invalid SVG attribute in the GoogleIcon component.

Changes:

  • Added xstate and @meshery/schemas to devDependencies to ensure they're installed during CI builds
  • Removed invalid textAnchor="none" attribute from <g> elements in GoogleIcon.tsx (this attribute is only valid for <text> elements)
  • Updated package-lock.json to reflect the dependency changes

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
src/icons/Google/GoogleIcon.tsx Removed invalid textAnchor attribute from two <g> elements
package.json Added xstate and @meshery/schemas to devDependencies with versions matching peerDependencies
package-lock.json Updated dependency tree to reflect the new devDependencies configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants