Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 17, 2026

CI build failing with TypeScript errors and test failure in workflow run #21089060389.

Changes:

  • Export StackSchema type — Added to @object-ui/types public API and LayoutSchema union. The type was defined but not exported, breaking imports in packages/components/src/renderers/layout/stack.tsx.

  • Add color: '#8884d8' to chart-bar defaultProps — Test expected this default but it was missing from the component registration.

  • Remove unused isChild parameterTreeNodeComponent declared but never read the parameter, causing TS6133 warning.

Diff summary:

packages/types/src/index.ts     +1 (export StackSchema)
packages/types/src/layout.ts    +1 (add to union)
packages/plugin-charts/src/     +1 (color default)
packages/components/src/        -3 (remove isChild)
Original prompt

引用: https://github.com/objectstack-ai/objectui/actions/runs/21089060389/job/60658962048#step:7:1


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel
Copy link

vercel bot commented Jan 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
objectui-docs Error Error Jan 17, 2026 11:41am

Copilot AI changed the title [WIP] Fix action job issue in CI pipeline Fix CI failures: export StackSchema, add chart-bar color default, remove unused param Jan 17, 2026
Copilot AI requested a review from hotlong January 17, 2026 11:47
@hotlong hotlong marked this pull request as ready for review January 17, 2026 11:51
Copilot AI review requested due to automatic review settings January 17, 2026 11:51
@hotlong hotlong merged commit eed8fa9 into copilot/add-showcase-trial-documentation Jan 17, 2026
8 of 9 checks passed
@github-actions
Copy link

✅ All checks passed!

  • ✅ Type check passed
  • ✅ Tests passed
  • ✅ Lint check completed

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 addresses CI build failures caused by TypeScript compilation errors and a failing test. The changes are targeted fixes to resolve import errors, missing type exports, a test assertion failure, and unused parameter warnings.

Changes:

  • Exported StackSchema from the types package to fix import error in stack component renderer
  • Added color: '#8884d8' default to chart-bar component registration to satisfy test expectations
  • Removed unused isChild parameter from TreeNodeComponent to eliminate TypeScript warning

Reviewed changes

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

File Description
packages/types/src/index.ts Added StackSchema to public type exports to fix import error in stack.tsx
packages/types/src/layout.ts Added StackSchema to LayoutSchema union type for completeness
packages/plugin-charts/src/index.tsx Added missing color default property to fix failing test assertion
packages/components/src/renderers/data-display/tree-view.tsx Removed unused isChild parameter and its usage to eliminate TS6133 warning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants