Skip to content

[NewErrors] 5.9.0-dev.20250316 vs 5.8.2 #61432

Closed as not planned
Closed as not planned

Description

The following errors were reported by 5.9.0-dev.20250316, but not by 5.8.2
Pipeline that generated this bug
Logs for the pipeline run
File that generated the pipeline

This run considered 800 popular TS repos from GH (after skipping the top 0).

Successfully analyzed 469 of 800 visited repos
Outcome Count
Detected interesting changes 50
Detected no interesting changes 419
Git clone failed 10
Package install failed 83
Project-graph error in old TS 11
Too many errors in old TS 207
Unknown failure 20

Investigation Status

Repo Errors Outcome
actions/checkout 1
actualbudget/actual 12
ag-grid/ag-grid 2
agenda/agenda 6
ajayyy/SponsorBlock 1
akveo/react-native-ui-kitten 6
bitwarden/clients 66
blakeblackshear/frigate 1
bluesky-social/social-app 1
captbaritone/webamp 1
cypress-io/cypress 1
deepstreamIO/deepstream.io 1
desktop/desktop 1
Dokploy/dokploy 3
electric-sql/pglite 7
ethers-io/ethers.js 1
Eugeny/tabby 57
getomni-ai/zerox 2
getumbrel/umbrel 2
gitpod-io/gitpod 1
growthbook/growthbook 1
hoarder-app/hoarder 1
honojs/hono 5
jupyterlab/jupyterlab 232
labring/laf 1
labring/sealos 1
lerna/lerna 2
mendableai/firecrawl 6
microsoft/azuredatastudio 2
microsoft/vscode 41
mqttjs/MQTT.js 4
neoclide/coc.nvim 3
nexe/nexe 4
openai-translator/openai-translator 1
openai/openai-node 1
peers/peerjs 2
pubkey/rxdb 2
puppeteer/puppeteer 1
socketio/socket.io 2
streetwriters/notesnook 1
subquery/subql 3
Tonejs/Tone.js 1
triggerdotdev/trigger.dev 4
typehero/typehero 1
upscayl/upscayl 1
uuidjs/uuid 2
video-dev/hls.js 7
voideditor/void 28
vrtmrz/obsidian-livesync 3
VSCodeVim/Vim 2

Activity

  1. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    actions/checkout

    tsconfig.json

    • error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string | ArrayBufferView | Iterable<string | ArrayBufferView> | AsyncIterable<string | ArrayBufferView> | Stream'.
  2. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    actualbudget/actual

    1 of 6 projects failed to build with the old tsc and were ignored

    tsconfig.json

    packages/loot-core/tsconfig.api.json

  3. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    ag-grid/ag-grid

    17 of 31 projects failed to build with the old tsc and were ignored

    external/ag-shared/tsconfig.watch.json

    external/ag-shared/tsconfig.types.watch.json

  4. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    agenda/agenda

    1 of 3 projects failed to build with the old tsc and were ignored

    tsconfig.json

    • error TS2430: Interface 'Buffer' incorrectly extends interface 'Uint8Array<ArrayBufferLike>'.
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/@types/node/buffer.d.ts#L530 in tsconfig.json
    • error TS2344: Type 'Buffer' does not satisfy the constraint 'ArrayBufferView'.
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/@types/node/fs/promises.d.ts#L50 in tsconfig.json
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/@types/node/fs/promises.d.ts#L212 in tsconfig.json
    • error TS2416: Property 'write' in type 'GridFSBucketWriteStream' is not assignable to the same property in base type 'WritableStream'.
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/mongodb/mongodb.d.ts#L3801 in tsconfig.json
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/mongodb/mongodb.d.ts#L3802 in tsconfig.json
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/mongodb/mongodb.d.ts#L3803 in tsconfig.json
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/mongodb/mongodb.d.ts#L3804 in tsconfig.json

    test/tsconfig.json

    • error TS2430: Interface 'Buffer' incorrectly extends interface 'Uint8Array<ArrayBufferLike>'.
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/@types/node/buffer.d.ts#L530 in test/tsconfig.json
    • error TS2344: Type 'Buffer' does not satisfy the constraint 'ArrayBufferView'.
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/@types/node/fs/promises.d.ts#L50 in test/tsconfig.json
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/@types/node/fs/promises.d.ts#L212 in test/tsconfig.json
    • error TS2416: Property 'write' in type 'GridFSBucketWriteStream' is not assignable to the same property in base type 'WritableStream'.
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/mongodb-memory-server-core/node_modules/mongodb/mongodb.d.ts#L3783 in test/tsconfig.json
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/mongodb-memory-server-core/node_modules/mongodb/mongodb.d.ts#L3784 in test/tsconfig.json
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/mongodb-memory-server-core/node_modules/mongodb/mongodb.d.ts#L3785 in test/tsconfig.json
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/mongodb-memory-server-core/node_modules/mongodb/mongodb.d.ts#L3786 in test/tsconfig.json
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/mongodb/mongodb.d.ts#L3801 in test/tsconfig.json
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/mongodb/mongodb.d.ts#L3802 in test/tsconfig.json
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/mongodb/mongodb.d.ts#L3803 in test/tsconfig.json
      • file:///mnt/ts_downloads/_/m/agenda/node_modules/mongodb/mongodb.d.ts#L3804 in test/tsconfig.json
  5. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    ajayyy/SponsorBlock

    2 of 3 projects failed to build with the old tsc and were ignored

    tsconfig.json

    • error TS2345: Argument of type 'ArrayBufferLike' is not assignable to parameter of type 'BufferSource'.
  6. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    akveo/react-native-ui-kitten

    2 of 6 projects failed to build with the old tsc and were ignored

    tsconfig.json

    src/showcases/tsconfig.json

  7. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    bitwarden/clients

    46 of 69 projects failed to build with the old tsc and were ignored

    libs/tools/export/vault-export/vault-export-core/tsconfig.spec.json

    libs/tools/export/vault-export/vault-export-core/tsconfig.json

    libs/tools/card/tsconfig.spec.json

    libs/tools/card/tsconfig.json

    libs/node/tsconfig.spec.json

    libs/node/tsconfig.json

    libs/key-management/tsconfig.spec.json

    libs/key-management/tsconfig.json

    libs/admin-console/tsconfig.spec.json

    libs/admin-console/tsconfig.json

    apps/desktop/native-messaging-test-runner/tsconfig.json

    This comment was too long to display in full; see the build artifact for the full details.

  8. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    blakeblackshear/frigate

    web/tsconfig.json

  9. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    bluesky-social/social-app

    3 of 7 projects failed to build with the old tsc and were ignored

    bskylink/tsconfig.json

    • error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'Uint8Array<ArrayBufferLike>'.
  10. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    captbaritone/webamp

    2 of 4 projects failed to build with the old tsc and were ignored

    packages/ani-cursor/tsconfig.json

  11. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    cypress-io/cypress

    81 of 108 projects failed to build with the old tsc and were ignored

    npm/cypress-schematic/tsconfig.json

  12. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    deepstreamIO/deepstream.io

    5 of 8 projects failed to build with the old tsc and were ignored

    tsconfig.json

  13. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    desktop/desktop

    1 of 5 projects failed to build with the old tsc and were ignored

    tsconfig.json

  14. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    Dokploy/dokploy

    3 of 6 projects failed to build with the old tsc and were ignored

    packages/server/tsconfig.server.json

    • error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string | Stream | ArrayBufferView | Iterable<string | ArrayBufferView> | AsyncIterable<string | ArrayBufferView>'.

    packages/server/tsconfig.json

    • error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string | Stream | ArrayBufferView | Iterable<string | ArrayBufferView> | AsyncIterable<string | ArrayBufferView>'.

    apps/dokploy/tsconfig.server.json

    • error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string | Stream | ArrayBufferView | Iterable<string | ArrayBufferView> | AsyncIterable<string | ArrayBufferView>'.
  15. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    electric-sql/pglite

    6 of 10 projects failed to build with the old tsc and were ignored

    packages/pg-protocol/tsconfig.json

  16. 23 remaining items

  17. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    socketio/socket.io

    12 of 32 projects failed to build with the old tsc and were ignored

    packages/engine.io/tsconfig.json

  18. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    streetwriters/notesnook

    17 of 22 projects failed to build with the old tsc and were ignored

    packages/sodium/tsconfig.json

    • error TS2345: Argument of type 'Uint8Array<ArrayBufferLike>' is not assignable to parameter of type 'WithImplicitCoercion<ArrayBuffer | SharedArrayBuffer>'.
  19. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    subquery/subql

    2 of 6 projects failed to build with the old tsc and were ignored

    tsconfig.test.json

    tsconfig.json

  20. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    Tonejs/Tone.js

    tsconfig.json

  21. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    triggerdotdev/trigger.dev

    36 of 39 projects failed to build with the old tsc and were ignored

    internal-packages/otlp-importer/tsconfig.json

  22. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    typehero/typehero

    70 of 78 projects failed to build with the old tsc and were ignored

    tooling/scripts/tsconfig.json

    • error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string | ArrayBufferView | Iterable<string | ArrayBufferView> | AsyncIterable<string | ArrayBufferView> | Stream'.
  23. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    upscayl/upscayl

    tsconfig.json

    • error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string | Stream | ArrayBufferView | Iterable<string | ArrayBufferView> | AsyncIterable<string | ArrayBufferView>'.
  24. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    uuidjs/uuid

    1 of 3 projects failed to build with the old tsc and were ignored

    tsconfig.json

    tsconfig.cjs.json

  25. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    video-dev/hls.js

    tsconfig.json

  26. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    voideditor/void

    7 of 57 projects failed to build with the old tsc and were ignored

    src/tsconfig.monaco.json

    extensions/vscode-test-resolver/tsconfig.json

    extensions/vscode-api-tests/tsconfig.json

    extensions/typescript-language-features/tsconfig.json

    extensions/tunnel-forwarding/tsconfig.json

    extensions/microsoft-authentication/tsconfig.json

    extensions/ipynb/tsconfig.json

    extensions/html-language-features/client/tsconfig.json

    extensions/git/tsconfig.json

    extensions/emmet/tsconfig.json

    extensions/debug-auto-launch/tsconfig.json

    extensions/css-language-features/client/tsconfig.json

    build/tsconfig.build.json

  27. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    vrtmrz/obsidian-livesync

    tsconfig.json

    • error TS2345: Argument of type 'Uint8Array<ArrayBufferLike>' is not assignable to parameter of type 'ArrayBuffer'.
    • error TS2345: Argument of type 'Uint8Array<ArrayBuffer>' is not assignable to parameter of type 'ArrayBuffer'.
    • error TS2345: Argument of type 'ArrayBufferLike' is not assignable to parameter of type 'ArrayBuffer'.
      • file:///mnt/ts_downloads/_/m/obsidian-livesync/src/modules/coreObsidian/storageLib/SerializedFileAccess.ts#L86
      • file:///mnt/ts_downloads/_/m/obsidian-livesync/src/modules/coreObsidian/storageLib/SerializedFileAccess.ts#L127
      • file:///mnt/ts_downloads/_/m/obsidian-livesync/src/modules/coreObsidian/storageLib/SerializedFileAccess.ts#L140
  28. typescript-bot commented on Mar 16, 2025

    @typescript-bot
    ContributorAuthor

    VSCodeVim/Vim

    tsconfig.json

  29. rbuckton commented on Mar 21, 2025

    @rbuckton
    Contributor

    The majority of these cases fall into two buckets:

    1. The version of @types/node used in these repos is out of date and needs to be updated.
    2. The errors are correct and are due to attempting to pass a Uint8Array where an ArrayBuffer is expected, as the type of ArrayBuffer has changed.

    Both of these situations are expected but require effort on the behalf of the project owners to update.

    There are a few cases, such as in bluesky-social/social-app and getomni-ai/zerox, where either a cast or type annotation is also necessary to disambiguate between Buffer (which becomes Buffer<ArrayBufferLike>) and Buffer<ArrayBuffer> due to inference resulting in an inferred type that is too narrow.

    In one case there is an incompatibility in the DOM types which should be addressed by microsoft/TypeScript-DOM-lib-generator#1944 as well as the eventual PR to merge these changes into lib.dom.d.ts.

  30. locked as resolved and limited conversation to collaborators on Oct 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions