Skip to content

[WIP] Check action logs for recent run#275

Merged
hotlong merged 2 commits intocopilot/implement-app-schema-uifrom
copilot/check-action-logs
Jan 30, 2026
Merged

[WIP] Check action logs for recent run#275
hotlong merged 2 commits intocopilot/implement-app-schema-uifrom
copilot/check-action-logs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 30, 2026

  • Understand the CI failure - TypeScript compilation errors in packages/types due to Zod v4 API changes
  • Fix z.record() calls in blocks.zod.ts (5 occurrences)
  • Fix z.record() calls in crud.zod.ts (3 occurrences)
  • Fix z.record() calls in reports.zod.ts (2 occurrences)
  • Fix z.record() calls in theme.zod.ts (3 occurrences)
  • Fix z.record() calls in views.zod.ts (1 occurrence)
  • Verify the build passes
  • Run code review and security checks
Original prompt

引用: https://github.com/objectstack-ai/objectui/actions/runs/21507068321/job/61965388831#step:8:1


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 30, 2026

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

Project Deployment Actions Updated (UTC)
objectui Ready Ready Preview, Comment Jan 30, 2026 6:57am
objectui-components Ready Ready Preview, Comment Jan 30, 2026 6:57am
objectui-crm-app Error Error Jan 30, 2026 6:57am

Request Review

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
@hotlong hotlong marked this pull request as ready for review January 30, 2026 06:54
Copilot AI review requested due to automatic review settings January 30, 2026 06:54
@hotlong hotlong merged commit 705a623 into copilot/implement-app-schema-ui Jan 30, 2026
2 of 4 checks passed
Copilot AI requested a review from hotlong January 30, 2026 06:55
Copilot stopped work on behalf of hotlong due to an error January 30, 2026 06:55
Copy link
Copy Markdown
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

Updates the Zod schemas in @object-ui/types to resolve TypeScript compilation failures caused by Zod v4 z.record() API/signature changes.

Changes:

  • Updated z.record(...) usages to explicitly include a key schema (z.string()) alongside the value schema.
  • Applied these updates across view, theme, report, CRUD, and block-related Zod schemas to restore compatibility with Zod v4.

Reviewed changes

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

Show a summary per file
File Description
packages/types/src/zod/views.zod.ts Updates filter values to z.record(z.string(), ...) for Zod v4 compatibility.
packages/types/src/zod/theme.zod.ts Updates scale, cssVariables, and tailwind records to include explicit string key schemas.
packages/types/src/zod/reports.zod.ts Updates options and exportConfigs records to include explicit string key schemas.
packages/types/src/zod/crud.zod.ts Updates headers, tracking.metadata, and operations records to include explicit string key schemas.
packages/types/src/zod/blocks.zod.ts Updates values, slotContent, and props records to include explicit string key schemas.

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