instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
Budibase__budibase__18386
Budibase/budibase
18,386
defect
d50ce1984c4ade5c195c5b29fc197cb69b61e7d0
443c1a9dc1e7cc49e436d466e8e9ca4040e9069b
Upsert ai configs on workspace imports
## Description Ensure LiteLLM keys and models are correctly created or updated during workspace imports ## Launchcontrol Ensure LiteLLM keys and models are correctly created or updated during workspace imports <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Upserts `LiteLLM` ...
diff --git a/packages/pro/src/sdk/backups/processing.ts b/packages/pro/src/sdk/backups/processing.ts index e6fb0fbd922b..ee16e885bdf1 100644 --- a/packages/pro/src/sdk/backups/processing.ts +++ b/packages/pro/src/sdk/backups/processing.ts @@ -322,6 +322,7 @@ async function importProcessor(job: Job, opts: BackupProcessi...
6
5
3
[{"id": "G0", "claim": "The `if (res.ok)` condition in `validateCompletionsModel` is inverted and causes it to always throw on successful (200) responses.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Resetting `liteLLMModelId` to an empty string f...
null
Budibase__budibase__18426
Budibase/budibase
18,426
defect
630b19ad4b2800cc98c74ef0f8d20375b19ffb6b
070c3857055b01cc4ff34de1fa52c88d985d9d70
Default user groups: enforce single default and preserve group workspace roles
## Description Adds default user group support across backend and builder, including: - marking a group as default (`isDefault`) - enforcing only one default group at a time - auto-assigning new users to the default group when no groups are provided - allowing default-group selection from group create/edit and gro...
diff --git a/CLAUDE.md b/CLAUDE.md index 2cad651dd9cf..c49077df7d83 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -52,6 +52,12 @@ this can be used to access the test API under `new TestConfiguration().api`, a list of functions and request/response types can be found in `packages/server/src/tests/utilities/api`. +##...
6
5
3
[{"id": "G0", "claim": "saveGroupWithDefaultUpdates treats any falsy group.isDefault as an explicit unset, so update callers that omit isDefault (e.g. partial/scim-style updates sending only name/sync fields) will silently clear a previously default group and stop automatic group assignment; undefined should be handled...
null
Budibase__budibase__18432
Budibase/budibase
18,432
defect
630b19ad4b2800cc98c74ef0f8d20375b19ffb6b
9f90a6505713c859cea76e33e02e05bd1264479e
Fix for base URL config in templated requests
Fix for REST template queries executing against the spec's default server URL and ignoring the REST datasource base url, if it was configured. When saved, the query stored the server[0] value of the available servers on the spec and changing it would have no effect. - Will still store server[0] on the query as a st...
diff --git a/packages/builder/src/components/integration/APIEndpointViewer.svelte b/packages/builder/src/components/integration/APIEndpointViewer.svelte index 8c88445331e0..ca7a693b52de 100644 --- a/packages/builder/src/components/integration/APIEndpointViewer.svelte +++ b/packages/builder/src/components/integration/AP...
5
3
2
[{"id": "G0", "claim": "Template URL rebasing only checks `restTemplateId`, so legacy templated datasources with `restTemplate` are skipped and still execute against the stored spec URL.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "`validateQuery`...
null
Budibase__budibase__18436
Budibase/budibase
18,436
defect
7b4249c7b4db1147486d890dd512ec4046b3cbd8
04138c53fcde91c5d999d89c5048973acbceb7f5
Add full name binding to user metadata for option pickers
## Description Adds a new fullName user field for picker bindings and user metadata outputs. It is computed from firstName + lastName (with fallback to single name, then email), persisted for new/updated metadata, and also computed at read time for older records. Additionally - Marks fullName as a non-editable sys...
diff --git a/packages/builder/src/components/backend/DataTable/Table.svelte b/packages/builder/src/components/backend/DataTable/Table.svelte index ac101f35f9d9..7f28aed70bfa 100644 --- a/packages/builder/src/components/backend/DataTable/Table.svelte +++ b/packages/builder/src/components/backend/DataTable/Table.svelte @...
7
7
3
[{"id": "G0", "claim": "Computed fullName logic should not be embedded in the test expectations in row.spec.ts and viewV2.spec.ts; remove it altogether or assert only that fullName is present.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a test co...
null
Budibase__budibase__18437
Budibase/budibase
18,437
defect
7b4249c7b4db1147486d890dd512ec4046b3cbd8
00a1993aa55ba9c206bc564f81ed001c07393b0f
test(builder): add InviteUsersModal button-state coverage
## Description Adds front-end coverage for the workspace invite modal button-state behavior, including the regression case where the initial valid typed email should enable `Invite users` before a pill is committed. ## Screenshots <img width="564" height="643" alt="Screenshot 2026-04-01 at 13 22 03" src="https://g...
diff --git a/packages/bbui/src/Form/PillInput.svelte b/packages/bbui/src/Form/PillInput.svelte index babb58c7983e..b5b2d8b20536 100644 --- a/packages/bbui/src/Form/PillInput.svelte +++ b/packages/bbui/src/Form/PillInput.svelte @@ -19,7 +19,7 @@ export let allowDuplicates = false export let maxItems: number | unde...
4
2
0
[{"id": "G0", "claim": "The button-enable logic now includes `pendingEmailInput` while submit/validation still checks only `emailsInput`, so users can click an enabled \"Invite users\" button and still be blocked.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", ...
null
Budibase__budibase__18491
Budibase/budibase
18,491
defect
1f95f1780320e48a282241bab47492af23d92246
72d75db8598f6a9e8b5c1207d224ea85072cb7f8
harden endpoint matching in auth middleware
## Description This hardens shared endpoint matching used by authentication-related middleware. The change updates route matching to use the request path rather than the full URL and tightens matching behaviour to avoid incorrect public-route detection. Regression tests have been added to cover the affected matcher a...
diff --git a/packages/backend-core/src/middleware/matchers.ts b/packages/backend-core/src/middleware/matchers.ts index 8ed0b4d608b0..fff7d4bbeca9 100644 --- a/packages/backend-core/src/middleware/matchers.ts +++ b/packages/backend-core/src/middleware/matchers.ts @@ -23,13 +23,14 @@ export const buildMatcherRegex = ( ...
1
1
0
[{"id": "G0", "claim": "The three chained path fallbacks (ctx.path || ctx.request.path || ctx.request.url.split) are unnecessary because koa always populates ctx.request.path.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
Budibase__budibase__18492
Budibase/budibase
18,492
defect
a84759ea7c97f13316e68b9f6c6e3ca4e2afe60d
fa2a5e7d6de92a8442218a6d61170b147f9b340b
Emit ACTION_AI_AGENT_EXECUTED event on every agent execution
## Description Fire `events.action.aiAgentExecuted()` from all three agent execution entry points so that the `ACTION_AI_AGENT_EXECUTED` event is consistently emitted whenever an agent runs. Entry points covered: - Automation step (`packages/server/src/automations/steps/ai/agent.ts`) - Webhook chat (Discord / S...
diff --git a/packages/server/src/api/controllers/ai/chatConversations.ts b/packages/server/src/api/controllers/ai/chatConversations.ts index bd7db8748bda..93e0490c1d66 100644 --- a/packages/server/src/api/controllers/ai/chatConversations.ts +++ b/packages/server/src/api/controllers/ai/chatConversations.ts @@ -1,5 +1,6 ...
2
1
1
[{"id": "G0", "claim": "Awaiting events.action.aiAgentExecuted() at the three call sites (agent automation run, webhookChat, and agentChatStream's onFinish before persistence) lets an analytics-publish failure throw into the caller, so successful agent runs or streamed chats can be reported as failed or lose their pers...
null
Budibase__budibase__18503
Budibase/budibase
18,503
defect
23e033ed4bce244980309a7f538c7a7aa028982c
f1b677c0f6a9f0d0702f47997f28d78fc5573fe4
Cleaner oauth flow
## Description Cleaner oauth flow <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Simplified the SharePoint OAuth flow by creating the connection during the server callback and removing the follow-up “complete” step. The builder now starts auth via a new connect route and resumes with...
diff --git a/packages/backend-core/src/middleware/index.ts b/packages/backend-core/src/middleware/index.ts index d1338504ffe2..2f188146fb0f 100644 --- a/packages/backend-core/src/middleware/index.ts +++ b/packages/backend-core/src/middleware/index.ts @@ -21,9 +21,7 @@ export { tenancy } from "./tenancy" export { activ...
2
1
0
[{"id": "G0", "claim": "The local getSharePointWorkspaceConnectionKey helper in packages/server/src/api/controllers/ai/sharepointAuth.ts duplicates the exported helper of the same name in sdk/workspace/ai/rag/sharepoint.ts; import the exported one instead of re-defining it to avoid the two copies drifting apart.", "cat...
null
Budibase__budibase__18554
Budibase/budibase
18,554
defect
d68bc31821cfc8daa2a2f6782ca82ae5b5e26b22
873f632d65b5510b3921e4f20e2d3cacf84f2b36
[Added] Handle provisioned users when SCIM is disabled
## Description When SCIM is disabled, any users previously provisioned via SCIM remained in the system with no way to manage their lifecycle. This PR introduces an explicit flow to handle them. When an admin disables SCIM and clicks Save, a modal is shown asking them to choose what to do with SCIM-provisioned use...
diff --git a/packages/builder/src/settings/pages/auth/scim.svelte b/packages/builder/src/settings/pages/auth/scim.svelte index 081fab682a30..61da63b3093b 100644 --- a/packages/builder/src/settings/pages/auth/scim.svelte +++ b/packages/builder/src/settings/pages/auth/scim.svelte @@ -10,6 +10,9 @@ Input, Icon, ...
5
3
1
[{"id": "G0", "claim": "In the convert path only scimInfo and ssoId are stripped, so SCIM users who logged in via SSO can keep provider/providerType on their user doc, remain classified as SSO users by isPreventPasswordActions, and stay unable to use password login/reset flows.", "category": "correctness", "verdict": "...
null
BugiDev__react-native-calendar-strip__247
BugiDev/react-native-calendar-strip
247
defect
e75a2a74085812ec82c7827558e27df11ed3cde4
ab187b946ac73c73afb4a327b3fd491d937dec56
Support updateWeekView() when scroller enabled
Implementing updateWeekView() when scroller enabled as mentioned at #241. Also updating the TS def to reflect the latest updateWeekView()
diff --git a/index.d.ts b/index.d.ts index e52d46e..d397877 100644 --- a/index.d.ts +++ b/index.d.ts @@ -140,5 +140,5 @@ export default class ReactNativeCalendarStrip extends Component<CalendarStripPro setSelectedDate: (date: Moment | string) => void; getNextWeek: () => void; getPreviousWeek: () => void; - up...
1
1
1
[{"id": "G0", "claim": "When the given date is outside minDate/maxDate, scrollToDate should scroll to the nearest boundary (maxDate if the date exceeds it, minDate if it precedes it) — or at least warn — instead of silently doing nothing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "...
null
BuildOnViction__victionchain__478
BuildOnViction/victionchain
478
defect
c1a2b2698178cc3f30d42875ad05bcb6beb00c90
296d631d4cb8e15668c6c63dc528a54e0a807ec7
Support block hash for eth_getBlockReceipts JSON-RPC method
This PR help query block receipt with `eth_getBlockReceipts` with both block number and block hash. This PR had following change: - Use `rpc.BlockNumberOrHash` instead of `rpc.BlockNumber` for query in `GetBlockReceipts` method - Add unit test for block hash query Reference: https://github.com/ethereum/go-ethere...
diff --git a/core/blockchain.go b/core/blockchain.go index 8a58c13f8..4b17aa48d 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -2395,6 +2395,11 @@ func (bc *BlockChain) HasHeader(hash common.Hash, number uint64) bool { return bc.hc.HasHeader(hash, number) } +// GetCanonicalHash returns the canonical h...
2
2
0
[{"id": "G0", "claim": "A String() method should be added to BlockNumberOrHash (\"Please at func (bnh *BlockNumberOrHash) String() string\").", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The extra blank lines in the TestBlockNumberOrHash_UnmarshalJSON ...
null
BuilderIO__builder__3181
BuilderIO/builder
3,181
defect
c58bc3be910b47037bed8c99ea463cde07dc7d5e
c19f6f855e577c0e036b357829092641c47e1118
[fix] hover animations in gen2
## Description This PR adds hover animation support for Gen2 SDKs **Jira** https://builder-io.atlassian.net/browse/ENG-5278 **Loom** https://www.loom.com/share/1928768351e64d249af641a964062934 Closes #2889
diff --git a/.changeset/sixty-pugs-hide.md b/.changeset/sixty-pugs-hide.md new file mode 100644 index 00000000000..092e1787f9a --- /dev/null +++ b/.changeset/sixty-pugs-hide.md @@ -0,0 +1,11 @@ +--- +'@builder.io/sdk-react-nextjs': patch +'@builder.io/sdk-qwik': patch +'@builder.io/sdk-react': patch +'@builder.io/sdk-r...
2
1
0
[{"id": "G0", "claim": "The test should read the hovered style via `await expect(button).toHaveCSS(key, value)` as used elsewhere, instead of the `getComputedStyle` evaluate calls with their many `timeout` options.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
BuilderIO__builder__3205
BuilderIO/builder
3,205
defect
a309a4fae572d2900a8e57dc35f5353d97013b7c
11c065267fe49c0c3967b1fcddb63cee882fa820
fix: svelte styling to apply during ssr
## Description This PR updates the mitosis to the latest version where we've added the fix for svelte styling to apply during SSR. Ref Mitosis PR: https://github.com/BuilderIO/mitosis/pull/1393 _Screenshot_ If relevant, add a screenshot or two of the changes you made. **Jira** https://builder-io.atlassian...
diff --git a/packages/sdks-tests/src/specs/css-properties.ts b/packages/sdks-tests/src/specs/css-properties.ts new file mode 100644 index 00000000000..c64331c0fda --- /dev/null +++ b/packages/sdks-tests/src/specs/css-properties.ts @@ -0,0 +1,100 @@ +export const CSS_PROPERTIES = { + ownerId: 'ad30f9a246614faaa6a03374f...
1
1
1
[{"id": "G0", "claim": "The same CSS-properties test should also be rerun once with JavaScript disabled so that styles coming from SSR are covered.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
BuilderIO__builder__3250
BuilderIO/builder
3,250
defect
055278cbdb734d653be1b2ca91df6654589d406c
43dc04e955e39505452944ada3bbaf1deb02a422
fix: `query` option in gen2 sdks to correctly flatten the query object for mongodb
## Description This PR updates the query option to use `flattenMongoQuery` which is basically flatten but when we get an `$key` we just return the object as is as, so that it properly gets parsed in our API (mongo query). **Jira** https://builder-io.atlassian.net/browse/ENG-5268 **Loom** https://www.loom.com...
diff --git a/.changeset/spicy-cobras-count.md b/.changeset/spicy-cobras-count.md new file mode 100644 index 00000000000..2abfd13783f --- /dev/null +++ b/.changeset/spicy-cobras-count.md @@ -0,0 +1,11 @@ +--- +'@builder.io/sdk-react-nextjs': patch +'@builder.io/sdk-qwik': patch +'@builder.io/sdk-react': patch +'@builder...
2
1
0
[{"id": "G0", "claim": "The JSDoc on flattenMongoQuery should include examples illustrating the flattening transformation.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "After updating to the latest version of the SDK, a query containing $or (with...
null
BuilderIO__builder__3628
BuilderIO/builder
3,628
defect
fcf15f71797d682ea00cf79c4a10df14ee65f90c
75932387584ea30cb5c126dff303733c838867d8
EDU-239: Angular Gen 2 SSR editorial blueprints snippets
## Description This is part of the Angular Gen 2 editorial page in the blueprints, which was merged last night. @samijaber Please review it :)
diff --git a/packages/sdks-tests/src/snippet-tests/blueprints-editorial.spec.ts b/packages/sdks-tests/src/snippet-tests/blueprints-editorial.spec.ts index a64bd16440b..ba11da2c656 100644 --- a/packages/sdks-tests/src/snippet-tests/blueprints-editorial.spec.ts +++ b/packages/sdks-tests/src/snippet-tests/blueprints-edito...
3
2
0
[{"id": "G0", "claim": "The `<!-- Product info -->` comment in the angular-ssr product-editorial component template is redundant and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "GitGuardian detected a hardcoded generic high...
null
BuilderIO__builder__3635
BuilderIO/builder
3,635
defect
63af91948b08af2c16a324a03c74c2df886213b9
30ed0fa046cbfb8d5e4a890dfa3b3d7ac4992bd9
EDU-227: Angular Gen 2 - Product Details Blueprints
## Description This PR will add Angular Gen 2 none example to the Blueprints page in the docs. @samijaber @sidmohanty11 Please review :)
diff --git a/packages/sdks-tests/src/snippet-tests/blueprints-product-details.spec.ts b/packages/sdks-tests/src/snippet-tests/blueprints-product-details.spec.ts new file mode 100644 index 00000000000..371fd515e2a --- /dev/null +++ b/packages/sdks-tests/src/snippet-tests/blueprints-product-details.spec.ts @@ -0,0 +1,49 ...
3
1
0
[{"id": "G0", "claim": "A hardcoded secret (an API key literal) was detected in product-details.component.ts and should be investigated and remediated before merging.", "category": "security", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The unused `Content` import in product...
null
BuilderIO__builder__3662
BuilderIO/builder
3,662
defect
a974c2c261a3c89fe641a1ebe76c3a63be3e08d5
206ee94e5d8314fcc8196f7d037874db4757865a
EDU-248: Angular Gen 2 None - Custom Child component
## Description This PR introduces the Angular Gen 2 version of the Custom Child snippet within the custom components, which closely resembles the previously merged [custom child in the React framework](https://github.com/BuilderIO/builder/pull/3534/files#diff-ad9391cc4a5c924c5b6eb21f4dcdb11adeae273688919fe47e5bfbf71...
diff --git a/packages/sdks-tests/src/snippet-tests/custom-child.spec.ts b/packages/sdks-tests/src/snippet-tests/custom-child.spec.ts index aad4639a1da..a20fc9dcc87 100644 --- a/packages/sdks-tests/src/snippet-tests/custom-child.spec.ts +++ b/packages/sdks-tests/src/snippet-tests/custom-child.spec.ts @@ -1,19 +1,16 @@ ...
3
1
0
[{"id": "G0", "claim": "GitGuardian detected two hardcoded high-entropy secrets in packages/sdks/snippets/angular/src/app/custom-child/custom-child.component.ts and asks that they be investigated and remediated (revoked/rotated), warning that merging without remediation may compromise the associated services.", "catego...
null
BuilderIO__builder__3669
BuilderIO/builder
3,669
defect
3146ba3121c08b740d42c24c1a76c917255dccf5
0f5df26bceddc36f1df36958254879d1dfb0deaf
feat[gen2][apiBaseUrl] ENG-7147 allow user to pass custom apiHost for Gen2 SDKs
## Description Allow user to set baseUrl by making it a writable field of builder.class.ts **Link to JIRA ticket:** https://builder-io.atlassian.net/browse/ENG-7147
diff --git a/packages/sdks-tests/src/e2e-tests/hit-overridden-base-url.spec.ts b/packages/sdks-tests/src/e2e-tests/hit-overridden-base-url.spec.ts new file mode 100644 index 00000000000..199cd09228e --- /dev/null +++ b/packages/sdks-tests/src/e2e-tests/hit-overridden-base-url.spec.ts @@ -0,0 +1,20 @@ +import { expect }...
5
4
1
[{"id": "G0", "claim": "The new CustomApiBaseUrl type and its apiBaseUrl field should be renamed to apiHost, with a description like 'Sets the host of Builder API calls. (Defaults to global `https://cdn.builder.io`)'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
BuilderIO__builder__3681
BuilderIO/builder
3,681
defect
f2913fad3c887b2e6c6f24f3c89fcd54683599a6
4284c26b1780533048f439a054bc17db316f42a0
feat[gen1][core] ENG-7238 remove query API and apiEndpoint field
## Description Remove query API for Gen1 SDK Objectives: 1. Remove query API from Gen1 SDK. 2. Remove `apiEndpoint` and the code that depends on this field as an input. 3. Remove unwanted tests and modify existing tests. **Link to JIRA ticket:** https://builder-io.atlassian.net/browse/ENG-7238
diff --git a/packages/core/src/builder.class.test.ts b/packages/core/src/builder.class.test.ts index 113f31d9b3a..f6924b58b92 100644 --- a/packages/core/src/builder.class.test.ts +++ b/packages/core/src/builder.class.test.ts @@ -499,7 +499,7 @@ describe('flushGetContentQueue', () => { ); }); - test("hits que...
2
1
0
[{"id": "G0", "claim": "The inline format check at builder.class.ts:2544 duplicates the isApiCallForCodegen condition and should reuse that helper by moving its declaration above the line and writing `if (isApiCallForCodegen)` instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": ...
null
BuilderIO__builder__3717
BuilderIO/builder
3,717
defect
a25a805ca5dded148e48d9133f18ee188b28f134
52ea4cc584f18c9d80b40369e937894535be86a6
fix[gen2-sdks]: accordion visual editing and order
## Description for visual editing, we needed to pass the correct path. In gen1, if `component.options` is not already prefixed we add them to the path: https://github.com/sidmohanty11/builder/blob/fix/accordion-gen2/packages/react/src/components/builder-blocks.component.tsx#L48 so passing just `item.$index.detail` d...
diff --git a/.changeset/breezy-dolphins-drive.md b/.changeset/breezy-dolphins-drive.md new file mode 100644 index 00000000000..33d556feaaf --- /dev/null +++ b/.changeset/breezy-dolphins-drive.md @@ -0,0 +1,11 @@ +--- +'@builder.io/sdk-angular': patch +'@builder.io/sdk-qwik': patch +'@builder.io/sdk-react': patch +'@bui...
3
2
1
[{"id": "G0", "claim": "Improve `Blocks` to add the `component.options.` path prefix itself when it is not present, so user-supplied paths can be simplified.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A hardcoded generic high-entropy secret was detec...
null
BuilderIO__builder__3719
BuilderIO/builder
3,719
defect
8fea0dbe292df5cf8ab0ece1c47ac116c3bc1281
130cfc33c15d40215173f49f08fe5d364a69c304
fix: standardize locale handling and pass through to personalization …
…containers attributes when filtering This change makes the following two ways of setting locale interchangeable: ```ts builder.get(..., { userAttributes: { locale: 'en-us' } }) builder.get(..., { locale: 'en-us' }) ``` Additionally, the `locale` prop on `BuilderComponent` is now properly considered when calc...
diff --git a/.changeset/mighty-ways-bathe.md b/.changeset/mighty-ways-bathe.md new file mode 100644 index 00000000000..b09e7a2d357 --- /dev/null +++ b/.changeset/mighty-ways-bathe.md @@ -0,0 +1,6 @@ +--- +"@builder.io/react": patch +"@builder.io/sdk": patch +--- + +fix: standardize locale handling and pass through loca...
3
2
0
[{"id": "G0", "claim": "The locale standardization added by this PR should also be applied to fetchEntries and fetchOneEntry in the gen2 SDKs.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "GitGuardian reports 11 hardcoded high-entropy secrets in the P...
null
BuilderIO__builder__3721
BuilderIO/builder
3,721
defect
5e88efa071a6f491e2af0e78dc0ef3f09199c4d7
93e5891ffadc856f57c945d9ae399d870425258f
Refactor: Angular Gen 2 SDK - Custom Components
## Description As per Steve’s feedback, I have made a few changes in the custom component code snippet. I'm creating this mega PR to achieve speed when updating the docs. FYI: Steve doesn't want unnecessary lines of code—styles, in fact. Kapunahele asked me to reduce that, and this PR is more about reducing inl...
diff --git a/packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts b/packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts index 8a856e48049..963e196ba8b 100644 --- a/packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts +++ b/packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts @@ -1,18 +1...
4
3
1
[{"id": "G0", "claim": "The React custom-tabs snippet needs updating to match the new `blocks` prop name that the Angular snippet was renamed to.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Remove the customStyles styleProp/HostBinding styling fr...
null
BuilderIO__builder__3724
BuilderIO/builder
3,724
defect
5e88efa071a6f491e2af0e78dc0ef3f09199c4d7
f4ba3cc85baa8d5df0340e21609030238985d88c
fix[gen2-nextjs]: import component info objects from client modules
## Description Jira https://builder-io.atlassian.net/browse/ENG-7324 _Screenshot_ If relevant, add a screenshot or two of the changes you made.
diff --git a/packages/sdks-tests/src/e2e-tests/custom-components.spec.ts b/packages/sdks-tests/src/e2e-tests/custom-components.spec.ts index e31f692cb0e..acc03e812da 100644 --- a/packages/sdks-tests/src/e2e-tests/custom-components.spec.ts +++ b/packages/sdks-tests/src/e2e-tests/custom-components.spec.ts @@ -4,6 +4,8 @@...
2
2
1
[{"id": "G0", "claim": "Keep the model-based filtering of customComponents that this change removed from content.lite.tsx by moving that logic into block.lite.tsx, so that the registered component infos and the rendered components match.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "i...
null
BuilderIO__builder__3748
BuilderIO/builder
3,748
defect
83f46fd6adbd181a2c7c2011b8d0bd3909ab3332
934c5e764a632128eea5a3cdbf19e8a66ecf3975
fix[gen1][core] ENG-7507 added class field apiEndpoint$
## Description API Endpoint should be set at the class level and not at the options level **Jira ticket** https://builder-io.atlassian.net/browse/ENG-7507 **Loom** https://www.loom.com/share/ffe8bd20e576420f89606a62387f05f5
diff --git a/packages/core/src/builder.class.test.ts b/packages/core/src/builder.class.test.ts index 2bf292eb3b6..92821de375b 100644 --- a/packages/core/src/builder.class.test.ts +++ b/packages/core/src/builder.class.test.ts @@ -536,9 +536,9 @@ describe('flushGetContentQueue', () => { test("hits content url when api...
3
2
0
[{"id": "G0", "claim": "The pull request needs a changeset.", "category": "process", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request contains four hardcoded secrets (in packages/react/src/blocks/Video.tsx and packages/sdks/src/blocks/video/component-info.ts) tha...
null
BuilderIO__builder__3750
BuilderIO/builder
3,750
defect
bf9ccaa3c3d6feb6468ed496d865552b5f2ab345
03214c0a4154193e49476d09c62e650a5faaf649
EDU-159: Remix Gen1 - Advanced child sub components
## Description This PR introduces remix gen 1 example for Advanced child sub-components in the custom components page in the docs. ticket: https://builder-io.atlassian.net/browse/EDU-324 @samijaber Please review
diff --git a/packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts b/packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts index 963e196ba8b..7dcb3b4cae5 100644 --- a/packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts +++ b/packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts @@ -3,7 +3,...
8
7
0
[{"id": "G0", "claim": "The spec adds a separate gen1-remix-only test instead of enabling the existing editable-regions tests for the remix package.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The loader should get the URL path from Remix's ($slug) fi...
null
BuilderIO__builder__3752
BuilderIO/builder
3,752
defect
18ebdc005c9585b35e6a57869c93ae399b20cef4
7f0a194030e0b712c42bbb7e7e8b7143e8ccac6a
fix[gen1][core] ENG-7515 add query.id when hitting content API for symbols
## Description In Gen1 SDK, when content API is hit for Symbols, it does not render symbols properly **Jira ticket** https://builder-io.atlassian.net/browse/ENG-7515 **Loom** https://www.loom.com/share/90d3b6e317bb493e98ad418ac2f0b7a0
diff --git a/packages/core/src/builder.class.test.ts b/packages/core/src/builder.class.test.ts index 2bf292eb3b6..51bf6070c07 100644 --- a/packages/core/src/builder.class.test.ts +++ b/packages/core/src/builder.class.test.ts @@ -768,4 +768,29 @@ describe('flushGetContentQueue', () => { { headers: { Authorization...
2
2
1
[{"id": "G0", "claim": "The query.id assignment should be set in Symbol.tsx instead of in core builder.class.ts, because the model name there might be something other than 'symbol'.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The unit test checks the ...
null
BuilderIO__builder__3753
BuilderIO/builder
3,753
defect
18ebdc005c9585b35e6a57869c93ae399b20cef4
c8158e73705b50b67badec2db8b5f4a6e5b12c2a
EDU-332: React Gen 1 - Custom Components
## Description This PR adds react none gen1 code to the snippets repo and helps us add them to the docs. @samijaber Please review. JIRA: https://builder-io.atlassian.net/browse/EDU-332 https://builder-io.atlassian.net/browse/EDU-331
diff --git a/packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts b/packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts index 963e196ba8b..b17914036b7 100644 --- a/packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts +++ b/packages/sdks-tests/src/snippet-tests/advanced-child.spec.ts @@ -3,7 +3,...
8
8
0
[{"id": "G0", "claim": "The template literal `column1.blocks` should be a plain string dataPath=\"column1.blocks\".", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The template literal `column2.blocks` should be a plain string dataPath=\"column2....
null
BuilderIO__builder__3782
BuilderIO/builder
3,782
defect
40d572d303374546cad9ac33cac89aaf6c6ba998
ad2bb6177ee301c21be6f603f557b179e18f1477
fix[gen1][gen2] ENG-7760 onChange does not fire when an `async` function is passed to it
## Description onChange does not fire when an `async` function is passed to it **Jira ticket** https://builder-io.atlassian.net/browse/ENG-7760 **Loom** Gen1: https://www.loom.com/share/b6012b2b37f54944ab94074c264f3bb6 Gen2: https://www.loom.com/share/ca3d895ddf5d4b69b13eab341003dde1
diff --git a/packages/core/src/builder.class.ts b/packages/core/src/builder.class.ts index dc3678a20a0..9d1aea4704d 100644 --- a/packages/core/src/builder.class.ts +++ b/packages/core/src/builder.class.ts @@ -1104,9 +1104,15 @@ export class Builder { // 2. `name(args) => {code}` // 3. `(args) => {}` ...
3
3
2
[{"id": "G0", "claim": "The new async-function serialization should get a test — an e2e test if feasible, or, since that may be hard, at the very least unit tests for `serializeFn` covering the expected inputs: starts with function, starts with async, with parens, without parens.", "category": "testing", "verdict": "su...
null
BuilderIO__builder__3787
BuilderIO/builder
3,787
defect
2fc9fc5ab5ef96dc618d950d8a8fb45652eb690a
a6995c0687a724a5c3f317f1fad5002263b56406
fix[gen1][core] ENG-7841 change to queryParams
## Description Gen1 SDK: use same Content API defaults as Gen2 SDK
diff --git a/packages/core/src/builder.class.ts b/packages/core/src/builder.class.ts index 0846df5b4ad..b965c5e17a4 100644 --- a/packages/core/src/builder.class.ts +++ b/packages/core/src/builder.class.ts @@ -2640,7 +2640,9 @@ export class Builder { const isApiCallForCodegenOrQuery = isApiCallForCodegen || this.ap...
2
2
2
[{"id": "G0", "claim": "The content-endpoint noTraverse/includeRefs defaults must be set before the customer-override code blocks, and the redundant noTraverse default (already handled by getAll) removed, so customer-provided values can still override them.", "category": "correctness", "verdict": "supported", "priority...
null
BuilderIO__builder__3809
BuilderIO/builder
3,809
defect
c82242246015ad73bc3908e7f8a2cff737d21752
c439b1641da8c62807c3a76414bfa46aacf1a750
fix[angular-gen2]: embed and custom code block and text block angular sanitizing html warning
## Description Uses https://angular.dev/api/platform-browser/DomSanitizer to mark text as safe html to use inside innerHTML. As text is already sanitized from the HTML editor we should be able to bypass it safely. This only shows up in the dev server and we don't receive these warnings in a prod build. Fixes Embe...
diff --git a/.changeset/chatty-islands-camp.md b/.changeset/chatty-islands-camp.md new file mode 100644 index 00000000000..d053da4d6ec --- /dev/null +++ b/.changeset/chatty-islands-camp.md @@ -0,0 +1,5 @@ +--- +"@builder.io/sdk-angular": patch +--- + +Fix: mark text as safe to remove the Angular stripping/warning messa...
3
3
1
[{"id": "G0", "claim": "The angular tests may be failing sporadically, and it is unclear whether those failures predate this pull request or are caused by it.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The plugin's selector string-matching on the ge...
null
BuilderIO__builder__3859
BuilderIO/builder
3,859
defect
acef042a188f98f94af24a6c0eb9b1d42443ac94
a8bb1203ada3e0050bba695ce3a5ef104ece97c1
fix[angular-gen2]: animations support
## Description Jira https://builder-io.atlassian.net/browse/ENG-8055 Loom https://www.loom.com/share/a0940137c1d84d0aa6bf2a361493ee1e
diff --git a/.changeset/old-dolls-brush.md b/.changeset/old-dolls-brush.md new file mode 100644 index 00000000000..a42ef5d4be6 --- /dev/null +++ b/.changeset/old-dolls-brush.md @@ -0,0 +1,5 @@ +--- +"@builder.io/sdk-angular": patch +--- + +Fix: support to animate a block from Builder diff --git a/packages/sdks-tests/sr...
1
1
0
[{"id": "G0", "claim": "Reword the changeset description from \"Fix: support to animate a block from Builder\" to \"Fix: support Builder's block animations.\"", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
BuilderIO__builder__3891
BuilderIO/builder
3,891
defect
f9b85528015839287fbf092470bc57c38344d329
157e72f90522a53a41a26bed75a61ed05d2d6c3b
Vue SDK: stop passing down unused props
## Description https://builder-io.atlassian.net/browse/ENG-7615
diff --git a/packages/sdks-tests/src/helpers/index.ts b/packages/sdks-tests/src/helpers/index.ts index 2ed2e5a062a..8bc4a51fb9d 100644 --- a/packages/sdks-tests/src/helpers/index.ts +++ b/packages/sdks-tests/src/helpers/index.ts @@ -37,6 +37,16 @@ async function screenshotOnFailure( } } +const isIgnorableError = ...
4
3
2
[{"id": "G0", "claim": "The PR's rewrite of the angular plugin's replaceAll ('attributes: this.attributes,' -> 'attributes: this.wrappedPropsWithAttributes.attributes,') would break the plugin's ngOnChanges override below it, and the author asks what to do, offering to bring the attributes prop back in this plugin if t...
null
BuilderIO__builder__3896
BuilderIO/builder
3,896
defect
7f17ab5116ea827760b188c40e7a814cb7f8a5ad
46822f84a5d0f81c8101463ebcf308b7b1825aff
fix: ensure correct variation tracking for impressions
## Description ### **Pull Request Description** #### **What Changed?** - Fixed an issue where **two impressions** were being tracked—one for the default content and another for the variation. - Updated the logic to ensure that **only the variation impression is tracked**, preventing duplicate tracking. ...
diff --git a/packages/sdks-tests/src/e2e-tests/ab-test.spec.ts b/packages/sdks-tests/src/e2e-tests/ab-test.spec.ts index bff8ba05b7c..f30e45e7eec 100644 --- a/packages/sdks-tests/src/e2e-tests/ab-test.spec.ts +++ b/packages/sdks-tests/src/e2e-tests/ab-test.spec.ts @@ -134,6 +134,16 @@ test.describe('A/B tests', () => {...
3
3
2
[{"id": "G0", "claim": "With the change, each <EnableEditor> rendered per A/B variant still makes its own impression call, so duplicate /track impressions are sent; the author should change `if (shouldTrackImpression)` to `if (shouldTrackImpression && variationId === winningVariantId)` so only the winning variant track...
null
BuilderIO__builder__3937
BuilderIO/builder
3,937
defect
8cd527d629bfc48a3e817eb06d78ad60b1b4b010
872634a9d9ae802c117e6176c275377bfd2f461e
fix[dynamic-renderer]: ENG-8440 Button links cannot be used in Angular Gen 2 SDK
## Description This PR replaces the switch-case logic with a Map for dynamically selecting components in `dynamic-renderer`. The previous approach caused an assertion error when users typed. _Loom_ https://www.loom.com/share/1229e7974db44743921df588ca1bd1bb?sid=ea3ccc9c-41de-4efe-b499-f61ca9244cbd
diff --git a/packages/sdks/output/angular/scripts/generate-dynamic-renderer.mjs b/packages/sdks/output/angular/scripts/generate-dynamic-renderer.mjs index fa6c6bd8a20..29ce600c1ec 100644 --- a/packages/sdks/output/angular/scripts/generate-dynamic-renderer.mjs +++ b/packages/sdks/output/angular/scripts/generate-dynamic-...
4
3
2
[{"id": "G0", "claim": "The map-based component resolution needs to consider the case of unknown tags resolving to dynamic elements (the handling added by PR #3892), which the S1 refactor left out.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add ...
null
BuilderIO__builder__3967
BuilderIO/builder
3,967
defect
93999c0f9d39fa9bd62fae3214d440158ddcb06c
fa6a87a7064fd3082e2d1fff3f3d7da2827e8bce
fix: [ENG-8172] Content Inputs of type "list" do not update in the preview when changed
## Description This PR fixes an issue where content inputs of type "list" in Gen 2 SDKs were not updating in the preview when modified. Previously, changes to list item properties within symbols required a manual browser refresh to reflect updates. ### **Changes Made:** - Resolved the reactivity issue causin...
diff --git a/.changeset/short-poets-reflect.md b/.changeset/short-poets-reflect.md new file mode 100644 index 00000000000..76676a1a001 --- /dev/null +++ b/.changeset/short-poets-reflect.md @@ -0,0 +1,12 @@ +--- +"@builder.io/sdk-angular": patch +"@builder.io/sdk-react-nextjs": patch +"@builder.io/sdk-qwik": patch +"@bu...
6
5
3
[{"id": "G0", "claim": "GitGuardian detected a possible hardcoded high-entropy secret in packages/sdks/snippets/hydrogen/app/routes/category.$handle.tsx (commit 14efe4875f7a); the findings should be investigated and remediated.", "category": "security", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}...
null
BuilderIO__builder__3975
BuilderIO/builder
3,975
defect
e3ce1d80af54cbad9a4ab982bf97011cbc6a02a6
24b8a821c001715d39bc0bfe60aeb002d6642ed7
fix: [ENG-8644] overriding omit in fetchOneEntry to be empty string
### **Description:** This PR fixes an issue where `meta.componentsUsed` is omitted by default when using `fetchOneEntry`. Previously, to include `meta.componentsUsed`, you had to explicitly set `omit: ' '` (a space) as a workaround. ### **Changes Made:** - Updated the logic to include `meta.componentsUsed` b...
diff --git a/packages/core/src/builder.class.ts b/packages/core/src/builder.class.ts index 2b33370dc5f..ed0829620e0 100644 --- a/packages/core/src/builder.class.ts +++ b/packages/core/src/builder.class.ts @@ -2503,7 +2503,7 @@ export class Builder { const queryParams: ParamsMap = { // TODO: way to force a...
3
2
1
[{"id": "G0", "claim": "Add tests for the omit-handling change, covering both Generations SDKs, using the existing hit-content-api spec as a reference.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request ships without a changeset; one should...
null
BuilderIO__builder__3985
BuilderIO/builder
3,985
defect
fa587da7d48d8d83d27c0bce6ce6011d687ee13f
93a6d2f6d4beded01bdc1a68cfe2454fbb184530
fix[ENG-8003]: Changing the entry on a symbol does not update the preview window
## Description This PR fixes an issue where symbol content was not updating correctly. The fix compares the previous symbol entry with the incoming symbol entry—if they are not equal, it triggers `fetchSymbolContent` to ensure the latest content is loaded. **Changes Made:** - Added a comparison check between...
diff --git a/packages/sdks-tests/src/e2e-tests/editing.spec.ts b/packages/sdks-tests/src/e2e-tests/editing.spec.ts index e9a14a3adac..0907b50c1dd 100644 --- a/packages/sdks-tests/src/e2e-tests/editing.spec.ts +++ b/packages/sdks-tests/src/e2e-tests/editing.spec.ts @@ -20,7 +20,10 @@ import { EDITING_STYLES } from '../s...
3
3
2
[{"id": "G1", "claim": "The new e2e test is missing several changes needed to properly mock the fetch calls, as explained in the reviewer's Loom.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The new e2e test fails because in the visual editor the mock...
null
BuilderIO__builder__4050
BuilderIO/builder
4,050
defect
804a4587ccefa385bea9ac5f401d9b5baadd07c3
036a133a27f3749d1544a57d026ed35d5f28db1c
fix[gen1][react]: ENG-8739 change to makeFn() for handling errors when serialising functions
## Description Changed makeFn() for handling errors when serialising functions **JIRA Ticket** https://builder-io.atlassian.net/browse/ENG-8739 **PR that caused the hydration error** https://github.com/BuilderIO/builder/pull/3396 **Steps to reproduce** See this comment - https://builder-io.atlassian.net/...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11393d354e4..527158e7a3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -225,6 +225,9 @@ jobs: cache-node-modules: true cache-install-state: true + - name: Test React SDK + run: yarn g:nx ...
3
1
0
[{"id": "G0", "claim": "sidmohanty11 suggests that instead of the new try/catch the PR should handle passing of functions correctly, asking whether the value (obj.getSync(key)) should simply be returned without parsing when it is not an object.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "i...
null
BuilderIO__builder__4097
BuilderIO/builder
4,097
defect
95c27d88f9b3d5eccb8580ebdb2abeaf20f63fe6
232b80d29cad9d8888eea991c7a219bdf5f2d4b5
feat(Raw:Img): ENG-9527 Added new inputs for raw:img to handle the metadata
## Description Previously, images imported from sources like Figma were treated as basic img tags and lacked the advanced editing capabilities of Builder's Image component (e.g., aspect ratio, overlays, etc.). This created an inconsistent user experience. This change ensures that all images, regardless of their sour...
diff --git a/.changeset/cuddly-pillows-battle.md b/.changeset/cuddly-pillows-battle.md new file mode 100644 index 00000000000..0483ef7dead --- /dev/null +++ b/.changeset/cuddly-pillows-battle.md @@ -0,0 +1,6 @@ +--- +"@builder.io/react": patch +"@builder.io/sdk": patch +--- + +FEAT: Updated 'Raw:Img' componentInfo with...
4
4
1
[{"id": "G0", "claim": "The changeset needs to cover the gen2 SDK packages too, not just @builder.io/react and @builder.io/sdk.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether the aspectRatioCss styling change made in the gen2 SDK img....
null
BuilderIO__builder__4102
BuilderIO/builder
4,102
defect
95c27d88f9b3d5eccb8580ebdb2abeaf20f63fe6
8ed5968a59c1b57c887f553f0563a1464ec83674
fix[gen1][core]: ENG-9774 properly handle query when $-mongo-operator is present for content API
## Description `query` with `$or` is not part of Content API when we use `builder.get()` but Query API includes `query` with `$or` It works on Gen-2 SDK which also uses Content API **JIRA Ticket** https://builder-io.atlassian.net/browse/ENG-9774 **Steps to test** 1. Clone repo https://github.com/BuilderIO/o...
diff --git a/.changeset/dry-ghosts-doubt.md b/.changeset/dry-ghosts-doubt.md new file mode 100644 index 00000000000..5dbe2186db5 --- /dev/null +++ b/.changeset/dry-ghosts-doubt.md @@ -0,0 +1,5 @@ +--- +"@builder.io/sdk": patch +--- + +Fix: Corrected the conversion of query-objects with $-mongo-operators when passed to ...
3
2
0
[{"id": "G0", "claim": "Look at the tests from the content API and add similar query-handling tests there if they are not already present.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a code comment explaining why shallow equality is being checked...
null
BuilderIO__builder__4162
BuilderIO/builder
4,162
defect
220b988e748e65a0e7d87f2f606c7475a80e522c
bc31a8cbb921e288a137ce58eaf40c15225a8103
[ENG-10194] Angular SDK – reset builder-context when content id changes
## Description • Detect `@Input() content` switch (id differs from current) • Re-initialise `builderContextSignal.content` & `rootState` • Regenerate AB-test visibility script This ensures repeaters/blocks re-render correctly after SSR refresh and route reuse, eliminating the need for custom `RouteReuseStra...
diff --git a/packages/sdks/src/components/content/content.lite.tsx b/packages/sdks/src/components/content/content.lite.tsx index 81ef2c24817..5ff552bd4c4 100644 --- a/packages/sdks/src/components/content/content.lite.tsx +++ b/packages/sdks/src/components/content/content.lite.tsx @@ -1,6 +1,7 @@ import { Show, o...
4
3
2
[{"id": "G0", "claim": "The onUpdate hook's dependency array omits props.data and props.locale, which can leave rootState stale, and testVariationId is handled inconsistently between initial setup and updates (non-null assertion vs empty-string fallback), potentially affecting AB-test functionality.", "category": "corr...
null
BuilderIO__builder__4189
BuilderIO/builder
4,189
defect
130008f900a92c17efeb12c1bc5572dd86cea5a6
337dc8728ecf7b6de889195f05c11cd7297a0957
fix: missing support for enrichOptions
## Purpose Add support for `enrichOptions` parameter to the Content API, allowing users to control the depth level of reference enrichment when fetching content. ## Approach and changes - [x] added `enrichOptions` property with `enrichLevel` and `model` support to `GetContentOptions` type - [x] implemented `e...
diff --git a/packages/core/src/builder.class.test.ts b/packages/core/src/builder.class.test.ts index 6c65b362fb1..e750c7fa1b5 100644 --- a/packages/core/src/builder.class.test.ts +++ b/packages/core/src/builder.class.test.ts @@ -1,4 +1,4 @@ -import { Builder, GetContentOptions } from './builder.class'; +import { Builde...
1
1
0
[{"id": "G0", "claim": "The pull request should add a changeset file (using `yarn g:changeset`) so the change is picked up by the release flow.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
BuilderIO__builder__4261
BuilderIO/builder
4,261
defect
027079e70c095874ce2a59a128922703a2e5913c
d22f9a465a373d2b60167a6bc00e82eedd6e7288
fix: ENG-10321 Gen 2 SDK - Issue with Conversion tracking from VE native click track event
## Description - Gen 2 SDK - Issue with Conversion tracking from VE native click track event - Updated scripts to make the development a bit easier. Now while running the command start:react ( or any other gen2 sdk ) both the mitosis compilation and the sdk build will run when there are any changes made to src or o...
diff --git a/packages/sdks-tests/src/e2e-tests/tracking.spec.ts b/packages/sdks-tests/src/e2e-tests/tracking.spec.ts index 8830f3395bb..1d85dcf4e04 100644 --- a/packages/sdks-tests/src/e2e-tests/tracking.spec.ts +++ b/packages/sdks-tests/src/e2e-tests/tracking.spec.ts @@ -196,5 +196,118 @@ test.describe('Tracking', () ...
5
2
2
[{"id": "G0", "claim": "The `_start` script builds workspace names as `@builder.io/sdk-$SDK`, which do not match the actual workspace names for some SDK targets (`reactNative`, `rsc`), so running `start:reactNative` or `start:rsc` will fail because yarn cannot find those workspaces.", "category": "correctness", "verdic...
null
BuilderIO__builder__4307
BuilderIO/builder
4,307
defect
e73e2ae10e6744501ee788e88353a411cdb3faec
9214940895a9c48b20a156ee4d8ddf4d69e315d1
feat[gen2]: ENG-11602 add support for global symbols
## Description - Added code to support the global symbols for Gen2 SDKs. ([ENG-11602](https://builder-io.atlassian.net/browse/ENG-11602)) - Just made a simple change in the way we fetch the symbol i.e the apiKey - for global symbol, will use the symbol.ownerId instead of the builderContext apiKey. _Screenshot_ <i...
diff --git a/packages/sdks/src/blocks/symbol/symbol.helpers.ts b/packages/sdks/src/blocks/symbol/symbol.helpers.ts index 762ff853a32..d42406a87ef 100644 --- a/packages/sdks/src/blocks/symbol/symbol.helpers.ts +++ b/packages/sdks/src/blocks/symbol/symbol.helpers.ts @@ -10,6 +10,8 @@ export interface SymbolInfo { cont...
4
1
0
[{"id": "G0", "claim": "SymbolInfo is independently declared in both symbol.helpers.ts and symbol.types.ts and this PR adds ownerId and global to both copies, so if the definitions ever diverge type mismatches could go unnoticed; symbol.helpers.ts should import SymbolInfo from symbol.types.ts instead of redeclaring it....
null
BuilderIO__builder__4352
BuilderIO/builder
4,352
defect
f028d5bd3dd434c63ca872f887076ffec8898dcd
f59f949ba5c8bf5072484916c2aade0bdc02979a
feat[getAll]: ENG-11765 add `fetchTotalCount` param from Content API as an option for getAll in SDKs
## Description The Content API (`/api/v3/content/:model`) already supports a `fetchTotalCount` query parameter. When `fetchTotalCount=true` is passed, the server: 1. Runs a `countDocuments` query in parallel with the data fetch 2. Returns `{ results: BuilderContent[], totalCount: number }` instead of the usual `...
diff --git a/packages/core/src/builder.class.test.ts b/packages/core/src/builder.class.test.ts index e750c7fa1b5..37a93242eb7 100644 --- a/packages/core/src/builder.class.test.ts +++ b/packages/core/src/builder.class.test.ts @@ -1391,4 +1391,56 @@ describe('getAll', () => { { headers: { Authorization: `Bearer ${...
8
5
3
[{"id": "G0", "claim": "On the server side, the `key` computed in `getAll` is `undefined` while `queueGetContent` stores `totalCountByKey` under the model name, so the `.then()` callback short-circuits and server-side `fetchTotalCount: true` always returns zero totalCount.", "category": "correctness", "verdict": "suppo...
null
BuilderIO__builder__4430
BuilderIO/builder
4,430
defect
f4231a60671acf32fa9916e8c041174be7d4f3de
e8cc5a198d9ca2453fe6e272e640f8ae7b19ac34
fix[gen1][react]: ENG-11759 update sizes attribute calculation for img
## Description - Previously we were directly converting image width from % to vw for the `sizes` attribute for the `img`. - We would end up fetching larger images without respecting the parent containers width. - Now added a `auto` field for the `sizes` attribute. - `auto` helps in automatically fetching the right ...
diff --git a/packages/react/src/blocks/Image.tsx b/packages/react/src/blocks/Image.tsx index cc66203d44d..eea037ab043 100644 --- a/packages/react/src/blocks/Image.tsx +++ b/packages/react/src/blocks/Image.tsx @@ -298,11 +298,16 @@ class ImageComponent extends React.Component<any, { imageLoaded: boolean; load: cons...
3
3
0
[{"id": "G0", "claim": "Move the newly exposed sizes option object to the bottom of the advanced options list, since it is a new and maybe niche attribute to show.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider always adding 'auto, ' by default ...
null
BuilderIO__mitosis__1636
BuilderIO/mitosis
1,636
defect
e9cfef0ef38a82872ef6a1b0a825c8c74895029a
d943ad188add4ca7a4ae5932b217ba0934d9b369
feat: add additional plugin type to run before or after cli build pro…
…cess ## Description Please provide the following information: Adapted the code changes from this [PR](https://github.com/BuilderIO/mitosis/pull/1108) to enable a new plugin type to run before/after cli build process. closes #1108 Make sure to follow the PR preparation steps in [CONTRIBUTING.md](../CONTR...
diff --git a/.changeset/lovely-deers-change.md b/.changeset/lovely-deers-change.md new file mode 100644 index 0000000000..1c24934788 --- /dev/null +++ b/.changeset/lovely-deers-change.md @@ -0,0 +1,6 @@ +--- +'@builder.io/mitosis': patch +'@builder.io/mitosis-cli': patch +--- + +[All] add additional ``build`` type for ...
1
1
1
[{"id": "G0", "claim": "The per-target plugin invocation added in build() after generation should run the 'post' build plugins instead of the 'pre' build plugins.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
BuilderIO__mitosis__1696
BuilderIO/mitosis
1,696
defect
f578a66fd85b28274a0f40fa47157af83a7652c8
06ff79e21337ac9a0591b30afdfa7f8bac08d1ae
fix: issue with eslint plugin not allowing useDefaultProps
## Description Please provide the following information: There was an issue with eslint plugin showing an error when using `useDefaultProps` outside of the component Make sure to follow the PR preparation steps in [CONTRIBUTING.md](../CONTRIBUTING.md#preparing-your-pr) before submitting your PR: - [x] forma...
diff --git a/.changeset/thirty-oranges-refuse.md b/.changeset/thirty-oranges-refuse.md new file mode 100644 index 0000000000..549e1f8197 --- /dev/null +++ b/.changeset/thirty-oranges-refuse.md @@ -0,0 +1,5 @@ +--- +'@builder.io/eslint-plugin-mitosis': patch +--- + +Fix issue with plugin marking 'useDefaultProps' as an ...
2
2
2
[{"id": "G0", "claim": "Add a test exercising useDefaultProps to cover the newly allowed hook.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The rule's error message should say that module-scope hooks are allowed, not only import declarations, the comp...
null
BuilderIO__mitosis__1736
BuilderIO/mitosis
1,736
defect
5dd61e22aeb540f48478542f85cd16c7e3f0cceb
97da578480d3740d2d7271e50cd0462d6eba9185
feat: add escapeInvalidCode flag, drop invalid bindings
## Description The team would like to explore ways of fixing the input Builder JSON when there are things like syntax errors. To do this, we are adding an `escapeInvalidCode` to the Builder JSON parser. When enabled, invalid code bindings will be preserved in quotes so as to not cause Babel to crash. When disabled, in...
diff --git a/.changeset/ninety-dolphins-type.md b/.changeset/ninety-dolphins-type.md new file mode 100644 index 0000000000..03deb1cc07 --- /dev/null +++ b/.changeset/ninety-dolphins-type.md @@ -0,0 +1,5 @@ +--- +'@builder.io/mitosis': minor +--- + +Builder: add escapeInvalidCode flag diff --git a/packages/core/src/__te...
1
1
0
[{"id": "G0", "claim": "Even when `escapeInvalidCode` is false, the code should still be checked for validity and invalid bindings dropped altogether, in the spirit of failing gracefully (raised for both builderElementToMitosisNode and getStyleStringFromBlock).", "category": "design", "verdict": "supported", "priority"...
null
BuilderIO__mitosis__1768
BuilderIO/mitosis
1,768
defect
52d17af77bdd2ffb8e510cd8f430c48cfb56f96e
fecda8a4b03420379ea4971756ca19b2344f9f8e
feat: add `layerLocked` and `groupLocked` attribute support for builder
## Description Please provide the following information: - What changes you made: - add `layerLocked` and `groupLocked` attribute support for builder - modify the builder parser to include the `layerLocked` and `groupLocked` properties in builder json as attributes in the parsed mitosis json. - modify...
diff --git a/.changeset/thirty-falcons-fold.md b/.changeset/thirty-falcons-fold.md new file mode 100644 index 0000000000..a0e5c0c931 --- /dev/null +++ b/.changeset/thirty-falcons-fold.md @@ -0,0 +1,5 @@ +--- +'@builder.io/mitosis': patch +--- + +feat: add `layerLocked` and `groupLocked` attribute support for builder js...
4
4
1
[{"id": "G0", "claim": "The new test fixtures should use `'@type': '@builder.io/sdk:Element' as const` instead of `as any` so the object literals get proper type checking, and the same applies to the other instances.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id...
null
BuilderIO__mitosis__1774
BuilderIO/mitosis
1,774
defect
65f3324be9772366da000b4ad6f8fdd0a098da93
b524d089953e2217f3d977019d7f8ff1174558ca
nkoech/ENG-9389/fix issue where bindings' responsiveStyles keys (when destructured) aren't well accessed.
Refer to discussion: [ENG-9389](https://builder-io.atlassian.net/jira/software/c/projects/ENG/boards/37?assignee=712020%3A54cb952f-8cfc-48a0-8691-34d45b8f9d49&selectedIssue=ENG-9389) [ENG-9389]: https://builder-io.atlassian.net/browse/ENG-9389?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ...
diff --git a/packages/core/src/__tests__/builder/responsive-styles.test.ts b/packages/core/src/__tests__/builder/responsive-styles.test.ts new file mode 100644 index 0000000000..bcf77a99fe --- /dev/null +++ b/packages/core/src/__tests__/builder/responsive-styles.test.ts @@ -0,0 +1,112 @@ +import { BuilderElement } from...
7
7
0
[{"id": "G0", "claim": "The new tests should convert the Builder block to Mitosis JSON and check inline snapshots, as done in the referenced commit, so the change also gets integration coverage of the full conversion flow.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
BuilderIO__mitosis__1787
BuilderIO/mitosis
1,787
defect
993fd9e53243ed9de5ccb19ba2d4653efbd1d9d2
4123bfcb14edf9e718a79fba5e74b9d0cb5eb9cd
Add symbol name serialization and inputs to level props
# Symbol AI Improvements: Named Components and Top-Level Input Props https://www.loom.com/share/6fac3831aa1d4ff5bec03afd211f1c67 ## Summary Improves Builder Symbol serialization to Mitosis JSX to make symbols more understandable for LLMs in Visual Editor AI. Symbols now serialize with meaningful component names ...
diff --git a/packages/core/src/__tests__/__snapshots__/qwik.test.ts.snap b/packages/core/src/__tests__/__snapshots__/qwik.test.ts.snap index 7471e25d64..c6696e3b73 100644 --- a/packages/core/src/__tests__/__snapshots__/qwik.test.ts.snap +++ b/packages/core/src/__tests__/__snapshots__/qwik.test.ts.snap @@ -10145,7 +1014...
9
8
2
[{"id": "G0", "claim": "Remove the narrative comments in the builder parser (e.g. \"// Extract symbol name for component naming\") that only describe what the code is doing, and the other instances of such comments.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"...
null
BuilderIO__mitosis__185
BuilderIO/mitosis
185
defect
a7e6d2e5453d7cdedc68cd3e42a5455ae8cb5f7d
89da7d785afa4159b93c2529c556216d2f004eba
Add missing "index" in React generator when using For
Hey! I tried to follow other patterns for this fix, just _always_ add the `index` argument. Closes https://github.com/BuilderIO/mitosis/issues/181
diff --git a/packages/core/src/__tests__/__snapshots__/context.test.ts.snap b/packages/core/src/__tests__/__snapshots__/context.test.ts.snap index 08ea4fc7ac..6578271018 100644 --- a/packages/core/src/__tests__/__snapshots__/context.test.ts.snap +++ b/packages/core/src/__tests__/__snapshots__/context.test.ts.snap @@ -4...
1
1
1
[{"id": "G0", "claim": "The snapshot test input components should be edited so they actually rely on the generated `index`, so the tests guarantee that `index` is exposed as the second map argument and is not stripped out when consumed.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introd...
null
BuilderIO__mitosis__248
BuilderIO/mitosis
248
defect
caeab170ad6065843a8ef9c8607dc1156de3ae2e
804e6693c4c5683f5de4c49987ed7d2922b091ff
allow multiple onUpdate hooks
fixes #241
diff --git a/packages/core/src/generators/angular.ts b/packages/core/src/generators/angular.ts index 4b80f2f50b..92c0739c91 100644 --- a/packages/core/src/generators/angular.ts +++ b/packages/core/src/generators/angular.ts @@ -209,12 +209,14 @@ export const componentToAngular = } ${ - !component....
5
5
2
[{"id": "G0", "claim": "The Vue generator should split component.hooks.onUpdate into hooks with deps (rendered as watch entries) and hooks without deps (rendered in updated()), updating the snapshots since hook names now get an _index suffix.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope...
null
BuilderIO__mitosis__273
BuilderIO/mitosis
273
defect
42f7896c3d52369d36ae2647c4b1c77159a025da
4b61c450c328a230ee480179999b83aad2caa96c
Fix ng-slot to ng-content.
Changed ng slot to ng content. https://angular.io/guide/content-projection - I don't think ng-slot exists. I could be wrong though.
diff --git a/packages/core/src/generators/angular.ts b/packages/core/src/generators/angular.ts index 92c0739c91..240883c9d2 100644 --- a/packages/core/src/generators/angular.ts +++ b/packages/core/src/generators/angular.ts @@ -44,7 +44,7 @@ export const blockToAngular = ( } if (isChildren(json)) { - return `...
1
1
0
[{"id": "G0", "claim": "Add an Angular test that includes children, so that regressions in the ng-content conversion do not happen in the future.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
BuilderIO__mitosis__293
BuilderIO/mitosis
293
defect
632a6eab14bc33604f614a93a5ddf2f4a3cf1a6f
4106e6333510d3a9efaa6107d8542232ab673695
fix(svelte): support self-referencing component (#291)
## Description Svelte uses `svelte:self` to reference itself recursively. More about it [here](https://svelte.dev/tutorial/svelte-self). This PR passes the parent component information to all the child components so that if any of children name match the parents, we introduce Svelte's self tag in place of the com...
diff --git a/packages/core/src/__tests__/__snapshots__/svelte.test.ts.snap b/packages/core/src/__tests__/__snapshots__/svelte.test.ts.snap index 1c7fb1d8d2..0e92230886 100644 --- a/packages/core/src/__tests__/__snapshots__/svelte.test.ts.snap +++ b/packages/core/src/__tests__/__snapshots__/svelte.test.ts.snap @@ -30,3 ...
1
1
1
[{"id": "G0", "claim": "Add a test case where the self-referencing component receives children, as in the sketched fixture with {props.children} and a nested <div>Wayne</div> child.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
BuilderIO__mitosis__311
BuilderIO/mitosis
311
defect
6669637415d67282ae84cfbc8f27fc5c554a5fb1
764ffcc2c138f618073eee119b8f56c383afb5bb
fix issue #302
fixes #302
diff --git a/packages/eslint-plugin/docs/rules/no-var-name-same-as-prop-name.md b/packages/eslint-plugin/docs/rules/no-var-name-same-as-prop-name.md new file mode 100644 index 0000000000..cb3d6cfc3b --- /dev/null +++ b/packages/eslint-plugin/docs/rules/no-var-name-same-as-prop-name.md @@ -0,0 +1,63 @@ +# no-var-name-sa...
1
1
1
[{"id": "G0", "claim": "The rule should be registered under the key 'no-var-name-same-as-prop-name', matching its file and documentation, instead of 'no-var-name-as-prop-name'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
BuilderIO__mitosis__401
BuilderIO/mitosis
401
defect
63e3022db1dee7499ae8d9291cb124d59cd31623
5fcc2e0240bbce1421bda70338ad82cebc7ad6d1
fix(innerHTML): angular && svelte
## Description Add a short description of: - what changes you made, - why you made them, and - any other context that you think might be helpful for someone to better understand what is contained in this pull request. This sort of information is useful for people reviewing the code, as well as anyone from t...
diff --git a/packages/core/src/__tests__/__snapshots__/angular.test.ts.snap b/packages/core/src/__tests__/__snapshots__/angular.test.ts.snap index 6ab3dd457b..ccfb53841c 100644 --- a/packages/core/src/__tests__/__snapshots__/angular.test.ts.snap +++ b/packages/core/src/__tests__/__snapshots__/angular.test.ts.snap @@ -9...
1
1
1
[{"id": "G0", "claim": "The generated Angular template escapes the innerHTML binding with four backslashes (\\\\\\\\) where two (\\\\) are needed, and the reviewer asks that this be fixed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
BuilderIO__mitosis__420
BuilderIO/mitosis
420
defect
bab60c8eb2a971da8ef5c7d32653c47755c3586c
66b0bb64e662ff284df8030691cc264900b54550
feat: preserve react component props types
## Description Add a short description of: - what changes you made, #372 - why you made them, and - any other context that you think might be helpful for someone to better understand what is contained in this pull request. This sort of information is useful for people reviewing the code, as well as any...
diff --git a/packages/core/src/__tests__/__snapshots__/builder.test.ts.snap b/packages/core/src/__tests__/__snapshots__/builder.test.ts.snap index 3a4f8491f1..631a934486 100644 --- a/packages/core/src/__tests__/__snapshots__/builder.test.ts.snap +++ b/packages/core/src/__tests__/__snapshots__/builder.test.ts.snap @@ -9...
5
4
2
[{"id": "G0", "claim": "The Jest snapshots are out of date and must be updated (pulling latest and regenerating them) for the pull request's tests to pass.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Maybe the component should record both type and in...
null
BuilderIO__mitosis__468
BuilderIO/mitosis
468
defect
de4caed08e4b330068d65accd714088a38501696
752230ec7a9be1ef801a59b634e37500655eb371
Feature/props destructure
## Description Add a short description of: - what changes you made, #389 - why you made them, and - any other context that you think might be helpful for someone to better understand what is contained in this pull request. This sort of information is useful for people reviewing the code, as well as a...
diff --git a/packages/core/src/__tests__/__snapshots__/react.test.ts.snap b/packages/core/src/__tests__/__snapshots__/react.test.ts.snap index df42b125dc..66eecd85ff 100644 --- a/packages/core/src/__tests__/__snapshots__/react.test.ts.snap +++ b/packages/core/src/__tests__/__snapshots__/react.test.ts.snap @@ -1529,6 +1...
7
4
2
[{"id": "G0", "claim": "Props default values and rest parameters in destructured props are not supported and are tricky to support in all frameworks; we could recommend defining a local variable to support props default value.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
BuilderIO__mitosis__771
BuilderIO/mitosis
771
defect
a7e54bb7d38d671a2c52fb272fab9c933d684173
548d8fb3be0e26b733dead384a94a41b168f7441
allow useMetaData
fixes #769
diff --git a/packages/eslint-plugin/docs/rules/only-default-function-and-imports.md b/packages/eslint-plugin/docs/rules/only-default-function-and-imports.md index 66997841eb..872a110471 100644 --- a/packages/eslint-plugin/docs/rules/only-default-function-and-imports.md +++ b/packages/eslint-plugin/docs/rules/only-defau...
1
1
0
[{"id": "G0", "claim": "The 'useMetadata' hook name should be added to the HOOKS constant object in constants/hooks.ts instead of being hardcoded in the rule file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
BuilderIO__mitosis__949
BuilderIO/mitosis
949
defect
9d88319e902712b13aaedb82a2c0b54971b14166
7bd3d376535db3974cb69d5938b8a7c0010f03b4
feat(eslint): no map function in jsx return body
## Description Add a short description of: - what changes you made, - why you made them, and - any other context that you think might be helpful for someone to better understand what is contained in this pull request. This sort of information is useful for people reviewing the code, as well as anyone from t...
diff --git a/packages/eslint-plugin/src/configs/recommended.ts b/packages/eslint-plugin/src/configs/recommended.ts index bd375d3e1a..0b879c91a1 100644 --- a/packages/eslint-plugin/src/configs/recommended.ts +++ b/packages/eslint-plugin/src/configs/recommended.ts @@ -20,6 +20,7 @@ const recommendedRules: Record<RulesKey...
1
1
1
[{"id": "G0", "claim": "In the recommended config, '@builder.io/mitosis/no-map-function-in-jsx-return-body' should be set to 'warning' rather than 'error', because code with a map function in a JSX return body still technically works, making the rule more of a suggestion.", "category": "design", "verdict": "supported",...
null
BurntSushi__cargo-benchcmp__10
BurntSushi/cargo-benchcmp
10
defect
0512f17d1206f919706e1486e3dca4dd99068a39
68f09491c8146d4e9a71ebec0cc6010770858a28
Tests
Writing tests as described in #3. Going straight for the bonus points: so far I've written quickcheck tests for a number of unit test situations. # TODO list ## Unit tests - [X] Test the benchmark parser, including the fact that throughput is optional. - [X] Test that find overlap finds the correct pairs. - [X] Test ...
diff --git a/Cargo.lock b/Cargo.lock index 61a937d..ae175de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,11 @@ version = "0.1.3" dependencies = [ "docopt 0.6.81 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "prettytab...
2
2
0
[{"id": "G0", "claim": "The `quickcheck` and `second_law` dependencies should be declared as `dev-dependencies` in Cargo.toml so they are only required during tests.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The usage-string test should be ...
null
BurntSushi__cargo-benchcmp__21
BurntSushi/cargo-benchcmp
21
defect
f5e31fce1fd51d1c273ea5619f7352ca41f93e6a
5d52d309f5842078c2fc62cba762ffc63d428881
Allow running as either `cargo benchcmp` or `cargo-benchcmp`
Fixes #20. Had to change the docopt usage string. Unsure if there is a better way.
diff --git a/src/main.rs b/src/main.rs index bf6e987..0dd1b1c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -9,6 +9,7 @@ extern crate prettytable; #[macro_use] extern crate quickcheck; +use std::env; use std::io::{self, BufRead}; use std::fs::File; use std::path::{Path, PathBuf}; @@ -80,8 +81,30 @@ enum When { ...
2
2
1
[{"id": "G0", "claim": "The docopt usage string should not be changed; instead the two invocations should be unified by looking at argv[0] and, when it is cargo-benchcmp, inserting \"benchcmp\" as the second argument.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "c...
null
BurntSushi__cargo-benchcmp__49
BurntSushi/cargo-benchcmp
49
defect
cc7bd707027e75b7defb75ba1c29697525b177e4
80181fc65e5b989811b9e93efa14d3619fefa0c5
Allow parsing fractional `libtest` output
This will now parse, but silently truncate the new fractional `libtest` output. Fixes #48
diff --git a/src/benchmark.rs b/src/benchmark.rs index 7ba11fe..f6f2bd2 100644 --- a/src/benchmark.rs +++ b/src/benchmark.rs @@ -106,9 +106,9 @@ impl PartialOrd for Benchmark { lazy_static! { static ref BENCHMARK_REGEX: Regex = Regex::new(r##"(?x) test\s+(?P<name>\S+) # test mod:...
1
1
0
[{"id": "G0", "claim": "The escape for `.` is superfluous since `.` is not a meta character inside a character class, and it should be removed from the regex character classes in BENCHMARK_REGEX.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
BurntSushi__rust-csv__213
BurntSushi/rust-csv
213
defect
f0f53a49f895a4046b8027df6068901d572e6a00
74480e4b85673fee404bae915fe11998cbdfc1e8
Avoid running into infinite loops when recovering from Reader errors
Resolves #207 When reading and parsing a record fails, it's correct behavior in most cases to keep on trying to read and parse the next record. However when the Error is caused by failing to read from the underlying `impl Read`, the next read would almost always fail with the exact same error. In that scenario, ...
diff --git a/src/reader.rs b/src/reader.rs index dce47b43..091d5aa7 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -686,6 +686,10 @@ impl ReaderBuilder { /// [`ReaderBuilder`](struct.ReaderBuilder.html). /// * When reading CSV data from a resource (like a file), it is possible for /// reading from the underly...
1
1
0
[{"id": "G0", "claim": "All comment lines in the change should please be wrapped to 79 columns (inclusive), since rustfmt wraps code but not comments.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
BurntSushi__toml__260
BurntSushi/toml
260
defect
3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005
9403719870706c580d334e97307e5c35f56ac749
Add support for base-prefixed integers: '0b', '0o', '0x'
Added to the language in toml-lang/toml#507 Fixes: #7
diff --git a/decode_test.go b/decode_test.go index 95bc987f..add071d1 100644 --- a/decode_test.go +++ b/decode_test.go @@ -520,6 +520,11 @@ func TestDecodeInts(t *testing.T) { {"1_2_3_4", 1234}, {"-9_223_372_036_854_775_808", math.MinInt64}, {"9_223_372_036_854_775_807", math.MaxInt64}, + {"0xdead_BEEF", 0xde...
3
3
1
[{"id": "G0", "claim": "The new test cases exposed bugs in the implementation, and '-' signs on base-prefixed integers are not rejected even though the spec disallows them.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Since ParseInt was changed to...
null
ByConity__ByConity__844
ByConity/ByConity
844
defect
774a82fa3d0504d18700aa5667a93d75e3c39a1c
f99de1bfb7c85f800f62b70e5dad45af95a34d73
add multi shard support for checksumscache to improve performance
add multi shard support for checksumscache to improve performance this fix issue #831
diff --git a/programs/server/Server.cpp b/programs/server/Server.cpp index e083178f668..603bef7de57 100644 --- a/programs/server/Server.cpp +++ b/programs/server/Server.cpp @@ -75,6 +75,7 @@ #include <Storages/StorageReplicatedMergeTree.h> #include <Storages/System/attachSystemTables.h> #include <Storages/registerSt...
4
4
1
[{"id": "G0", "claim": "The memory checksums cache has no need to cap the number of files, so the checksum_cache_nums setting's default should be int64 max or the setting should not be exposed at all (unlike DiskCache, where max_nums prevents inode exhaustion).", "category": "design", "verdict": "supported", "priority"...
null
Byron__crates-index-diff-rs__53
Byron/crates-index-diff-rs
53
defect
4de48aaf3a2aaa7278dba82f1f76e09aa5640aad
ce868a8a38feb6393a59777d17b95d0e2e2a8c35
feat: provide parsed semver Version/Req via method on CrateVersion & Dependency
So, generally I have a tendency to try to express things in the type system, which would also mean I would love to have all the data structures in crates-index-diff using `semver::Version` for the version. Of course I totally see that this might be personal taste, and also might have an unwanted performance impact. ...
diff --git a/Cargo.toml b/Cargo.toml index f0f31bf..132f3e8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ path = "tests/baseline_atomic.rs" required-features = ["max-performance"] [features] -default = ["http-curl"] +default = ["http-curl", "semver"] ## Configure `gix` to use maximum performance, but ...
1
1
0
[{"id": "G0", "claim": "The documentation of CrateVersion::version should also mention the probability (14 in 2_000_000?) at which the method may panic.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Byron__dua-cli__188
Byron/dua-cli
188
defect
bf4da4e1c4444fb490f85516efc518bb238e1652
8df0b4c5dc5ee3f512f8812dff709a77cfb18f2f
Adds keybinding for 'c' to toggle sorting by number of items
Adds keybinding for 'c' to toggle sorting by number of items. I have used `human_format` to convert numbers to more human readable form. Number of items in each directory is collected the same way as the size was done before during file system traversal. I have updated the tests to ensure the counts are calculated c...
diff --git a/Cargo.lock b/Cargo.lock index e3078b1a..430c886e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -277,6 +277,7 @@ dependencies = [ "clap", "crosstermion", "filesize", + "human_format", "itertools", "jwalk", "num_cpus", @@ -360,6 +361,12 @@ version = "0.3.3" source = "registry+https://github.com/ru...
1
1
0
[{"id": "G0", "claim": "The PR changes the default toggle direction of the existing size and mtime sort toggles (MTime* would toggle to Size*) without any comment, which looks accidental.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Byron__dua-cli__219
Byron/dua-cli
219
defect
85005ce364b08066a76ab2a8743ce18b4662fa3c
ad7abd83261d5db6b59fbf9d55a24020c531f157
feat: refresh all items in view / selected item
Implements feature requested in #96. This PR includes: * changes in traversal to skip root element to support refreshing all items in view * change in wording and fixed calculation for number of "files" instead of "items" * there was also a bug where items deleted from a directory wouldn't refresh the file co...
diff --git a/src/aggregate.rs b/src/aggregate.rs index ec4d5aed..356a1a9f 100644 --- a/src/aggregate.rs +++ b/src/aggregate.rs @@ -41,7 +41,7 @@ pub fn aggregate( continue; } }; - for entry in walk_options.iter_from_path(path.as_ref(), device_id) { + for entry in wal...
3
3
3
[{"id": "G0", "claim": "The keys to press for the refresh feature are missing from the help pane, so it is unclear whether `R` refreshes all or just the selection; they should be added.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The selection ...
null
Byron__dua-cli__284
Byron/dua-cli
284
defect
ca6122f914d0626a5f51ff0986bcb6a1ff98e9ec
f44e19db90a977b2aff874516d686a1bd05e345d
Fix: Directories themselves do not contribute to size like they do in du
Hi! This closes #262 where directory inode sizes are mistakenly being excluded from total disk usage calculations. This PR brings the behaviour of `dua` in line with that of `du` in both aggregate (`f44e19d`) and interactive (`ef1833a`) modes. For example, given a directory tree structured as followed ``` /test_di...
diff --git a/src/aggregate.rs b/src/aggregate.rs index 47b0e27b..ed8158df 100644 --- a/src/aggregate.rs +++ b/src/aggregate.rs @@ -52,8 +52,7 @@ pub fn aggregate( Ok(entry) => { let file_size = match entry.client_state { Some(Ok(ref m)) - ...
4
3
2
[{"id": "G0", "claim": "A journey test should be added that observes that directories now have a size, since the PR's behaviour change is otherwise untested.", "category": "testing", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The u128 field added to EntryData grows the struct...
null
Byron__dua-cli__318
Byron/dua-cli
318
defect
6c0203c5d3c6744949de92749944c57cf61ad2fc
5e4e2d061e3cd9bfb5a01bf01801c45a3458078a
Replace `crosstermion`/`tui-react` with direct `ratatui` + `crossterm` integration
- [x] Review new PR feedback addressed to @copilot and identify required code changes - [x] Add a small utility type with `Drop` to guarantee interactive terminal cleanup on early `?` exits - [x] Update interactive setup path to use the cleanup guard and keep current behavior - [x] Run targeted interactive tests and fo...
diff --git a/Cargo.lock b/Cargo.lock index 6f56ba46..edeb3369 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -339,16 +339,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "crosstermion" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3bb8ffe01d18963d7cdeb1b90d8...
1
1
1
[{"id": "G0", "claim": "Wrap the interactive terminal mode setup (enable_raw_mode + EnterAlternateScreen) in a utility type with Drop so the terminal is definitely cleaned up even if `?` exits early between the setup calls and the function calls that undo it.", "category": "correctness", "verdict": "supported", "priori...
null
ByteDance-Seed__VeOmni__203
ByteDance-Seed/VeOmni
203
defect
742f88f8a589319a0aaf11a4ffb9fd4b9ea5b168
9b02966720fb8bec89d192b10e4be849ed1d0e38
title: [data] feat: Implement extensible data preprocessor registry
### What does this PR do? Implements an extensible data preprocessor registry system, replacing the previous dictionary-based approach. This new plugin-style system allows users to easily register custom data preprocessor functions using the `@register_preprocessor` decorator. Preprocessors are automatically registe...
diff --git a/.github/workflows/README.md b/.github/workflows/README.md new file mode 100644 index 0000000000..dd3e4de51f --- /dev/null +++ b/.github/workflows/README.md @@ -0,0 +1,73 @@ +### Adding a New Workflow + +When adding a new workflow for continuous integration (CI), you have two runner options: a fixed runner ...
12
9
2
[{"id": "G0", "claim": "veomni/data/multimodal/preprocess.py should be refactored to use the same registry-based design as the new dataset registry.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The new dataset_registry is actually a data_preprocess_r...
null
ByteDance-Seed__VeOmni__205
ByteDance-Seed/VeOmni
205
defect
b9ebf00079bb26c14f6870d9de253e2ff0113440
0575b2e03d8af2218ad3f6719928d31683aec8db
[dist] feat: unified veomni grad norm clipping
* Fall back to legacy gradient divide factor API for EP-FSDP modules due to torch 2.7 compatibility issues. * In torch 2.8, this legacy API would be redirected to new API: https://github.com/pytorch/pytorch/blob/d38164a545b4a4e4e0cf73ce67173f70574890b6/torch/distributed/fsdp/_fully_shard/_fully_shard.py#L528 * ...
diff --git a/.github/workflows/gpu_unit_tests.yml b/.github/workflows/gpu_unit_tests.yml index 0728979c8..1453e48f4 100644 --- a/.github/workflows/gpu_unit_tests.yml +++ b/.github/workflows/gpu_unit_tests.yml @@ -80,6 +80,9 @@ jobs: - name: Run e2e dcp save and load test run: | pytest -s -x t...
14
13
1
[{"id": "G0", "claim": "The test should feed a fixed value instead of torch.randn so the inputs are deterministic.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should assert the gradients before and after clipping instead of only logging the ...
null
ByteDance-Seed__VeOmni__208
ByteDance-Seed/VeOmni
208
defect
742f88f8a589319a0aaf11a4ffb9fd4b9ea5b168
fe5d119eb6c250aa34e880f54934c1b19eade4b2
[ci]Add Ascend NPU native support to the unit test code
### What does this PR do? Currently, the unit test code fails to run on NPU platforms due to platform-specific dependencies. This PR refactors the unit test code related to CUDA and NCCL to make it compatible with Ascend NPU and any other third-party platforms in VeOmni. The changes ensure that the test cases can be...
diff --git a/tests/data/test_multisource_datasets.py b/tests/data/test_multisource_datasets.py index ea38085b0..586d03eca 100644 --- a/tests/data/test_multisource_datasets.py +++ b/tests/data/test_multisource_datasets.py @@ -19,6 +19,7 @@ from veomni.distributed.parallel_state import get_parallel_state, init_parallel_...
1
1
0
[{"id": "G0", "claim": "Replace the direct `get_torch_device().synchronize()` calls at the three sites in tests/utils/test_trainer_saveload.py with the `synchronize()` function from `veomni/utils/device.py`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ByteDance-Seed__VeOmni__228
ByteDance-Seed/VeOmni
228
defect
bc35746c230196a2055381758203568c124a25b2
decd925a33a6000883ba4a5a4b150c67e5359153
[dist] fix: make OptimizerState EP-dim aware to fix its dcp saving
Similar to `ModelState`, `OptimizerState` also needs to be EP-dim aware so that dcp can save it properly. Now it has same workflow with `ModelState`: * before saving with dcp, restore EP dim * after loading state dict from dcp, drop EP dim
diff --git a/.github/workflows/gpu_unit_tests.yml b/.github/workflows/gpu_unit_tests.yml index d53dbd1f7..0728979c8 100644 --- a/.github/workflows/gpu_unit_tests.yml +++ b/.github/workflows/gpu_unit_tests.yml @@ -77,6 +77,9 @@ jobs: - name: Run models tests run: | pytest -s -x tests/models/te...
18
8
0
[{"id": "G0", "claim": "The new model config file should be renamed to qwen3_moe_30a3b_4_layers.json.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docstring torchrun commands duplicate the commands below them and should be deleted.", "cate...
null
ByteDance-Seed__VeOmni__232
ByteDance-Seed/VeOmni
232
defect
20a2031e79179c61d2d89f166d55bf12e194b8a7
c2ca857bbe3c4c1b686104429654324382afddd5
[ci,config] chore: migrate to uv dependency management with enhanced installation guide
### What does this PR do? This PR migrates the project's dependency management from pip to uv across CI workflows, documentation, and dependency configurations. It updates GitHub Actions workflows to use `uv sync`, enhances README installation instructions with detailed uv usage guide, adds new optional dependencies...
diff --git a/.github/workflows/gpu_unit_tests.yml b/.github/workflows/gpu_unit_tests.yml index f986c4119..dbbd65054 100644 --- a/.github/workflows/gpu_unit_tests.yml +++ b/.github/workflows/gpu_unit_tests.yml @@ -1,3 +1,4 @@ + # # Tests layout name: GPU unit tests @@ -63,27 +64,46 @@ jobs: - uses: actions/ch...
2
2
1
[{"id": "G0", "claim": "The newly added `sglang` extra in pyproject.toml is unnecessary and should be removed (or its need explained).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The NPU unit-test workflow contains a duplicated 'Run data test...
null
ByteDance-Seed__VeOmni__263
ByteDance-Seed/VeOmni
263
defect
90d057b7f28614707cc4bab327f3184fc5a8ccce
2dc68f982aa007eee2245e6bbc9a09f6d25b4a37
[dist] fix: the issue where NPU does not support the PreSumMul operation
### What does this PR do? NPU does not support ReduceOp.PREMUL_SUM, so a patch is used to split the operator into ReduceOp.SUM and a multiplication operation ### Checklist Before Starting - [ ] Search for similar PRs. Paste at least one query link here: ... - [ ] Format the PR title as `[{modules}] {type}: {d...
diff --git a/tests/utils/test_ep_clip_grad_norm.py b/tests/utils/test_ep_clip_grad_norm.py index 9bbab639d..79518e884 100644 --- a/tests/utils/test_ep_clip_grad_norm.py +++ b/tests/utils/test_ep_clip_grad_norm.py @@ -14,7 +14,6 @@ from veomni.utils import helper from veomni.utils.arguments import TrainingArguments, p...
5
4
0
[{"id": "G0", "claim": "The wrapper mishandles the ReduceOp.PREMUL_SUM argument: accessing kwargs[\"op\"] raises KeyError when op is not passed as a keyword argument (defaulted or positional), the equality comparison against PREMUL_SUM is claimed always False so a real PREMUL_SUM instance never gets converted, and __ge...
null
ByteDance-Seed__VeOmni__272
ByteDance-Seed/VeOmni
272
defect
a7bbc70a68394516a7589e4d10bd23e66155f818
f57e3b06e6cd2d3b2c82d8b6b8fa515ea774b63b
[ckpt, ci] fix: refactor merge_dcp_to_hf.py to remove internal dependencies and add checkpoint verification
### What does this PR do? > Refactors the DCP-to-HuggingFace conversion script to be self-contained and adds checkpoint verification utilities to ensure conversion correctness. ### Checklist Before Starting - [x] Search for similar PRs. Paste at least one query link here: https://github.com/ByteDance-Seed/VeOm...
diff --git a/scripts/merge_dcp_to_hf.py b/scripts/merge_dcp_to_hf.py index c1df48c61..69ad3b243 100644 --- a/scripts/merge_dcp_to_hf.py +++ b/scripts/merge_dcp_to_hf.py @@ -11,10 +11,12 @@ logger = helper.create_logger(__name__) -def merge_to_hf_pt(load_dir: str, save_path: str, model_assets_dir: str = None): +def...
8
8
4
[{"id": "G0", "claim": "The --model-only/--load-all flag setup in merge_dcp_to_hf.py is convoluted and redundant and should be replaced by a single opt-in flag, with the merge_to_hf_pt call site updated accordingly.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
ByteDance-Seed__VeOmni__307
ByteDance-Seed/VeOmni
307
defect
a24e7f02c3b98170bb708f3d833cfa041e6a433a
dd76630041e30fb7b52c098265f4e4a741600921
[model] feat: support async ulysses for qwen3vl dense
### What does this PR do? support async ulysses for qwen3vl dense > Add **concise** overview of what this PR aims to achieve or accomplish. Reference related GitHub issues and PRs that help with the review. ### Checklist Before Starting - [ ] Search for similar PRs. Paste at least one query link here: ... ...
diff --git a/veomni/distributed/sequence_parallel/async_ulysses.py b/veomni/distributed/sequence_parallel/async_ulysses.py index 7a4880663..3debaccb8 100644 --- a/veomni/distributed/sequence_parallel/async_ulysses.py +++ b/veomni/distributed/sequence_parallel/async_ulysses.py @@ -25,6 +25,14 @@ from .ulysses import al...
6
3
1
[{"id": "G0", "claim": "The new async_ulysses path does not handle the KV cache (past_key_values) and, with the flag hardcoded to True, forces inference onto it and will lead to incorrect outputs during generation; the async path should only be used when KV caching is not active, e.g. by making the condition check `pas...
null
ByteDance-Seed__VeOmni__320
ByteDance-Seed/VeOmni
320
defect
8447a8d5d0a2176dcb9e08ee9b64755e80865504
d3b1804c8ea83991ad7ff916576a74ff0306e60f
[ci] test: add e2e ci test
### What does this PR do? add e2e ci test ### Checklist Before Starting - [ ] Search for similar PRs. Paste at least one query link here: ... - [ ] Format the PR title as `[{modules}] {type}: {description}` (This will be checked by the CI) - `{modules}` include `misc`, `ci`, `config`, `docs`, `data`, `dist...
diff --git a/.github/workflows/gpu_e2e_test.yml b/.github/workflows/gpu_e2e_test.yml new file mode 100644 index 000000000..fd7621e46 --- /dev/null +++ b/.github/workflows/gpu_e2e_test.yml @@ -0,0 +1,90 @@ + +# # Tests layout + +name: GPU unit tests + +on: + # Trigger the workflow on push or pull request, + # but only...
2
1
1
[{"id": "G0", "claim": "The shell command built from the unsanitized CI_MODEL_DIR and CI_DATASET_DIR environment variables and executed with shell=True in test_e2e_training.py is vulnerable to command injection if those variables contain malicious content, so shlex should be imported and the path arguments quoted with ...
null
ByteDance-Seed__VeOmni__321
ByteDance-Seed/VeOmni
321
defect
0fa15597b009795896aa4fffa5660a46fede5855
93a89e1fb6bd7607b73d086b9dee52f1632b4d99
[model] feat: patch LOSS_MAPPING
### What does this PR do? 1. patch transformers.loss_utils.LOSS_MAPPING with veomni sp loss, support different loss kernel (liger kernel) 2. add loss ci for different kernel 3. use environ param `USE_LIGER_KERNEL` to control backend
diff --git a/docs/usage/support_new_models.md b/docs/usage/support_new_models.md index d948235a5..4f52f9580 100644 --- a/docs/usage/support_new_models.md +++ b/docs/usage/support_new_models.md @@ -62,7 +62,7 @@ This ensures all ranks participate in collective operations without affecting th ## 2. Sequence Parallelis...
1
1
1
[{"id": "G0", "claim": "In the seed_oss forward, hidden_states passed to self.loss_function is not sliced while logits are calculated from sliced hidden_states, which could lead to incorrect loss calculation when using fused kernels that rely on hidden_states directly; hidden_states should be sliced before being used t...
null
ByteDance-Seed__VeOmni__329
ByteDance-Seed/VeOmni
329
defect
f7cf28fa568088c95e8f0e48a89224e598970f8a
8e62b7302402bf65c0a9412b24d0ca457b0d9329
[misc] feat: env param
### What does this PR do? 1. one ops one file 2. clean log env_param & ops func <img width="721" height="174" alt="image" src="https://github.com/user-attachments/assets/e53f831d-0b29-421d-8df2-e6ac7bdbaff1" />
diff --git a/tests/models/test_models_patch.py b/tests/models/test_models_patch.py index 6786e847e..52d28668e 100644 --- a/tests/models/test_models_patch.py +++ b/tests/models/test_models_patch.py @@ -5,7 +5,7 @@ import torch from transformers import AutoConfig -from veomni.ops import apply_ops_patch +from veomni i...
1
1
0
[{"id": "G0", "claim": "Instantiating LigerFusedLinearCrossEntropyLoss on every call to fused_liger_kernel_cross_entropy is inefficient and can degrade performance in a hot loop; it should be instantiated once at module level and reused (hardcoding reduction='mean' or caching instances if other reductions must be suppo...
null
ByteDance-Seed__VeOmni__374
ByteDance-Seed/VeOmni
374
defect
fc242a65c92d51a951b924c9d9c2c69f92c11a4b
dba869ba713e3c4340a2ade0a7b0f7f9f1f4b72f
[ckpt, ci, docs] feat: memory-efficient DCP to HuggingFace checkpoint conversion
### What does this PR do? > This PR implements a memory-efficient streaming conversion from Distributed Checkpoint (DCP) format to HuggingFace format, with comprehensive documentation and testing. The conversion processes checkpoints shard-by-shard to handle large models without loading all weights into memory simul...
diff --git a/docs/index.md b/docs/index.md index e08abf89b..8ad122ce8 100644 --- a/docs/index.md +++ b/docs/index.md @@ -26,6 +26,7 @@ get_started/installation/install_ascend.md usage/basic_modules.md usage/arguments.md usage/support_new_models.md +usage/checkpoint_conversion.md ``` ```{toctree} diff --git a/doc...
2
2
1
[{"id": "G0", "claim": "The return type hint of _get_sharding_plan is incorrect: it should be Tuple[List[Dict[str, str]], int, List[str]] to match the three-element tuple the function actually returns.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
ByteDance-Seed__VeOmni__376
ByteDance-Seed/VeOmni
376
defect
a7bbc70a68394516a7589e4d10bd23e66155f818
63ab57c3c2bb2052f47d4e7a4e6839154a5253ca
[data] feat: add data collators for embedding classification.
feat: Add data collators to support embedding classification. split the data collator part from https://github.com/ByteDance-Seed/VeOmni/pull/322
diff --git a/tests/data/test_seqcls_collators.py b/tests/data/test_seqcls_collators.py new file mode 100644 index 000000000..41928360d --- /dev/null +++ b/tests/data/test_seqcls_collators.py @@ -0,0 +1,156 @@ +import types + +import pytest +import torch + + +IGNORE_INDEX = -100 + + +def _fake_ps(sp_enabled: bool, sp_si...
5
5
0
[{"id": "G0", "claim": "ClassificationDataCollatorWithPositionIDs is an almost identical copy of DataCollatorWithPositionIDs, so the existing collator should be reused (e.g. via a mask-boundary-labels flag) instead of adding a new duplicating class.", "category": "maintainability", "verdict": "supported", "priority": "...
null
ByteDance-Seed__VeOmni__397
ByteDance-Seed/VeOmni
397
defect
e95c471e1c4244f5934575106de7b0d96f8af8cb
270c523925dec40f45dac3dacecb34f284b121ff
[config] feat: refactor args to support multi-level config
### What does this PR do? > Add **concise** overview of what this PR aims to achieve or accomplish. Reference related GitHub issues and PRs that help with the review. Refactor args to support multi-level config - Support usage as --train.profile.enable=true / --train.parallel.ep_size=8 ### Checklist Before Star...
diff --git a/docs/usage/basic_modules.md b/docs/usage/basic_modules.md index 9fc4d0d42..afae9b733 100644 --- a/docs/usage/basic_modules.md +++ b/docs/usage/basic_modules.md @@ -36,7 +36,7 @@ veomni offers a unified argument management system, which can be easily extended ```python from dataclasses import dataclass,...
6
2
0
[{"id": "G0", "claim": "Using a positional argument with nargs='?' for the config file can make argparse consume a following optional flag as its value, so it should be an optional --config_file argument instead.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
ByteDance-Seed__VeOmni__408
ByteDance-Seed/VeOmni
408
defect
f6586c37ef89f7f4c50fbee1729b27dbb87d803e
083566c0ad7e76d28a3ae80ae365cd7a9c61ddfd
[data] feat: decouple rmpad and dyn_bsz
### What does this PR do? > Add **concise** overview of what this PR aims to achieve or accomplish. Reference related GitHub issues and PRs that help with the review. ### Checklist Before Starting - [x] Search for similar PRs. Paste at least one query link here: ... - [x] Format the PR title as `[{modules}] {...
diff --git a/docs/usage/basic_modules.md b/docs/usage/basic_modules.md index afae9b733..cdb80d2ce 100644 --- a/docs/usage/basic_modules.md +++ b/docs/usage/basic_modules.md @@ -222,6 +222,7 @@ train_dataloader = build_dataloader( train_steps=args.train.train_steps, # train steps, calculate by args.train.compute_tr...
7
6
2
[{"id": "G0", "claim": "The eff_token_rate calculation subtracts dyn_bsz_margin, a number of samples elsewhere, directly from token_micro_bsz, a token count, which will lead to an incorrect calculation of train_steps; dyn_bsz_margin should be scaled by max_seq_len before use.", "category": "correctness", "verdict": "un...
null
ByteDance-Seed__VeOmni__443
ByteDance-Seed/VeOmni
443
defect
32a65bff1212c9aaea0f13b8a388b7b4511a8ea5
ad41e41557c99a06f258d30fa3b624d4ca762fd5
[data] fix: fix data.py torch2.9 deprecation warning and unit tests
### What does this PR do? part of https://github.com/ByteDance-Seed/VeOmni/issues/439 Fix the following torch2.9 deprecation warning when SP is turned on. ``` /opt/tiger/modelchef/submodules/Open-VeOmni/veomni/distributed/sequence_parallel/data.py:86: UserWarning: Using a non-tuple sequence for multidimension...
diff --git a/tests/parallel/test_slice_input_tensor.py b/tests/parallel/test_slice_input_tensor.py new file mode 100644 index 000000000..5f0528a8c --- /dev/null +++ b/tests/parallel/test_slice_input_tensor.py @@ -0,0 +1,57 @@ +import warnings + +import torch + +from veomni.distributed.sequence_parallel.data import slic...
1
1
1
[{"id": "G0", "claim": "The newly added unit tests only exercise the no-group path where slice_input_tensor returns the input unchanged, so the code path containing the deprecation-warning fix is never executed; the PR should add tests that simulate an active sequence parallel group (e.g. via mocked distributed utiliti...
null
ByteDance-Seed__VeOmni__479
ByteDance-Seed/VeOmni
479
defect
afe8324ab946cb8ad026edd6a8d4a430febace1d
9732a23c6d9d5af980e036de357cc3ac4dd2b95a
[ckpt] feat: make save_hf_safetensor self-contained with internal synchronization
## Summary - Refactor `save_hf_safetensor` to be self-contained w.r.t. synchronization: add `synchronize()` at entry, move async DCP save wait logic from `_save_hf_safetensor_distributed` to the top-level function, and add `dist.barrier()` at exit so callers no longer need external sync. - Add `is_rank_0` para...
diff --git a/tasks/omni/train_flux.py b/tasks/omni/train_flux.py index a7f62dd5c..e69a6fbba 100644 --- a/tasks/omni/train_flux.py +++ b/tasks/omni/train_flux.py @@ -539,18 +539,18 @@ def main(): }, } Checkpointer.save(args.train.save_checkpoint_path, state, global_...
4
3
2
[{"id": "G0", "claim": "The save_epochs-based checkpoint saving call sites in tasks/omni/train_flux.py and tasks/omni/train_wan.py still call save_hf_safetensor without is_rank_0, so with the new default of False the legacy save returns without saving on all ranks, and they should be refactored like the save_steps path...
null
ByteDance-Seed__VeOmni__529
ByteDance-Seed/VeOmni
529
defect
396c18560d4c5dfcbb4554d8bc9f9e4f4ac7ea44
7ed668c5d4aacff769e3ae31e51fb40635c243f2
[ops] feat: support merged fc1_1_2 weight format in fused MoE interface
## Summary - Remove unused `module` parameter from `fused_moe_forward` and all callers - Add `fc1_1_2_weight` parameter to support merged gate_up_proj weight format (`[E, 2I, H]`), enabling compatibility with transformers v5 MoE weight layout - Unify weight resolution into a single `resolve_fc1_weights()` with `retu...
diff --git a/tests/ops/test_fused_moe_split_vs_merged.py b/tests/ops/test_fused_moe_split_vs_merged.py new file mode 100644 index 000000000..fe0b4bb2c --- /dev/null +++ b/tests/ops/test_fused_moe_split_vs_merged.py @@ -0,0 +1,110 @@ +import pytest +import torch +import torch.nn.functional as F + +from veomni.ops import...
4
4
0
[{"id": "G0", "claim": "The fc1 weight validation logic is duplicated between `_resolve_fc1_weights` in group_gemm.py and `_build_npu_fc1_weight` in npu_group_gemm.py and should be extracted into a single shared function, suggested in `fused_moe_forward` in veomni/ops/fused_moe/__init__.py, to improve maintainability a...
null
ByteDance-Seed__VeOmni__542
ByteDance-Seed/VeOmni
542
defect
ac3b9f01c3cabeea5e32764cf704cd4570ffa438
ff9a40eda4d683691141475e7186283dac31f88b
[parallel, model] feat: add Ulysses sequence parallelism to Qwen3.5 GatedDeltaNet
### What does this PR do? Adds Ulysses sequence parallelism (all-to-all head sharding) support to the `Qwen3_5GatedDeltaNet` linear attention layer. Without this, SP only works for the softmax attention layers in the Qwen3.5 hybrid model; linear attention layers would compute on partial sequences without proper comm...
diff --git a/.github/workflows/gpu_unit_tests.yml b/.github/workflows/gpu_unit_tests.yml index 72c32a5e9..d35b5c286 100644 --- a/.github/workflows/gpu_unit_tests.yml +++ b/.github/workflows/gpu_unit_tests.yml @@ -70,6 +70,16 @@ jobs: - name: Sync dependencies run: | uv sync --frozen --extra g...
3
1
0
[{"id": "G0", "claim": "The padding calculation for conv_state can produce a negative pad width when the sequence length (mixed_qkv_t.shape[-1]) exceeds self.conv_kernel_size, which would make F.pad raise a ValueError during prefill with caching enabled; the conv state should instead be the last self.conv_kernel_size -...
null
ByteDance-Seed__VeOmni__558
ByteDance-Seed/VeOmni
558
defect
a09a4c112dedef6f26cd1eacaf50188884e8335e
17591ab8da4e0facee66218576758fb1b7fcdecf
[task] feat: Add DPOTrainer
### What does this PR do? 1. Add DPOTrainer 2. Use Qwen3-0.6B and trl-lib/ultrafeedback_binarized as DPO example
diff --git a/configs/text/qwen3_dpo.yaml b/configs/text/qwen3_dpo.yaml new file mode 100644 index 000000000..6771c4505 --- /dev/null +++ b/configs/text/qwen3_dpo.yaml @@ -0,0 +1,55 @@ +# DPO training with trl-lib/ultrafeedback_binarized (same dataset as HuggingFace TRL's DPO example) +# +# Step 1 - Download model: +# ...
7
6
2
[{"id": "G0", "claim": "The reference model's FSDP wrapper is built with enable_mixed_precision=args.train.enable_mixed_precision, so when mixed precision is enabled for the policy model the reference model also computes in bfloat16, which can reduce the numerical stability of the reference log probabilities; mixed pre...
null
ByteDance-Seed__VeOmni__560
ByteDance-Seed/VeOmni
560
defect
eb470356205df7b5ce9b9956f4599a745ec10b7f
e108ab4e12483fd40db3d844cfde1d8476b78e8e
[ops] feat: fused Triton kernel for MoE load balancing loss
### What does this PR do? Add a fused Triton kernel for `load_balancing_loss_func` used in MoE models (Qwen3-MoE, Qwen3-VL-MoE, Qwen3.5-MoE, etc.). The kernel fuses softmax + top-k selection + accumulation into a single GPU pass, eliminating the large `[N, top_k, num_experts]` one-hot intermediate tensor from the Hu...
diff --git a/tests/ops/test_fused_load_balancing_loss.py b/tests/ops/test_fused_load_balancing_loss.py new file mode 100644 index 000000000..1bcdfa299 --- /dev/null +++ b/tests/ops/test_fused_load_balancing_loss.py @@ -0,0 +1,190 @@ +# Copyright 2025 Bytedance Ltd. and/or its affiliates +# +# Licensed under the Apache ...
8
6
2
[{"id": "G0", "claim": "Deriving num_hidden_layers as N // (batch_size * sequence_length) is brittle and can fail (e.g. when layers have different token counts or padding affects token counts); it should use len(gate_logits) and validate that the token count matches the attention mask dimensions.", "category": "correct...
null
ByteDance-Seed__VeOmni__587
ByteDance-Seed/VeOmni
587
defect
c9e9413188c8e8d99f71ee6d2e8849976981a698
c0ac69edeb97803a95968ec2e84fa20c65544fa5
[data] feat: support frame_factor_remainder for non-divisible frame alignment
### What does this PR do? > Add `frame_factor_remainder` parameter to `calculate_frame_indices()` so that sampled frame counts can align to `factor * k + remainder` instead of only multiples of `frame_factor`. > > This is required by video generation models (e.g., Wan2.1, CogVideoX) whose temporal VAE compresses T...
diff --git a/tests/data/multimodal/test_video_utils.py b/tests/data/multimodal/test_video_utils.py index 8afa3e4f0..dfa2ad222 100644 --- a/tests/data/multimodal/test_video_utils.py +++ b/tests/data/multimodal/test_video_utils.py @@ -9,6 +9,7 @@ import torch from veomni.data.multimodal.video_utils import ( + calc...
1
1
1
[{"id": "G0", "claim": "The new helpers _align_to_factor_remainder_floor and _align_to_factor_remainder_ceil do not validate factor and remainder, so a zero or negative factor can cause a ZeroDivisionError or incorrect behavior and a remainder outside [0, factor) can lead to unexpected results; input validation should ...
null
ByteDance-Seed__VeOmni__588
ByteDance-Seed/VeOmni
588
defect
c9e9413188c8e8d99f71ee6d2e8849976981a698
7d03eb885feb8b75291547a64f82a8a5e7dbf001
[ops, dist] feat: Add EP support for merged fc1 and quack GEMM backends
### What does this PR do? Adds merged `fc1_1_2_weight` `[E, 2I, H]` support to the Expert Parallelism (EP) path for both Triton and Quack GEMM backends. Also adds full EP support (split + merged) for the Quack backend, which previously raised `NotImplementedError` for all EP paths. ### Checklist Before Starting - PR...
diff --git a/tests/ops/test_fused_moe_split_vs_merged.py b/tests/ops/test_fused_moe_split_vs_merged.py index e5183dd93..41346740b 100644 --- a/tests/ops/test_fused_moe_split_vs_merged.py +++ b/tests/ops/test_fused_moe_split_vs_merged.py @@ -2,11 +2,12 @@ import torch import torch.nn.functional as F +from veomni.dis...
3
2
2
[{"id": "G0", "claim": "The EP forward block added in quack_gemm.py is nearly identical to the one in group_gemm.py and should be refactored into a common helper (e.g. _ep_moe_forward) that takes the backend-specific GEMM functions as arguments.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "...
null
ByteDance-Seed__VeOmni__589
ByteDance-Seed/VeOmni
589
defect
c9e9413188c8e8d99f71ee6d2e8849976981a698
b777875b599b7f4faea273bbef1282848036f10f
[model, ckpt] feat: runtime checkpoint tensor converter for Qwen3-MoE v5 fused expert weights
### What does this PR do? Adds a runtime checkpoint tensor converter that automatically converts HuggingFace per-expert checkpoint format to the transformers v5 fused layout (`gate_up_proj` / `down_proj`) at load time, eliminating the need for the offline `moe_merge.py` script. Key changes: - Introduces a generi...
diff --git a/.github/workflows/gpu_unit_tests.yml b/.github/workflows/gpu_unit_tests.yml index e58a4bce8..a47735790 100644 --- a/.github/workflows/gpu_unit_tests.yml +++ b/.github/workflows/gpu_unit_tests.yml @@ -115,6 +115,7 @@ jobs: run: | uv run --frozen pytest -s -x tests/models/test_model_regi...
1
1
1
[{"id": "G0", "claim": "finalize logs warnings for unflushed per-expert and unpaired gate/up buffers but always returns an empty list, so incomplete expert tensors are silently dropped; it should return them, document the drop as intended, or raise an error if an incomplete state is critical.", "category": "correctness...
null
ByteDance-Seed__VeOmni__618
ByteDance-Seed/VeOmni
618
defect
36cac2c429b2770feca4dfb40173f55538071911
9ea7d3bdc8b2fa52c6254482f0970e88a236e907
[parallel] fix: guard ReduceLoss against zero-division when SP group has no valid tokens
### What does this PR do? Fix a critical NaN crash when using Ulysses sequence parallelism (`ulysses_size>=2`) with Liger kernel's `fused_lce`. When a micro-batch's padding distribution causes **all ranks in an SP group** to have `n_valid=0` (no supervised tokens), `ReduceLoss` computes `all_reduce(0) / all_r...
diff --git a/tests/ops/test_seqcls_loss.py b/tests/ops/test_seqcls_loss.py index 90641eca6..c7d4faeab 100644 --- a/tests/ops/test_seqcls_loss.py +++ b/tests/ops/test_seqcls_loss.py @@ -1,3 +1,5 @@ +from unittest.mock import MagicMock, patch + import pytest import torch @@ -245,3 +247,44 @@ def test_seqcls_loss_asse...
3
1
1
[{"id": "G0", "claim": "If applicable, log a warning when the zero-valid-tokens guard in ReduceLoss.forward triggers.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added `num_valid_tokens == 0` guards in ReduceLoss forward (and mirrored bac...
null
ByteDance-Seed__VeOmni__620
ByteDance-Seed/VeOmni
620
defect
90bb48489828d9200f78fe45ccbaf52e4331641d
d8a189442b12d753051a355ff4d954814027173a
[ci, dist] test: add dummy_forward and FSDP equivalence tests
### What does this PR do? > Adds shared test utilities under `tests/tools/`, two new distributed test suites under `tests/distributed/`, and deduplicates existing test helpers in `tests/e2e/utils.py`. ### Checklist Before Starting - [ ] Search for similar PRs. Paste at least one query link here: ... - [x] PR ...
diff --git a/.github/workflows/gpu_e2e_test.yml b/.github/workflows/gpu_e2e_test.yml index 796ba8964..6a8134361 100644 --- a/.github/workflows/gpu_e2e_test.yml +++ b/.github/workflows/gpu_e2e_test.yml @@ -74,14 +74,20 @@ jobs: - name: Run e2e training test run: | uv run --frozen pytest -s -x ...
8
8
2
[{"id": "G0", "claim": "build_dummy_dataset does not correctly shard the dataset: the generator yields the entire dataset on every call, so each parquet shard contains a full copy of the dataset instead of a unique slice.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i...
null
ByteDance-Seed__VeOmni__631
ByteDance-Seed/VeOmni
631
defect
30af8945ccddfe41e7e128a26a60206a3334b5e8
fb629fcfbd27f9357a705b4e5c066bd2e2644ed7
[ci, docs] refactor: consolidate test helpers and add test suite documentation
### What does this PR do? Reorganizes the test directory structure to eliminate cross-directory imports between test subdirectories, centralizes shared utilities into `tests/tools/`, and adds comprehensive test documentation. - Search for relative PRs/issues and link here: follows up on review comments requesting...
diff --git a/.github/workflows/device_api_check.yml b/.github/workflows/device_api_check.yml index d1b3b663e..ae9f21c6b 100644 --- a/.github/workflows/device_api_check.yml +++ b/.github/workflows/device_api_check.yml @@ -25,10 +25,10 @@ jobs: - uses: actions/setup-python@v3 - name: Run device api usage no...
1
1
0
[{"id": "G0", "claim": "The return type hint for prepare_exec_cmd is incorrectly specified as -> str while the function returns a list of (task name, command) tuples, and the signature should be corrected to list[tuple[str, list[str]]].", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pr...
null