Skip to content

[2.0] Bump tar to 8.1.2 - #39822

Merged
karanh37 merged 1 commit into
2.0from
backport/2.0/pr-39769
Dec 4, 2026
Merged

karanh37 merged 1 commit into
2.0from
backport/2.0/pr-39769

Conversation

@gh-bot-collate

@gh-bot-collate gh-bot-collate Bot commented Dec 4, 2026

Copy link
Copy Markdown

Automated backport of #39769 to 2.0.

Source PR #39769
Author @karanh37
Merge commit daed2712ecf4032fa40a14c99a40367270db6d2d
Method Conflicts resolved by Claude — worth a read of the diff.

Resolution notes

Backport notes: PR #39769 → 2.0

Source change: add a "tar": "^8.1.2" entry to the resolutions block in both
openmetadata-ui-core-components/.../package.json and
openmetadata-ui/.../package.json, to force the tar transitive dependency to a
patched version (GHSA-4pf9-5fpx-xmr6).

Conflicts and how they were resolved

All four conflicting files conflicted only because 2.0's resolutions block
already has entries that don't exist on main (e.g. rollup, uuid, esbuild,
ws, js-yaml in core-components; a longer branch-specific list in the main UI
package). The incoming change just appends one more resolution entry, so:

  • Both package.json files: kept every existing 2.0 resolution entry and
    appended "tar": "^8.1.2" at the end of the resolutions block — same as what
    the source PR did on main, just applied against 2.0's longer list.
  • Both yarn.lock files: the conflict markers spanned nearly the whole file,
    which is normal for yarn.lock (entry ordering differs between branches) and not
    something to hand-resolve. Instead:
    1. Took the 2.0 (ours) version of yarn.lock wholesale as the starting point.
    2. Ran yarn install --mode=update-lockfile (with --ignore-engines for the
      main UI package, since the current Node in this environment is newer than
      the engines range pinned there — an existing, unrelated constraint) to
      regenerate the lockfile against the edited package.json.
    3. Diffed the result against 2.0's original lockfile: in both cases the only
      change is a new tar@^8.1.2: entry (resolved to 8.1.2), nothing else
      moved or changed version.

What to check by hand

  • Confirm [email protected] is in fact a patched version for GHSA-4pf9-5fpx-xmr6 (same
    version the source PR picked on main).
  • The main UI package's yarn install run triggered its postinstall
    (build-check → js-antlr) which failed locally only because antlr4 isn't
    installed in this sandbox — unrelated to this change and does not affect the
    lockfile, which was already saved successfully before that script ran.
  • No other files were touched; git status shows only the four originally
    conflicting files as modified.

Opened from openmetadata-collate, which holds the credentials needed to open a PR here. It merges itself once this branch's required checks pass — no review needed. If a check fails it stays open and the author of #39769 is asked to look.

resolver run

@gh-bot-collate
gh-bot-collate Bot requested review from a team, chirag-madlani and karanh37 as code owners December 4, 2026 11:55
@gh-bot-collate gh-bot-collate Bot added the safe to test Add this label to run secure Github workflows on PRs label Dec 4, 2026
@gh-bot-collate

gh-bot-collate Bot commented Dec 4, 2026

Copy link
Copy Markdown
Author

🤖 This backport will not merge itself: 2.0 has no required status checks, so there is nothing for auto-merge to wait on. Merge it by hand once CI is green.

@gh-bot-collate gh-bot-collate Bot mentioned this pull request Dec 4, 2026
6 of 13 tasks
@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

🤖 This backport is red, so it will not merge itself. @karanh37

Failing: Compatibility checks

The change is not on 2.0 yet. You raised the PR this was backported from, so please take a look. Push a fix to this branch and it merges automatically once the checks go green.

run log

@karanh37
karanh37 merged commit 279297d into 2.0 Dec 4, 2026
54 of 59 checks passed
@karanh37
karanh37 deleted the backport/2.0/pr-39769 branch December 4, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants