Skip to content

fix(deps): update pins for successful lockfile regen - #3179

Merged
bradenmacdonald merged 2 commits into
openedx:masterfrom
brian-smith-tcril:regen-lockfile
Jul 28, 2026
Merged

fix(deps): update pins for successful lockfile regen#3179
bradenmacdonald merged 2 commits into
openedx:masterfrom
brian-smith-tcril:regen-lockfile

Conversation

@brian-smith-tcril

Copy link
Copy Markdown
Contributor

Note

I used claude to diagnose the fast-xml-parser stuff

Description

Regenerating the lockfile failed when I first tried. I was able regen by pinning oxlint (part of db8a761).

After regen, type check was failing, I addressed this by pinning types/node (also in db8a761)

Tests were then failing, narrowed down to fast-xml-parser. Details in #3178. Addressed by pinning in c489319.

brian-smith-tcril and others added 2 commits July 28, 2026 00:11
…k.json

new minor versions of oxlint have peer deps on new zero-version minor versions of oxlint-tsgolint. ^ pins the leftmost non-zero version number, so a lockfileless npm install was failing.

node types were pulled in as 26.x before pinning leading to npm run types failing. pinned to ^25 to match the pre-regen lockfile..
fast-xml-parser 5.3.8+ ships breaking XMLBuilder behavior changes in
patch/minor releases (5.3.8 serializes empty preserveOrder nodes as
"[object Object]"; 5.7.3 escapes apostrophes in attribute values),
which break the ProblemEditor OLX builder/parser on a lockfile regen.

Pin to 5.3.7, the last release before either regression, so the lockfile
can be regenerated safely. Moving to latest (and the security bump in
openedx#3175) is tracked in openedx#3178.

Refs openedx#3178

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.79%. Comparing base (5244ec5) to head (c489319).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3179   +/-   ##
=======================================
  Coverage   95.79%   95.79%           
=======================================
  Files        1398     1398           
  Lines       33473    33528   +55     
  Branches     7886     7885    -1     
=======================================
+ Hits        32064    32119   +55     
- Misses       1350     1365   +15     
+ Partials       59       44   -15     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bradenmacdonald bradenmacdonald left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I did some smoke tests, and this looks good. Thanks for taking care of this!

@bradenmacdonald
bradenmacdonald merged commit 27f1218 into openedx:master Jul 28, 2026
7 checks passed
@bradenmacdonald

Copy link
Copy Markdown
Contributor

BTW, I believe that the problem with oxlint-tsgolint is really a problem with our ancient @edx/typescript-config.

This is blocked until we can update @edx/typescript-config to use a modern moduleResolution value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants