• turbo 2.10.12 • Packages in scope: bb-plugin-simple-notes • Running test, typecheck, lint, build in 1 packages • Remote caching disabled, using shared worktree cache //:ensure-native-modules: cache bypass, force executing e2250024743485bf bb-plugin-simple-notes:lint: cache miss, executing e81c844ae805f49d @bb/templates:generate:plugin-scaffold: cache hit, replaying logs 04a1a25bf437d154 @bb/templates:generate:templates: cache hit, replaying logs 70324a72321826b9 @bb/templates:generate:templates: @bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates @bb/templates:generate:templates: > node ./scripts/generate-templates.mjs @bb/templates:generate:templates: @bb/templates:generate:plugin-scaffold: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold @bb/templates:generate:plugin-scaffold: > node ./scripts/generate-plugin-scaffold.mjs @bb/templates:generate:plugin-scaffold: @bb/plugin-build:generate: cache hit, replaying logs 5f2f1c6ec8c37103 @bb/process-utils:generate:profile-worker: cache hit, replaying logs d680ffe52356cc53 @bb/plugin-build:generate: @bb/plugin-build:generate: > @bb/plugin-build@0.0.1 generate @bb/plugin-build:generate: > node ./scripts/generate-plugin-theme.mjs && node ./scripts/generate-runtime-export-manifest.mjs @bb/plugin-build:generate: @bb/plugin-build:generate: wrote packages/plugin-build/src/generated/plugin-theme.generated.ts @bb/plugin-build:generate: wrote (react@19.2.4) @bb/process-utils:generate:profile-worker: @bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker @bb/process-utils:generate:profile-worker: > node scripts/generate-profile-worker.mjs @bb/process-utils:generate:profile-worker: bb-plugin-simple-notes:build: cache miss, executing 5988a06fc6bb00c5 @get-bb/plugin-sdk:build: cache miss, executing 94f416ac56f4bfd7 @get-bb/plugin-sdk:build:types: cache hit, replaying logs ef4012fd9ab849d3 @get-bb/plugin-sdk:build:types: @get-bb/plugin-sdk:build:types: > @get-bb/plugin-sdk@0.6.65 build:types @get-bb/plugin-sdk:build:types: > node scripts/build-bundled-dts.mjs @get-bb/plugin-sdk:build:types: @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-provider-bridge.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-provider-bridge-acp-next.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-environment-provider.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-machine-provider.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-app.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-host.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-composer-customization-validation.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-composer-handle.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-composer-view.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-file-navigation-validation.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-host-policy.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-testing.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-testing-app.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-testing-host.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-rpc-tags.d.ts @get-bb/plugin-sdk:build:types: Wrote bundled-types/bb-plugin-sdk-internal-rpc-query-host.d.ts bb-plugin-simple-notes:typecheck: cache miss, executing a4f7de017f4767e5 //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules //:ensure-native-modules: > node scripts/ensure-native-modules.mjs //:ensure-native-modules: bb-plugin-simple-notes:lint: bb-plugin-simple-notes:lint: > bb-plugin-simple-notes@0.2.3 lint bb-plugin-simple-notes:lint: > oxlint --ignore-pattern node_modules --ignore-pattern dist . bb-plugin-simple-notes:lint: bb-plugin-simple-notes:build: bb-plugin-simple-notes:build: > bb-plugin-simple-notes@0.2.3 build bb-plugin-simple-notes:build: > node --conditions=source --import tsx ../../scripts/build-official-plugins.mjs docs bb-plugin-simple-notes:build: @get-bb/plugin-sdk:build: @get-bb/plugin-sdk:build: > @get-bb/plugin-sdk@0.6.65 build @get-bb/plugin-sdk:build: > node scripts/build-runtime.mjs @get-bb/plugin-sdk:build: bb-plugin-simple-notes:typecheck: bb-plugin-simple-notes:typecheck: > bb-plugin-simple-notes@0.2.3 typecheck bb-plugin-simple-notes:typecheck: > tsrs --noEmit bb-plugin-simple-notes:typecheck: bb-plugin-simple-notes:lint: bb-plugin-simple-notes:lint: ! react(set-state-in-effect): Calling setState synchronously within an effect can trigger cascading renders bb-plugin-simple-notes:lint: ,-[app.tsx:1214:5] bb-plugin-simple-notes:lint: 1211 | ); bb-plugin-simple-notes:lint: 1212 | useEffect(() => { bb-plugin-simple-notes:lint: : ^^^^|^^^^ bb-plugin-simple-notes:lint: : `-- This is the containing effect bb-plugin-simple-notes:lint: 1213 | let active = true; bb-plugin-simple-notes:lint: 1214 | setState(null); bb-plugin-simple-notes:lint: : ^^^^|^^^ bb-plugin-simple-notes:lint: : `-- Avoid calling setState() directly within an effect bb-plugin-simple-notes:lint: 1215 | rpc bb-plugin-simple-notes:lint: `---- bb-plugin-simple-notes:lint: help: Effects should synchronize React with external systems. Calling setState synchronously inside an effect starts another render and is usually unnecessary. Derive the value during render, initialize state directly, or update it from the event that caused the change. Use an effect only when synchronizing with an external system. bb-plugin-simple-notes:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect bb-plugin-simple-notes:lint: bb-plugin-simple-notes:lint: ! react(preserve-manual-memoization): Existing memoization could not be preserved bb-plugin-simple-notes:lint: ,-[app.tsx:2090:5] bb-plugin-simple-notes:lint: 2088 | const isCurrentVault = useCallback( bb-plugin-simple-notes:lint: 2089 | (vaultId: string) => currentVaultIdRef.current === vaultId, bb-plugin-simple-notes:lint: : ^^^^^^^^^^^^|^^^^^^^^^^^^ bb-plugin-simple-notes:lint: : `-- This dependency is inferred here bb-plugin-simple-notes:lint: 2090 | [], bb-plugin-simple-notes:lint: : ^| bb-plugin-simple-notes:lint: : `-- This dependency list does not match the dependencies inferred from the callback bb-plugin-simple-notes:lint: 2091 | ); bb-plugin-simple-notes:lint: `---- bb-plugin-simple-notes:lint: help: React Compiler has skipped optimizing this component because the existing manual memoization could not be preserved. The inferred dependencies did not match the manually specified dependencies, which could cause the value to change more or less frequently than expected. The inferred dependency was `currentVaultIdRef`, but the source dependencies were []. Inferred dependency not present bb-plugin-simple-notes:lint: in source bb-plugin-simple-notes:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/preserve-manual-memoization bb-plugin-simple-notes:lint: bb-plugin-simple-notes:lint: ! react(preserve-manual-memoization): Existing memoization could not be preserved bb-plugin-simple-notes:lint: ,-[app.tsx:2098:6] bb-plugin-simple-notes:lint: 2097 | }, bb-plugin-simple-notes:lint: 2098 | [activeVaultId, isCurrentVault, navigateTo], bb-plugin-simple-notes:lint: : ^^^^^^|^^^^^^ bb-plugin-simple-notes:lint: : `-- This dependency may be modified later bb-plugin-simple-notes:lint: 2099 | ); bb-plugin-simple-notes:lint: `---- bb-plugin-simple-notes:lint: help: React Compiler has skipped optimizing this component because the existing manual memoization could not be preserved. This dependency may be mutated later, which could cause the value to change unexpectedly bb-plugin-simple-notes:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/preserve-manual-memoization bb-plugin-simple-notes:lint: bb-plugin-simple-notes:lint: ! react(preserve-manual-memoization): Existing memoization could not be preserved bb-plugin-simple-notes:lint: ,-[app.tsx:2093:16] bb-plugin-simple-notes:lint: 2092 | bb-plugin-simple-notes:lint: 2093 | const open = useCallback( bb-plugin-simple-notes:lint: : ^^^^^|^^^^^ bb-plugin-simple-notes:lint: : `-- Manual memoization is not preserved here bb-plugin-simple-notes:lint: 2094 | (path: string, replace = false) => { bb-plugin-simple-notes:lint: : | bb-plugin-simple-notes:lint: : `-- Manual memoization callback starts here bb-plugin-simple-notes:lint: 2095 | if (!activeVaultId || !isCurrentVault(activeVaultId)) return; bb-plugin-simple-notes:lint: `---- bb-plugin-simple-notes:lint: help: React Compiler could not prove that this useMemo/useCallback remains memoized. Fix related React Compiler errors inside the callback first. If manual memoization is not required for semantics, remove it; otherwise restructure the callback to avoid values that invalidate memoization bb-plugin-simple-notes:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/preserve-manual-memoization bb-plugin-simple-notes:lint: bb-plugin-simple-notes:lint: ! react(refs): Cannot access refs during render bb-plugin-simple-notes:lint: ,-[app.tsx:719:9] bb-plugin-simple-notes:lint: 718 | const rpcRef = useRef(rpc); bb-plugin-simple-notes:lint: 719 | rpcRef.current = rpc; bb-plugin-simple-notes:lint: : ^^^|^^^^^^|^^^ bb-plugin-simple-notes:lint: : | `-- Cannot update ref value during render bb-plugin-simple-notes:lint: : `-- This value is a ref bb-plugin-simple-notes:lint: 720 | const store = useMemo(() => getNotebookStore(vaultId), [vaultId]); bb-plugin-simple-notes:lint: `---- bb-plugin-simple-notes:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected bb-plugin-simple-notes:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs bb-plugin-simple-notes:lint: bb-plugin-simple-notes:lint: ! react(refs): Cannot access refs during render bb-plugin-simple-notes:lint: ,-[app.tsx:1386:12] bb-plugin-simple-notes:lint: 1385 | const callbacks = useRef({ onChanged, onRenamed }); bb-plugin-simple-notes:lint: 1386 | callbacks.current = { onChanged, onRenamed }; bb-plugin-simple-notes:lint: : ^^^^|^^^^^^^^|^^^ bb-plugin-simple-notes:lint: : | `-- Cannot update ref value during render bb-plugin-simple-notes:lint: : `-- This value is a ref bb-plugin-simple-notes:lint: 1387 | const { io, upload } = useMemo(() => { bb-plugin-simple-notes:lint: `---- bb-plugin-simple-notes:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected bb-plugin-simple-notes:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs bb-plugin-simple-notes:lint: bb-plugin-simple-notes:lint: ! react(refs): Cannot access refs during render bb-plugin-simple-notes:lint: ,-[app.tsx:2087:20] bb-plugin-simple-notes:lint: 2086 | const currentVaultIdRef = useRef(activeVaultId); bb-plugin-simple-notes:lint: 2087 | currentVaultIdRef.current = activeVaultId; bb-plugin-simple-notes:lint: : ^^^^^^^^|^^^^^^^^^^^^|^^^ bb-plugin-simple-notes:lint: : | `-- Cannot update ref value during render bb-plugin-simple-notes:lint: : `-- This value is a ref bb-plugin-simple-notes:lint: 2088 | const isCurrentVault = useCallback( bb-plugin-simple-notes:lint: `---- bb-plugin-simple-notes:lint: help: React refs are values that are not needed for rendering. Refs should only be accessed outside of render, such as in event handlers or effects. Accessing a ref value (the `current` property) during render can cause your component not to update as expected bb-plugin-simple-notes:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/refs bb-plugin-simple-notes:lint: bb-plugin-simple-notes:lint: ! react(immutability): Cannot reassign variable in async function bb-plugin-simple-notes:lint: ,-[app.tsx:1415:11] bb-plugin-simple-notes:lint: 1387 | const { io, upload } = useMemo(() => { bb-plugin-simple-notes:lint: 1388 | let path = notePath; bb-plugin-simple-notes:lint: : ^^|^ bb-plugin-simple-notes:lint: : `-- `path` is declared here bb-plugin-simple-notes:lint: 1389 | const io: DocumentIO = { bb-plugin-simple-notes:lint: 1390 | delay: 700, bb-plugin-simple-notes:lint: 1391 | read: async () => { bb-plugin-simple-notes:lint: 1392 | const [file, lease] = await Promise.all([ bb-plugin-simple-notes:lint: 1393 | rpc.call("readNote", { vaultId, path }), bb-plugin-simple-notes:lint: 1394 | rpc.call("preparePreview", { vaultId, path }), bb-plugin-simple-notes:lint: 1395 | ]); bb-plugin-simple-notes:lint: 1396 | return { bb-plugin-simple-notes:lint: 1397 | content: file.content, bb-plugin-simple-notes:lint: 1398 | sha256: file.sha256, bb-plugin-simple-notes:lint: 1399 | previewBaseUrl: lease.baseUrl, bb-plugin-simple-notes:lint: 1400 | previewPath: path, bb-plugin-simple-notes:lint: 1401 | proposal: null, bb-plugin-simple-notes:lint: 1402 | }; bb-plugin-simple-notes:lint: 1403 | }, bb-plugin-simple-notes:lint: 1404 | write: (content, expectedSha256) => bb-plugin-simple-notes:lint: 1405 | rpc.call("saveNote", { bb-plugin-simple-notes:lint: 1406 | vaultId, bb-plugin-simple-notes:lint: 1407 | path, bb-plugin-simple-notes:lint: 1408 | content, bb-plugin-simple-notes:lint: 1409 | ...(expectedSha256 === null ? {} : { expectedSha256 }), bb-plugin-simple-notes:lint: 1410 | }), bb-plugin-simple-notes:lint: 1411 | afterSave: async () => { bb-plugin-simple-notes:lint: 1412 | callbacks.current.onChanged(); bb-plugin-simple-notes:lint: 1413 | const renamed = await rpc.call("renameToTitle", { vaultId, path }); bb-plugin-simple-notes:lint: 1414 | if (renamed.path !== path) { bb-plugin-simple-notes:lint: 1415 | path = renamed.path; bb-plugin-simple-notes:lint: : ^^|^ bb-plugin-simple-notes:lint: : `-- Cannot reassign `path` bb-plugin-simple-notes:lint: 1416 | callbacks.current.onRenamed(path); bb-plugin-simple-notes:lint: `---- bb-plugin-simple-notes:lint: help: Reassigning a variable in an async function can cause inconsistent behavior on subsequent renders. Consider using state instead bb-plugin-simple-notes:lint: note: React Compiler skipped optimizing this component or hook. Additional guidance: https://react.dev/reference/eslint-plugin-react-hooks/lints/immutability bb-plugin-simple-notes:lint: bb-plugin-simple-notes:lint: Found 8 warnings and 0 errors. bb-plugin-simple-notes:lint: Finished in 422ms on 17 files with 21 rules using 20 threads. @get-bb/plugin-sdk:build: Built 22 @get-bb/plugin-sdk runtime entries. bb-plugin-simple-notes:test: cache miss, executing 18c056ad612d0a12 bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: > bb-plugin-simple-notes@0.2.3 test bb-plugin-simple-notes:test: > vitest run --config vitest.config.ts bb-plugin-simple-notes:test: bb-plugin-simple-notes:build: docs: built bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: RUN v4.1.1 bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: ✓ |bb-plugin-simple-notes| markdown-document.test.ts (7 tests) 12ms bb-plugin-simple-notes:test: ✓ |bb-plugin-simple-notes| document-session.test.ts (8 tests) 14ms bb-plugin-simple-notes:test: ✓ |bb-plugin-simple-notes| proposal-diff.test.ts (6 tests) 127ms bb-plugin-simple-notes:test: ✓ |bb-plugin-simple-notes| raw-html.test.ts (5 tests) 147ms bb-plugin-simple-notes:test: ✓ |bb-plugin-simple-notes| server.test.ts (43 tests) 1675ms bb-plugin-simple-notes:test: ✓ returns HTTP 400 envelopes for invalid JSON and request input 353ms bb-plugin-simple-notes:test: ✓ bounds parallel summary reads while preserving tied result order 446ms bb-plugin-simple-notes:test: ✓ |bb-plugin-simple-notes| markdown-blocks.test.ts (24 tests) 595ms bb-plugin-simple-notes:test: ✓ |bb-plugin-simple-notes| app.test.tsx (34 tests) 6287ms bb-plugin-simple-notes:test: ✓ ignores an obsolete vault refresh and rename after a deferred save 807ms bb-plugin-simple-notes:test: ✓ renders and autosaves editable Markdown tables 744ms bb-plugin-simple-notes:test: ✓ preserves video HTML when autosaving an unrelated prose edit 738ms bb-plugin-simple-notes:test: ✓ hides and preserves YAML frontmatter when editing a document 740ms bb-plugin-simple-notes:test: ✓ preserves the file opener host through autosave, conflict overwrite, and reload 1478ms bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: Test Files 7 passed (7) bb-plugin-simple-notes:test: Tests 127 passed (127) bb-plugin-simple-notes:test: Start at 03:48:04 bb-plugin-simple-notes:test: Duration 11.61s (transform 5.50s, setup 0ms, import 7.58s, tests 8.86s, environment 3.92s) bb-plugin-simple-notes:test: Tasks: 11 successful, 11 total Cached: 5 cached, 11 total Time: 13.526s