Skip to content

upstream-sync: merge simstudioai/sim main into feat/github-merge-agent (2026-08-03) - #677

Closed
github-actions[bot] wants to merge 4 commits into
feat/github-merge-agentfrom
upstream-sync/2026-08-03T06-35-27
Closed

upstream-sync: merge simstudioai/sim main into feat/github-merge-agent (2026-08-03)#677
github-actions[bot] wants to merge 4 commits into
feat/github-merge-agentfrom
upstream-sync/2026-08-03T06-35-27

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

Upstream sync — 2026-08-03

Merges simstudioai/sim@13a9119d into feat/github-merge-agent.

Sync range: 480 commit(s) since e2fecc86 (merge-base).

Ledger

Verification (advisory — does not block the sync)

bun run check · ❌ bun run lint · ❌ bun run test · ❌ bun run build

Verification is advisory — failures do not block the sync. Review and fix on the draft PR as needed.

bun run check

❌ failed


   • Packages in scope: @sim/audit, @sim/auth, @sim/db, @sim/emcn, @sim/logger, @sim/pii, @sim/platform-authz, @sim/realtime, @sim/realtime-protocol, @sim/runtime-secrets, @sim/security, @sim/testing, @sim/tsconfig, @sim/utils, @sim/workflow-persistence, @sim/workflow-renderer, @sim/workflow-types, docs, sim, simstudio, simstudio-ts-sdk
   • Running format:check in 21 packages
   • Remote caching disabled

::group::simstudio:format:check
cache miss, executing db888607b0259b5e
$ biome format .
Checked 3 files in 17ms. No fixes applied.
::endgroup::
::group::@sim/security:format:check
cache miss, executing fc2410243714aad2
$ biome format .
Checked 13 files in 46ms. No fixes applied.
::endgroup::
::group::@sim/workflow-types:format:check
cache miss, executing 80f69e46ffb00c04
$ biome format .
Checked 4 files in 27ms. No fixes applied.
::endgroup::
::group::@sim/auth:format:check
cache miss, executing 7b95f933c974b740
$ biome format .
Checked 3 files in 14ms. No fixes applied.
::endgroup::
::group::@sim/realtime-protocol:format:check
cache miss, executing 11ef7410ee5e5d5c
$ biome format .
Checked 5 files in 34ms. No fixes applied.
::endgroup::
::group::@sim/audit:format:check
cache miss, executing 435b10fd6837457b
$ biome format .
Checked 7 files in 47ms. No fixes applied.
::endgroup::
::group::@sim/workflow-persistence:format:check
cache miss, executing 6a2f322f646254f4
$ biome format .
Checked 8 files in 42ms. No fixes applied.
::endgroup::
::group::@sim/runtime-secrets:format:check
cache miss, executing 54427b0fcf80d46c
$ biome format .
Checked 5 files in 21ms. No fixes applied.
::endgroup::
::group::@sim/platform-authz:format:check
cache miss, executing 20bfbd17ba902713
$ biome format .
Checked 5 files in 54ms. No fixes applied.
::endgroup::
::group::@sim/realtime:format:check
cache miss, executing 1065da2db0dc0980
$ biome format .
Checked 32 files in 268ms. No fixes applied.
::endgroup::
::group::simstudio-ts-sdk:format:check
cache miss, executing e723f477a2f513f3
$ biome format .
Checked 6 files in 69ms. No fixes applied.
::endgroup::
::group::@sim/utils:format:check
cache miss, executing 251fb15243601532
$ biome format .
Checked 22 files in 120ms. No fixes applied.
::endgroup::
::group::@sim/logger:format:check
cache miss, executing d07801b30193037f
$ biome format .
Checked 6 files in 34ms. No fixes applied.
::endgroup::
::group::@sim/workflow-renderer:format:check
cache miss, executing ba94021415352e4f
$ biome format .
Checked 12 files in 88ms. No fixes applied.
::endgroup::
::group::@sim/testing:format:check
cache miss, executing 6754342b8949f5f1
$ biome format .
Checked 66 files in 365ms. No fixes applied.
::endgroup::
::group::@sim/emcn:format:check
cache miss, executing 133b9523f844114a
$ biome format .
Checked 189 files in 521ms. No fixes applied.
::endgroup::
::group::docs:format:check
cache miss, executing 42e792dc12ce87af
$ biome format .
Checked 100 files in 1058ms. No fixes applied.
::endgroup::
::group::@sim/db:format:check
cache miss, executing b6439e244765f843
$ biome format .
Checked 284 files in 4s. No fixes applied.
::endgroup::
�[;31msim:format:check�[;0m
cache miss, executing dcf3df01e091f9e1
$ biome format .
providers/models.ts format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  × Formatter would have printed the following content:
  
    3491 3491 │    * returned by provider APIs (e.g. `claude-sonnet-4-5-20250514`).
    3492 3492 │    */
    3493      │ - export·function·findCatalogModel(
    3494      │ - ··modelId:·string
    3495      │ - ):·{
         3493 │ + export·function·findCatalogModel(modelId:·string):·{
    3496 3494 │     providerId: string
    3497 3495 │     model: (typeof PROVIDER_DEFINITIONS)[keyof typeof PROVIDER_DEFINITIONS]['models'][number]
  

Checked 11244 files in 13s. No fixes applied.
Found 1 error.
format ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  × Some errors were emitted while running checks.
  

error: script "format:check" exited with code 1

 Tasks:    18 successful, 19 total
Cached:    0 cached, 19 total
  Time:    14.533s 
Failed:    sim#format:check


$ turbo run format:check
::error::sim#format:check: command (/home/runner/work/p2-sim/p2-sim/apps/sim) /home/runner/.bun/bin/bun run format:check exited (1)
 ERROR  sim#format:check: command (/home/runner/work/p2-sim/p2-sim/apps/sim) /home/runner/.bun/bin/bun run format:check exited (1)
 ERROR  run failed: command  exited (1)
error: script "check" exited with code 1

Command failed: bun run check
$ turbo run format:check
::error::sim#format:check: command (/home/runner/work/p2-sim/p2-sim/apps/sim) /home/runner/.bun/bin/bun run format:check exited (1)
 ERROR  sim#format:check: command (/home/runner/work/p2-sim/p2-sim/apps/sim) /home/runner/.bun/bin/bun run format:check exited (1)
 ERROR  run failed: command  exited (1)
error: script "check" exited with code 1

bun run lint

❌ failed


   • Packages in scope: @sim/audit, @sim/auth, @sim/db, @sim/emcn, @sim/logger, @sim/pii, @sim/platform-authz, @sim/realtime, @sim/realtime-protocol, @sim/runtime-secrets, @sim/security, @sim/testing, @sim/tsconfig, @sim/utils, @sim/workflow-persistence, @sim/workflow-renderer, @sim/workflow-types, docs, sim, simstudio, simstudio-ts-sdk
   • Running lint in 21 packages
   • Remote caching disabled

::group::@sim/workflow-types:lint
cache miss, executing 6903535170672abf
$ biome check --write --unsafe .
Checked 4 files in 39ms. No fixes applied.
::endgroup::
::group::@sim/security:lint
cache miss, executing f0d899d639617b3d
$ biome check --write --unsafe .
Checked 13 files in 98ms. No fixes applied.
::endgroup::
::group::@sim/realtime-protocol:lint
cache miss, executing 0122da9ed0cc036d
$ biome check --write --unsafe .
Checked 5 files in 79ms. No fixes applied.
::endgroup::
::group::@sim/logger:lint
cache miss, executing 101959f903fffb42
$ biome check --write --unsafe .
Checked 6 files in 76ms. No fixes applied.
::endgroup::
::group::simstudio:lint
cache miss, executing 3b3448794fd8d67a
$ biome check --write --unsafe .
Checked 3 files in 120ms. No fixes applied.
::endgroup::
::group::simstudio-ts-sdk:lint
cache miss, executing c86521201f82f1d8
$ biome check --write --unsafe .
Checked 6 files in 192ms. No fixes applied.
::endgroup::
::group::@sim/workflow-renderer:lint
cache miss, executing 26cec225a2bccef4
$ biome check --write --unsafe .
Checked 12 files in 185ms. No fixes applied.
::endgroup::
::group::@sim/utils:lint
cache miss, executing 07ed1635ff1bad02
$ biome check --write --unsafe .
Checked 22 files in 311ms. No fixes applied.
::endgroup::
::group::@sim/platform-authz:lint
cache miss, executing ab14447a9def3247
$ biome check --write --unsafe .
Checked 5 files in 46ms. No fixes applied.
::endgroup::
::group::@sim/runtime-secrets:lint
cache miss, executing 0affd3cfd3a3ca22
$ biome check --write --unsafe .
Checked 5 files in 74ms. No fixes applied.
::endgroup::
::group::@sim/workflow-persistence:lint
cache miss, executing 52e90ffa1f215c7b
$ biome check --write --unsafe .
Checked 8 files in 92ms. No fixes applied.
::endgroup::
::group::@sim/auth:lint
cache miss, executing 9bca023c18774e05
$ biome check --write --unsafe .
Checked 3 files in 28ms. No fixes applied.
::endgroup::
::group::@sim/audit:lint
cache miss, executing b1f8ee93290662d5
$ biome check --write --unsafe .
Checked 7 files in 199ms. No fixes applied.
::endgroup::
::group::@sim/testing:lint
cache miss, executing 3e85379ba14ee220
$ biome check --write --unsafe .
Checked 66 files in 823ms. No fixes applied.
::endgroup::
::group::@sim/realtime:lint
cache miss, executing 92bc76cba3601506
$ biome check --write --unsafe .
Checked 32 files in 735ms. No fixes applied.
::endgroup::
::group::@sim/emcn:lint
cache miss, executing 7c9037a01b46da77
$ biome check --write --unsafe .
Checked 189 files in 1713ms. No fixes applied.
::endgroup::
::group::docs:lint
cache miss, executing 2fddc1ac6696b586
$ biome check --write --unsafe .
Checked 100 files in 1628ms. No fixes applied.
::endgroup::
::group::@sim/db:lint
cache miss, executing 0e4794115b454eed
$ biome check --write --unsafe .
Checked 284 files in 7s. No fixes applied.
::endgroup::
�[;31msim:lint�[;0m
cache miss, executing 40ec8454367c92c0
$ biome check --write --unsafe .
app/workspace/[workspaceId]/files/components/file-viewer/rich-markdown-editor/highlight.ts:16:24 lint/complexity/noUselessStringRaw ━━━━━━━━━━

  i String.raw is useless when the raw string doesn't contain any escape sequence.
  
    14 │  * the closing `==` still terminates the run.
    15 │  */
  > 16 │ const HIGHLIGHT_BODY = String.raw`(?:[^=]|=(?!=))+?`
       │                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    17 │ const HIGHLIGHT_TOKEN = new RegExp(String.raw`^==(?!\s)(${HIGHLIGHT_BODY})(?<!\s)==`)
    18 │ /** Input/paste rule form (anchored on a preceding boundary) so typing `==x==` toggles the mark. */
  
  i Remove the String.raw call beacause it's useless here, String.raw can deal with string which contains escape sequence like \n, \t, \r, \\, \", \'.
  

local-copilot/lib/agent/orchestrator.billing.test.ts:70:25 lint/correctness/useYield ━━━━━━━━━━━━━━━

  × This generator function doesn't contain yield.
  
    69 │ vi.mock('@/local-copilot/lib/agent/specialists/parallel-subagents', () => ({
  > 70 │   runParallelSubagents: async function* () {
       │                         ^^^^^^^^^^^^^^^^^^^^
  > 71 │     return { findings: '', results: [], events: [] }
  > 72 │   },
       │   ^
    73 │ }))
    74 │ 
  

local-copilot/lib/agent/orchestrator.billing.test.ts:76:22 lint/correctness/useYield ━━━━━━━━━━━━━━━

  × This generator function doesn't contain yield.
  
    75 │ vi.mock('@/local-copilot/lib/agent/specialists/specialist-pass', () => ({
  > 76 │   runSpecialistPass: async function* () {
       │                      ^^^^^^^^^^^^^^^^^^^^
  > 77 │     return { domain: 'research', findings: '', toolRoundCount: 0, events: [] }
  > 78 │   },
       │   ^
    79 │ }))
    80 │ 
  

tools/figma/figma_to_html_ai.ts:200:5 lint/correctness/noUnreachable ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  × This code will never be reached ...
  
    198 │     }
    199 │ 
  > 200 │     return {
        │     ^^^^^^^^
  > 201 │       success: true,
  > 202 │       output: {
  > 203 │         metadata: data.metadata,
  > 204 │       },
  > 205 │     }
        │     ^
    206 │   },
    207 │ 
  
  i ... because either this statement will throw an exception, ...
  
    115 │     if (!params) {
  > 116 │       throw new Error('Missing required parameters')
        │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    117 │     }
    118 │ 
  
  i ... this statement will return from the function, ...
  
    146 │       )
    147 │ 
  > 148 │       return {
        │       ^^^^^^^^
  > 149 │         success: true,
         ...
  > 162 │         },
  > 163 │       }
        │       ^
    164 │     } catch (error) {
    165 │       const errorMessage = error instanceof Error ? error.message : String(error)
  
  i ... or this statement will return from the function beforehand
  
    180 │       cleanedHtml = cleanedHtml.trim() // trim ends
    181 │ 
  > 182 │       return {
        │       ^^^^^^^^
  > 183 │         success: false,
         ...
  > 196 │         error: data.error || 'Figma to HTML conversion failed',
  > 197 │       }
        │       ^
    198 │     }
    199 │ 
  

Checked 11244 files in 34s. Fixed 66 files.
Found 3 errors.
check ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  × Some errors were emitted while running checks.
  

error: script "lint" exited with code 1

 Tasks:    18 successful, 19 total
Cached:    0 cached, 19 total
  Time:    35.513s 
Failed:    sim#lint


$ turbo run lint
::error::sim#lint: command (/home/runner/work/p2-sim/p2-sim/apps/sim) /home/runner/.bun/bin/bun run lint exited (1)
 ERROR  sim#lint: command (/home/runner/work/p2-sim/p2-sim/apps/sim) /home/runner/.bun/bin/bun run lint exited (1)
 ERROR  run failed: command  exited (1)
error: script "lint" exited with code 1

Command failed: bun run lint
$ turbo run lint
::error::sim#lint: command (/home/runner/work/p2-sim/p2-sim/apps/sim) /home/runner/.bun/bin/bun run lint exited (1)
 ERROR  sim#lint: command (/home/runner/work/p2-sim/p2-sim/apps/sim) /home/runner/.bun/bin/bun run lint exited (1)
 ERROR  run failed: command  exited (1)
error: script "lint" exited with code 1

bun run test

❌ failed

ts,title=lib/uploads/providers/blob/client.test.ts > Azure Blob Storage Client > downloadFromBlob > should destroy the opened stream when content length exceeds the limit,line=177,column=69::AssertionError: expected [Function] to throw error including 'storage download exceeds maximum size' but got 'Azure Blob Storage credentials are mi…'%0A%0AExpected: "storage download exceeds maximum size"%0AReceived: "Azure Blob Storage credentials are missing – set AZURE_STORAGE_CONNECTION_STRING or both AZURE_STORAGE_ACCOUNT_NAME and AZURE_STORAGE_ACCOUNT_KEY in your environment."%0A%0A ❯ lib/uploads/providers/blob/client.test.ts:177:69%0A%0A

::error file=/home/runner/work/p2-sim/p2-sim/apps/sim/lib/uploads/providers/blob/client.ts,title=lib/uploads/providers/blob/client.test.ts > Azure Blob Storage Client > deleteFromBlob > should delete a file from Azure Blob Storage,line=97,column=11::Error: Azure Blob Storage credentials are missing – set AZURE_STORAGE_CONNECTION_STRING or both AZURE_STORAGE_ACCOUNT_NAME and AZURE_STORAGE_ACCOUNT_KEY in your environment.%0A ❯ getBlobServiceClient lib/uploads/providers/blob/client.ts:97:11%0A ❯ Module.deleteFromBlob lib/uploads/providers/blob/client.ts:483:25%0A ❯ lib/uploads/providers/blob/client.test.ts:190:7%0A%0A

::error file=/home/runner/work/p2-sim/p2-sim/apps/sim/lib/uploads/providers/blob/client.ts,title=lib/uploads/providers/blob/client.test.ts > Azure Blob Storage Client > getPresignedUrl > should generate a presigned URL for Azure Blob Storage,line=97,column=11::Error: Azure Blob Storage credentials are missing – set AZURE_STORAGE_CONNECTION_STRING or both AZURE_STORAGE_ACCOUNT_NAME and AZURE_STORAGE_ACCOUNT_KEY in your environment.%0A ❯ getBlobServiceClient lib/uploads/providers/blob/client.ts:97:11%0A ❯ Module.getPresignedUrl lib/uploads/providers/blob/client.ts:183:29%0A ❯ lib/uploads/providers/blob/client.test.ts:202:22%0A%0A

::error file=/home/runner/work/p2-sim/p2-sim/apps/sim/local-copilot/lib/agent/specialists/specialist-pass.ts,title=local-copilot/lib/agent/specialists/specialist-pass.billing.test.ts > executeSpecialistLoop billing > routes model and tool cost through the shared turn accumulator without recordModelUsage,line=112,column=33::TypeError: Cannot read properties of undefined (reading 'tryEnter')%0A ❯ Module.executeSpecialistLoop local-copilot/lib/agent/specialists/specialist-pass.ts:112:33%0A ❯ local-copilot/lib/agent/specialists/specialist-pass.billing.test.ts:98:11%0A%0A

::error file=/home/runner/work/p2-sim/p2-sim/apps/sim/app/api/auth/oauth/token/route.test.ts,title=app/api/auth/oauth/token/route.test.ts > OAuth Token API Routes > POST handler > should return access token successfully,line=63,column=31::AssertionError: expected 401 to be 200 // Object.is equality%0A%0A- Expected%0A+ Received%0A%0A- 200%0A+ 401%0A%0A ❯ app/api/auth/oauth/token/route.test.ts:63:31%0A%0A

::error file=/home/runner/work/p2-sim/p2-sim/apps/sim/app/api/auth/oauth/token/route.test.ts,title=app/api/auth/oauth/token/route.test.ts > OAuth Token API Routes > POST handler > should handle workflowId for server-side authentication,line=98,column=31::AssertionError: expected 401 to be 200 // Object.is equality%0A%0A- Expected%0A+ Received%0A%0A- 200%0A+ 401%0A%0A ❯ app/api/auth/oauth/token/route.test.ts:98:31%0A%0A

::error file=/home/runner/work/p2-sim/p2-sim/apps/sim/app/api/auth/oauth/token/route.test.ts,title=app/api/auth/oauth/token/route.test.ts > OAuth Token API Routes > GET handler > should return access token successfully,line=334,column=31::AssertionError: expected 401 to be 200 // Object.is equality%0A%0A- Expected%0A+ Received%0A%0A- 200%0A+ 401%0A%0A ❯ app/api/auth/oauth/token/route.test.ts:334:31%0A%0A

::error file=/home/runner/work/p2-sim/p2-sim/apps/sim/app/api/workflows/[id]/execute/route.async.test.ts,title=app/api/workflows/[id]/execute/route.async.test.ts > workflow execute async route > returns 499 when a non-SSE execution is cancelled by client disconnect,line=307,column=29::AssertionError: expected 500 to be 499 // Object.is equality%0A%0A- Expected%0A+ Received%0A%0A- 499%0A+ 500%0A%0A ❯ app/api/workflows/[id]/execute/route.async.test.ts:307:29%0A%0A

::error file=/home/runner/work/p2-sim/p2-sim/apps/sim/app/api/workflows/[id]/execute/route.async.test.ts,title=app/api/workflows/[id]/execute/route.async.test.ts > workflow execute async route > rejects large MCP bridge outputs instead of returning large-value refs,line=340,column=29::AssertionError: expected 500 to be 413 // Object.is equality%0A%0A- Expected%0A+ Received%0A%0A- 413%0A+ 500%0A%0A ❯ app/api/workflows/[id]/execute/route.async.test.ts:340:29%0A%0A

::error file=/home/runner/work/p2-sim/p2-sim/apps/sim/app/api/workflows/[id]/execute/route.async.test.ts,title=app/api/workflows/[id]/execute/route.async.test.ts > workflow execute async route > does not trust client-spoofed MCP bridge headers on API key executions,line=380,column=29::AssertionError: expected 500 to be 200 // Object.is equality%0A%0A- Expected%0A+ Received%0A%0A- 200%0A+ 500%0A%0A ❯ app/api/workflows/[id]/execute/route.async.test.ts:380:29%0A%0A

::error file=/home/runner/work/p2-sim/p2-sim/apps/sim/app/api/workflows/[id]/execute/route.async.test.ts,title=app/api/workflows/[id]/execute/route.async.test.ts > workflow execute async route > keeps trusted internal MCP bridge executions on the JSON envelope path,line=415,column=29::AssertionError: expected 500 to be 200 // Object.is equality%0A%0A- Expected%0A+ Received%0A%0A- 200%0A+ 500%0A%0A ❯ app/api/workflows/[id]/execute/route.async.test.ts:415:29%0A%0A

::error file=/home/runner/work/p2-sim/p2-sim/apps/sim/app/api/workflows/[id]/execute/route.async.test.ts,title=app/api/workflows/[id]/execute/route.async.test.ts > workflow execute async route > preserves authenticated-user actor semantics for trusted MCP bridge calls,line=459,column=29::AssertionError: expected 500 to be 200 // Object.is equality%0A%0A- Expected%0A+ Received%0A%0A- 200%0A+ 500%0A%0A ❯ app/api/workflows/[id]/execute/route.async.test.ts:459:29%0A%0A

::error file=/home/runner/work/p2-sim/p2-sim/apps/sim/lib/copilot/tools/server/workflow/edit-workflow/operations.test.ts,title=lib/copilot/tools/server/workflow/edit-workflow/operations.test.ts > handleEditOperation nestedNodes merge > updates inputs on matched children without changing their ID,line=313,column=48::AssertionError: expected undefined to be 'New prompt' // Object.is equality%0A%0A- Expected:%0A"New prompt"%0A%0A+ Received:%0Aundefined%0A%0A ❯ lib/copilot/tools/server/workflow/edit-workflow/operations.test.ts:313:48%0A%0A

::error file=/home/runner/work/p2-sim/p2-sim/apps/sim/lib/copilot/tools/server/workflow/edit-workflow/operations.test.ts,title=lib/copilot/tools/server/workflow/edit-workflow/operations.test.ts > handleEditOperation nestedNodes merge > recursively updates an existing nested loop and preserves grandchild IDs,line=357,column=70::AssertionError: expected undefined to be 'Updated prompt' // Object.is equality%0A%0A- Expected:%0A"Updated prompt"%0A%0A+ Received:%0Aundefined%0A%0A ❯ lib/copilot/tools/server/workflow/edit-workflow/operations.test.ts:357:70%0A%0A
error: script "test" exited with code 1

 Tasks:    9 successful, 10 total
Cached:    0 cached, 10 total
  Time:    8m9.707s 
Failed:    sim#test


$ turbo run test
::error::sim#test: command (/home/runner/work/p2-sim/p2-sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
 ERROR  sim#test: command (/home/runner/work/p2-sim/p2-sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
 ERROR  run failed: command  exited (1)
error: script "test" exited with code 1

Command failed: bun run test
$ turbo run test
::error::sim#test: command (/home/runner/work/p2-sim/p2-sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
 ERROR  sim#test: command (/home/runner/work/p2-sim/p2-sim/apps/sim) /home/runner/.bun/bin/bun run test exited (1)
 ERROR  run failed: command  exited (1)
error: script "test" exited with code 1

bun run build

❌ failed


   • Packages in scope: @sim/audit, @sim/auth, @sim/db, @sim/emcn, @sim/logger, @sim/pii, @sim/platform-authz, @sim/realtime, @sim/realtime-protocol, @sim/runtime-secrets, @sim/security, @sim/testing, @sim/tsconfig, @sim/utils, @sim/workflow-persistence, @sim/workflow-renderer, @sim/workflow-types, docs, sim, simstudio, simstudio-ts-sdk
   • Running build in 21 packages
   • Remote caching disabled

::group::simstudio:build
cache miss, executing d986311ed754e393
$ tsc
::endgroup::
::group::simstudio-ts-sdk:build
cache miss, executing 671514ff7495b37f
$ tsc
::endgroup::

$ turbo run build

Command failed: bun run build
$ turbo run build

Agent usage

parent-grill-analysis

  • Model: claude-opus-4-8
  • Iterations: 1
  • Input tokens (direct): 31
  • Input tokens (cache read): 1,426,861
  • Input tokens (cache create): 110,001
  • Input tokens (total): 1,536,893
  • Output tokens: 26,507
  • Cost: $3.484130 (provider-reported)

Totals

  • Total input tokens: 1,536,893
  • Total output tokens: 26,507
  • Primary models: claude-opus-4-8
  • Provider-reported cost: $3.484130

Cost by agent

  • parent-grill-analysis: $3.484130 (provider-reported)

Draft — mark ready for review when satisfied.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Author

Upstream sync 2026-08-03 — grill questions (480 commits, v0.7.29 → v0.7.52)

First run for this range (no prior Q&A in grill-log.md/qa-history.jsonl). Fork-owned isolated integration paths (arena, unipile, facebook_ads, presentation, p2_docs, lib/hubspot, lib/branding, admin) all merged cleanly — the ~230 conflicts are in shared code. Most conflicts resolve mechanically from merge-policy.json + the constitution and are recorded in run.md. The following need a human decision. Reply with /upstream-sync resume and your answers.

1. Copilot / "mothership" conflict strategy — BLOCKING

Upstream's mothership v0.8 copilot rewrite (simstudioai#5410 + a long tail: simstudioai#5660, simstudioai#5828, simstudioai#5830, simstudioai#5671, simstudioai#6087, simstudioai#6103) collides with the fork's large, renamed "mothership" copilot surface: lib/mothership/, local-copilot/, app/api/mothership/*, app/workspace/[workspaceId]/home/components/mothership-*, blocks/blocks/mothership.ts, executor/handlers/mothership/, stores/mothership-* + stores/chat/*, lib/copilot/chat/*, lib/billing/core/mothership-chat-attribution*.

The merge policy's forkFirst list does not cover any of these — it lists apps/sim/app/chat/, which does not exist in the repo (stale entry).

Default if unanswered: fork-first on all mothership/copilot conflicts.

2. CI workflows — BLOCKING

.github/workflows/ci.yml conflicts. The fork carries deploy-critical GHCR/p2-sim/Blacksmith references (no CI_PROVIDER toggle yet); upstream restructured CI (simstudioai#5808 CI_PROVIDER toggle, runner sizing, cache changes) and deleted i18n.yml (#2f9144eb). .github/workflows/ isn't in the merge policy; the policy note says "upstream wins on CI," but a blind upstream take would erase the fork's registry/deploy wiring.

  • Preserve fork CI/deploy refs and layer upstream's structural changes on top (recommended), or take upstream ci.yml wholesale and re-apply fork refs manually?
  • Delete i18n.yml (follow upstream) or keep it?

3. bunfig supply-chain gate — advisory

Fork sets minimumReleaseAge = 0 (gate off, no excludes); upstream simstudioai#5523 re-enabled it with scoped excludes. Not a merge conflict, so it stays off unless you say otherwise. Keep off, or adopt upstream's gate?

4. Desktop app (simstudioai#5998) — advisory

New additive surface (apps/desktop + desktop prerelease CI); no conflict. Default is to take it. Adopt and maintain, or exclude to limit fork surface?


Full analysis in .upstream-sync/ledger/2026-08-03/run.md under ## Grill analysis.

@utcarshsrivastava-collab

Copy link
Copy Markdown
Collaborator

Superseded — starting a fresh upstream-sync run with harness fixes (grill gate, skip husky on merge commits, finalize child agent).

@utcarshsrivastava-collab
utcarshsrivastava-collab deleted the upstream-sync/2026-08-03T06-35-27 branch August 4, 2026 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant