Skip to content

SchemaView performance improvements#9431

Open
rschili wants to merge 46 commits into
masterfrom
rschili/schema-view-fragment
Open

SchemaView performance improvements#9431
rschili wants to merge 46 commits into
masterfrom
rschili/schema-view-fragment

refactor: Rework some documentation and skip one unnecessary invalida…

c6b23f5
Select commit
Loading
Failed to load commit list.
Azure Pipelines / iTwin.js failed Jul 25, 2026 in 35m 15s

Build #5.12.0-dev.15_20260725.2 had test failures

Details

Tests

  • Failed: 97 (0.82%)
  • Passed: 11,793 (99.18%)
  • Other: 0 (0.00%)
  • Total: 11,890

Annotations

Check failure on line 3522 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / iTwin.js

Build log #L3522

Bash exited with code '1'.

Check failure on line 11754 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / iTwin.js

Build log #L11754

Bash exited with code '1'.

Check failure on line 23520 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / iTwin.js

Build log #L23520

Bash exited with code '1'.

Check failure on line 11729 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / iTwin.js

Build log #L11729

Cmd.exe exited with code '1'.

Check failure on line 1 in SchemaView cross-validation test.bim "before all" hook for "should have matching schema count and names"

See this annotation in the file changed.

@azure-pipelines azure-pipelines / iTwin.js

SchemaView cross-validation test.bim "before all" hook for "should have matching schema count and names"

SchemaView blob: string reference 4110417920 out of range (string table size 751)
Raw output
Error: SchemaView blob: string reference 4110417920 out of range (string table size 751)
    at BinaryReader.readSRef (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115385:19)
    at mergeFragmentBlob (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115602:30)
    at SchemaViewMergeContext.mergeBlob (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115459:9)
    at parseSchemaViewBlob (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115475:9)
    at SchemaView.fromBinary (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:114178:65)
    at SchemaViewManager._ensureSchemasLoaded (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:116233:56)
    at async SchemaViewManager._loadSchemaView (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:116196:20)
    at async Context.<anonymous> (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:304970:30)

Check failure on line 1 in SchemaView lifecycle getSchemaView reflects imported schema after importSchemaStrings

See this annotation in the file changed.

@azure-pipelines azure-pipelines / iTwin.js

SchemaView lifecycle getSchemaView reflects imported schema after importSchemaStrings

SchemaView blob: string reference 3137339392 out of range (string table size 1272)
Raw output
Error: SchemaView blob: string reference 3137339392 out of range (string table size 1272)
    at BinaryReader.readSRef (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115385:19)
    at mergeFragmentBlob (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115602:30)
    at SchemaViewMergeContext.mergeBlob (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115459:9)
    at parseSchemaViewBlob (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115475:9)
    at SchemaView.fromBinary (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:114178:65)
    at SchemaViewManager._ensureSchemasLoaded (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:116233:56)
    at async SchemaViewManager._loadSchemaView (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:116196:20)
    at async Context.<anonymous> (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:304807:22)

Check failure on line 1 in SchemaView lifecycle getSchemas on second briefcase reflects schema pushed from first

See this annotation in the file changed.

@azure-pipelines azure-pipelines / iTwin.js

SchemaView lifecycle getSchemas on second briefcase reflects schema pushed from first

SchemaView blob: string reference 3187671040 out of range (string table size 1276)
Raw output
Error: SchemaView blob: string reference 3187671040 out of range (string table size 1276)
    at BinaryReader.readSRef (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115385:19)
    at mergeFragmentBlob (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115602:30)
    at SchemaViewMergeContext.mergeBlob (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115459:9)
    at parseSchemaViewBlob (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115475:9)
    at SchemaView.fromBinary (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:114178:65)
    at SchemaViewManager._ensureSchemasLoaded (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:116233:56)
    at async SchemaViewManager._loadSchemaView (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:116196:20)
    at async Context.<anonymous> (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:304841:21)

Check failure on line 1 in SchemaView lifecycle pullChanges invalidates cached SchemaView

See this annotation in the file changed.

@azure-pipelines azure-pipelines / iTwin.js

SchemaView lifecycle pullChanges invalidates cached SchemaView

SchemaView blob: string reference 3137339392 out of range (string table size 1272)
Raw output
Error: SchemaView blob: string reference 3137339392 out of range (string table size 1272)
    at BinaryReader.readSRef (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115385:19)
    at mergeFragmentBlob (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115602:30)
    at SchemaViewMergeContext.mergeBlob (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115459:9)
    at parseSchemaViewBlob (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:115475:9)
    at SchemaView.fromBinary (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:114178:65)
    at SchemaViewManager._ensureSchemasLoaded (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:116233:56)
    at async SchemaViewManager._loadSchemaView (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:116196:20)
    at async Context.<anonymous> (file:///Users/platform-bld/Library/Developer/CoreSimulator/Devices/2C6AEEDF-6A12-4A7F-9ED2-EE3712D37FF4/data/Containers/Bundle/Application/47C1D639-B05C-4582-9322-B5856C1083C9/core-test-runner.app/Assets/main.js:304855:27)