Skip to content

Fix registration test timeout in plugin-detail#384

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/update-action-run-references
Draft

Fix registration test timeout in plugin-detail#384
Copilot wants to merge 2 commits intomainfrom
copilot/update-action-run-references

Conversation

Copy link
Contributor

Copilot AI commented Feb 4, 2026

The registration.test.tsx beforeAll hook was timing out at 10s during async import in CI.

Changes

  • Increased beforeAll hook timeout to 15s in packages/plugin-detail/src/registration.test.tsx
beforeAll(async () => {
  await import('./index');
}, 15000); // Increase timeout to 15 seconds for async import

The async import requires additional time for component registration and module initialization, particularly in CI environments where resource contention can slow execution.

Original prompt

引用: https://github.com/objectstack-ai/objectui/actions/runs/21680274786/job/62512396322#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

vercel bot commented Feb 4, 2026

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

Project Deployment Actions Updated (UTC)
objectui Ready Ready Preview, Comment Feb 4, 2026 5:10pm
objectui-console Ready Ready Preview, Comment Feb 4, 2026 5:10pm
objectui-storybook Ready Ready Preview, Comment Feb 4, 2026 5:10pm

Request Review

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Feb 4, 2026

📦 Bundle Size Report

Package Size Gzipped
components (index.js) 1770.85KB 418.28KB
core (index.js) 0.63KB 0.30KB
create-plugin (index.js) 9.28KB 2.98KB
data-objectstack (index.js) 21.35KB 5.35KB
fields (index.js) 87.61KB 17.17KB
layout (index.js) 12.79KB 3.96KB
plugin-aggrid (AgGridImpl-BQ6tBvrq.js) 5.27KB 1.92KB
plugin-aggrid (ObjectAgGridImpl-CGFeGvOH.js) 11.44KB 3.52KB
plugin-aggrid (index-CLKYMco3.js) 19.20KB 4.89KB
plugin-aggrid (index.js) 0.22KB 0.16KB
plugin-calendar (index.js) 31.31KB 8.02KB
plugin-charts (AdvancedChartImpl-xyuXPYhj.js) 124.69KB 25.93KB
plugin-charts (BarChart-C_I0OFbj.js) 542.77KB 135.30KB
plugin-charts (ChartImpl-LLkZGIsJ.js) 3.17KB 1.10KB
plugin-charts (index-CwbHjXrL.js) 14.52KB 4.33KB
plugin-charts (index.js) 0.16KB 0.15KB
plugin-chatbot (index.js) 1200.27KB 344.58KB
plugin-dashboard (index.js) 212.68KB 49.08KB
plugin-detail (index.js) 1668.63KB 394.71KB
plugin-editor (MonacoImpl-hfdmoz6k.js) 18.15KB 5.59KB
plugin-editor (index-CuYbY6xb.js) 10.10KB 3.32KB
plugin-editor (index.js) 0.19KB 0.15KB
plugin-form (index.js) 15.35KB 4.96KB
plugin-gantt (index.js) 567.58KB 100.11KB
plugin-grid (index.js) 40.85KB 11.31KB
plugin-kanban (KanbanEnhanced-BqDEu7Z6.js) 31.43KB 9.03KB
plugin-kanban (KanbanImpl-B8nu2BvG.js) 5.28KB 1.91KB
plugin-kanban (index-CrR06na7.js) 17.02KB 4.99KB
plugin-kanban (index.js) 0.27KB 0.17KB
plugin-kanban (sortable.esm-ZHwgFQIO.js) 71.42KB 18.98KB
plugin-list (index.js) 1676.99KB 396.76KB
plugin-map (index.js) 126.01KB 30.48KB
plugin-map (maplibre-gl-CNsW26De.js) 1418.32KB 302.53KB
plugin-markdown (MarkdownImpl-DufQ-eRU.js) 256.68KB 64.45KB
plugin-markdown (index-CrmE78vF.js) 9.63KB 3.17KB
plugin-markdown (index.js) 0.19KB 0.15KB
plugin-timeline (index.js) 105.00KB 24.12KB
plugin-view (index.js) 16.69KB 4.93KB
react (LazyPluginLoader.js) 1.10KB 0.58KB
react (SchemaRenderer.js) 3.28KB 1.30KB
react (index.js) 0.39KB 0.25KB
react (index.test.js) 0.34KB 0.26KB
types (api-types.js) 0.20KB 0.18KB
types (app.js) 0.20KB 0.18KB
types (base.js) 0.20KB 0.18KB
types (blocks.js) 0.20KB 0.18KB
types (complex.js) 0.20KB 0.18KB
types (crud.js) 0.20KB 0.18KB
types (data-display.js) 0.20KB 0.18KB
types (data-protocol.js) 0.20KB 0.19KB
types (data.js) 0.20KB 0.18KB
types (disclosure.js) 0.20KB 0.18KB
types (feedback.js) 0.20KB 0.18KB
types (field-types.js) 0.20KB 0.18KB
types (form.js) 0.20KB 0.18KB
types (index.js) 0.34KB 0.25KB
types (layout.js) 0.20KB 0.18KB
types (navigation.js) 0.20KB 0.18KB
types (objectql.js) 0.20KB 0.18KB
types (overlay.js) 0.20KB 0.18KB
types (plugin-scope.js) 0.20KB 0.18KB
types (registry.js) 0.20KB 0.18KB
types (reports.js) 0.20KB 0.18KB
types (theme.js) 0.20KB 0.18KB
types (ui-action.js) 0.20KB 0.18KB
types (views.js) 0.20KB 0.18KB

Size Limits

  • ✅ Core packages should be < 50KB gzipped
  • ✅ Component packages should be < 100KB gzipped
  • ⚠️ Plugin packages should be < 150KB gzipped

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