Skip to content

[2.1] Bump tar to 8.1.2 - #39823

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

karanh37 merged 1 commit into
2.1from
backport/2.1/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.1.

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

Resolution notes

Backport notes: #39769 (daed271)

Source PR adds a tar": "^8.1.2" entry to the yarn resolutions block in both
openmetadata-ui-core-components and openmetadata-ui package.json files, to
remediate GHSA-4pf9-5fpx-xmr6, plus the corresponding yarn.lock updates.

Conflicts and resolution

All four files conflicted because 2.1's resolutions blocks (and lockfiles) have
diverged significantly from main with their own independent set of pinned
overrides (e.g. rollup, esbuild, ws, js-yaml, vite in
openmetadata-ui-core-components/package.json; [email protected] instead of
27.2.10 in openmetadata-ui/package.json).

  • package.json (both): kept every existing 2.1 resolution entry untouched
    and appended "tar": "^8.1.2" as the only new entry. Did not pull in main-only
    entries that already conflicted for unrelated reasons (e.g. main's
    [email protected]/[email protected] bump, which is a separate,
    already-landed-differently change on 2.1).
  • yarn.lock (both): the lockfiles are almost entirely divergent text between
    main and 2.1 (different dependency trees evolved independently), so a
    textual merge wasn't meaningful. Instead:
    1. Restored each yarn.lock to its 2.1 (ours) content.
    2. Ran yarn install --mode=update-lockfile (with --ignore-engines for the
      main UI package, since the sandbox's Node 24 doesn't satisfy an unrelated
      dependency's engine check) against the patched package.json.
    3. Verified via diff that the only change versus the pre-cherry-pick 2.1
      lockfile is the new tar@^8.1.2 entry (5–6 lines) — no other dependency was
      bumped, reordered, or regenerated.

What to check by hand

  • Confirm tar@^8.1.2 resolves cleanly for your package manager environment
    (verified here against the public npm registry).
  • The openmetadata-ui postinstall build-check step (antlr4) isn't available
    in this sandbox, so yarn install wasn't run to full completion there — only
    the lockfile-update step, which did complete and save successfully before that
    unrelated step failed. Worth a real yarn install on a full dev environment to
    double check.
  • Cherry-pick is left in progress (unstaged, unmerged) per the workflow; the
    next step stages exactly these four files.

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 a review from a team as a code owner December 4, 2026 11:56
@gh-bot-collate
gh-bot-collate Bot requested review from Rohit0301 and removed request for a team December 4, 2026 11:56
@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.1 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
@karanh37
karanh37 merged commit 691e2ec into 2.1 Dec 4, 2026
40 of 41 checks passed
@karanh37
karanh37 deleted the backport/2.1/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.

1 participant