Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@
"@vue/language-core/minimatch": "11.0.9",
"@joshwooding/vite-plugin-react-docgen-typescript/glob": "14.0.6",
"postcss-selector-parser": "7.1.7",
"uuid": "^14.0.0"
"uuid": "^14.0.0",
"tar": "^8.1.2"
},
"publishConfig": {
"access": "restricted",
Expand Down
48 changes: 5 additions & 43 deletions openmetadata-ui-core-components/src/main/resources/ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -997,15 +997,6 @@ __metadata:
languageName: node
linkType: hard

"@isaacs/fs-minipass@npm:^4.0.0":
version: 4.0.1
resolution: "@isaacs/fs-minipass@npm:4.0.1"
dependencies:
minipass: "npm:^7.0.4"
checksum: 10c0/c25b6dc1598790d5b55c0947a9b7d111cfa92594db5296c3b907e2f533c033666f692a3939eadac17b1c7c40d362d0b0635dc874cbfe3e70db7c2b07cc97a5d2
languageName: node
linkType: hard

"@isaacs/nonrecursive-glob-match@npm:^1.1.0":
version: 1.1.0
resolution: "@isaacs/nonrecursive-glob-match@npm:1.1.0"
Expand Down Expand Up @@ -5207,13 +5198,6 @@ __metadata:
languageName: node
linkType: hard

"chownr@npm:^3.0.0":
version: 3.0.0
resolution: "chownr@npm:3.0.0"
checksum: 10c0/43925b87700f7e3893296c8e9c56cc58f926411cce3a6e5898136daaf08f08b9a8eb76d37d3267e707d0dcc17aed2e2ebdf5848c0c3ce95cf910a919935c1b10
languageName: node
linkType: hard

"client-only@npm:^0.0.1":
version: 0.0.1
resolution: "client-only@npm:0.0.1"
Expand Down Expand Up @@ -7694,22 +7678,13 @@ __metadata:
languageName: node
linkType: hard

"minipass@npm:^7.0.4, minipass@npm:^7.1.2, minipass@npm:^7.1.3":
"minipass@npm:^7.1.2, minipass@npm:^7.1.3":
version: 7.1.3
resolution: "minipass@npm:7.1.3"
checksum: 10c0/539da88daca16533211ea5a9ee98dc62ff5742f531f54640dd34429e621955e91cc280a91a776026264b7f9f6735947629f920944e9c1558369e8bf22eb33fbb
languageName: node
linkType: hard

"minizlib@npm:^3.1.0":
version: 3.1.0
resolution: "minizlib@npm:3.1.0"
dependencies:
minipass: "npm:^7.1.2"
checksum: 10c0/5aad75ab0090b8266069c9aabe582c021ae53eb33c6c691054a13a45db3b4f91a7fb1bd79151e6b4e9e9a86727b522527c0a06ec7d45206b745d54cd3097bcec
languageName: node
linkType: hard

"mlly@npm:^1.7.4":
version: 1.8.1
resolution: "mlly@npm:1.8.1"
Expand Down Expand Up @@ -9251,16 +9226,10 @@ __metadata:
languageName: node
linkType: hard

"tar@npm:^7.5.7":
version: 7.5.24
resolution: "tar@npm:7.5.24"
dependencies:
"@isaacs/fs-minipass": "npm:^4.0.0"
chownr: "npm:^3.0.0"
minipass: "npm:^7.1.2"
minizlib: "npm:^3.1.0"
yallist: "npm:^5.0.0"
checksum: 10c0/6e9b955e6af05fdabf0400cd166f45795c7595657906a9afb1a86fe94a491936e1a7c1d068ec9ab8145db0fea66f0294db0a23f2e0183124d110df450f154275
"tar@npm:^8.1.2":
version: 8.1.2
resolution: "tar@npm:8.1.2"
checksum: 10c0/3091bf74117e90f9336188cee038cd6c692118c97311bc692edd8ad3d6b8ebd838c14b7ebd462724483a1d089d3c5e979df988c38c2a2ca207f452b98841df3e
languageName: node
linkType: hard

Expand Down Expand Up @@ -10131,13 +10100,6 @@ __metadata:
languageName: node
linkType: hard

"yallist@npm:^5.0.0":
version: 5.0.0
resolution: "yallist@npm:5.0.0"
checksum: 10c0/a499c81ce6d4a1d260d4ea0f6d49ab4da09681e32c3f0472dee16667ed69d01dae63a3b81745a24bd78476ec4fcf856114cb4896ace738e01da34b2c42235416
languageName: node
linkType: hard

"yargs-parser@npm:^21.1.1":
version: 21.1.1
resolution: "yargs-parser@npm:21.1.1"
Expand Down
3 changes: 2 additions & 1 deletion openmetadata-ui/src/main/resources/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@
"@codemirror/view": "^6",
"i18next": "27.2.10",
"serialize-javascript": "7.1.4",
"postcss-selector-parser": "7.1.7"
"postcss-selector-parser": "7.1.7",
"tar": "^8.1.2"

@gitar-bot gitar-bot Bot Dec 4, 2026 •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Bug: tar 8 pin breaks node-gyp's header download, and node-gyp can run

This pull request contradicts the Accepted record ADR:2026-11-19-ui-yarn-resolutions-pin-only-what-a-fresh-resolve-gets-wrong, so it is blocking. That record says a resolution may cross a major its dependent did not declare only "after checking that what the dependent imports still exists in the forced major". tar has one requester in both lockfiles, [email protected], which declares tar: ^7.5.7. The description skips that check and argues that node-gyp never runs.

That argument does not hold. Yarn injects node-gyp@npm:latest into [email protected], @tree-sitter-grammars/[email protected], [email protected] and others. Only [email protected] and tree-sitter-json have built: false. The other packages install through node-gyp-build, and its install script falls back to node-gyp rebuild when no matching prebuild exists. The record already notes that linux arm64 is missing working prebuilds for some tree-sitter packages.

The import check fails. node-gyp's install.js downloads headers by using tar.extract({strip, filter, cwd}) as the destination of a stream pipeline. tar v8.0.0 removed Node stream support from its commands, and extract() now has to be given an input option or a file. On any machine where a build falls back to source, the header download breaks, and so does the install.

The bare tar key also leaves out the dependent's name. The record's consequences rely on each pin naming its dependent so that removing it later is a lookup.

Either supersede the record with a new ADR stating that the pin knowingly breaks node-gyp source builds (and add dependenciesMeta built: false for every remaining native package so node-gyp truly never runs), or keep tar within node-gyp's major and scope the pin to the dependent so it is removed when node-gyp ships tar 8 support (nodejs/node-gyp#3396). Note: this scoped pin is only valid if a patched 7.x exists; otherwise the ADR supersession is required.:

"node-gyp/tar": "^8.1.2"

Was this helpful? React with 👍 / 👎

}
}
53 changes: 4 additions & 49 deletions openmetadata-ui/src/main/resources/ui/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2781,15 +2781,6 @@ __metadata:
languageName: node
linkType: hard

"@isaacs/fs-minipass@npm:^4.0.0":
version: 4.0.1
resolution: "@isaacs/fs-minipass@npm:4.0.1"
dependencies:
minipass: "npm:^7.0.4"
checksum: 10c0/c25b6dc1598790d5b55c0947a9b7d111cfa92594db5296c3b907e2f533c033666f692a3939eadac17b1c7c40d362d0b0635dc874cbfe3e70db7c2b07cc97a5d2
languageName: node
linkType: hard

"@isaacs/nonrecursive-glob-match@npm:^1.1.0":
version: 1.1.0
resolution: "@isaacs/nonrecursive-glob-match@npm:1.1.0"
Expand Down Expand Up @@ -8523,13 +8514,6 @@ __metadata:
languageName: node
linkType: hard

"chownr@npm:^3.0.0":
version: 3.0.0
resolution: "chownr@npm:3.0.0"
checksum: 10c0/43925b87700f7e3893296c8e9c56cc58f926411cce3a6e5898136daaf08f08b9a8eb76d37d3267e707d0dcc17aed2e2ebdf5848c0c3ce95cf910a919935c1b10
languageName: node
linkType: hard

"ci-info@npm:^3.2.0":
version: 3.9.0
resolution: "ci-info@npm:3.9.0"
Expand Down Expand Up @@ -14235,22 +14219,6 @@ __metadata:
languageName: node
linkType: hard

"minipass@npm:^7.0.4, minipass@npm:^7.1.2":
version: 7.1.3
resolution: "minipass@npm:7.1.3"
checksum: 10c0/539da88daca16533211ea5a9ee98dc62ff5742f531f54640dd34429e621955e91cc280a91a776026264b7f9f6735947629f920944e9c1558369e8bf22eb33fbb
languageName: node
linkType: hard

"minizlib@npm:^3.1.0":
version: 3.1.0
resolution: "minizlib@npm:3.1.0"
dependencies:
minipass: "npm:^7.1.2"
checksum: 10c0/5aad75ab0090b8266069c9aabe582c021ae53eb33c6c691054a13a45db3b4f91a7fb1bd79151e6b4e9e9a86727b522527c0a06ec7d45206b745d54cd3097bcec
languageName: node
linkType: hard

"mitt@npm:3.0.1":
version: 3.0.1
resolution: "mitt@npm:3.0.1"
Expand Down Expand Up @@ -18141,16 +18109,10 @@ __metadata:
languageName: node
linkType: hard

"tar@npm:^7.5.7":
version: 7.5.24
resolution: "tar@npm:7.5.24"
dependencies:
"@isaacs/fs-minipass": "npm:^4.0.0"
chownr: "npm:^3.0.0"
minipass: "npm:^7.1.2"
minizlib: "npm:^3.1.0"
yallist: "npm:^5.0.0"
checksum: 10c0/6e9b955e6af05fdabf0400cd166f45795c7595657906a9afb1a86fe94a491936e1a7c1d068ec9ab8145db0fea66f0294db0a23f2e0183124d110df450f154275
"tar@npm:^8.1.2":
version: 8.1.2
resolution: "tar@npm:8.1.2"
checksum: 10c0/3091bf74117e90f9336188cee038cd6c692118c97311bc692edd8ad3d6b8ebd838c14b7ebd462724483a1d089d3c5e979df988c38c2a2ca207f452b98841df3e
languageName: node
linkType: hard

Expand Down Expand Up @@ -19803,13 +19765,6 @@ __metadata:
languageName: node
linkType: hard

"yallist@npm:^5.0.0":
version: 5.0.0
resolution: "yallist@npm:5.0.0"
checksum: 10c0/a499c81ce6d4a1d260d4ea0f6d49ab4da09681e32c3f0472dee16667ed69d01dae63a3b81745a24bd78476ec4fcf856114cb4896ace738e01da34b2c42235416
languageName: node
linkType: hard

"yaml@npm:^2.9.1":
version: 2.9.1
resolution: "yaml@npm:2.9.1"
Expand Down
Loading