Skip to content

fix(deps): update @edx/frontend-lib-special-exams to v5.0.2 - #2240

Open
Anas12091101 wants to merge 1 commit into
openedx:legacy-mfefrom
mitodl:anas/special-exams-5.0.2
Open

Anas12091101 wants to merge 1 commit into
openedx:legacy-mfefrom
mitodl:anas/special-exams-5.0.2

Conversation

@Anas12091101

@Anas12091101 Anas12091101 commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

What are the relevant tickets?

https://github.com/mitodl/hq/issues/14274

Description (What does it do?)

Updates @edx/frontend-lib-special-exams to 5.0.2, which includes openedx/frontend-lib-special-exams#181.

Since 5.0.0, when a learner's exam time runs out while they are on a page of another course, that page submits the exam again and again until the tab is closed. With edx-proctoring each submit sends the learner another "Proctoring attempt submitted" email.

  • Lockfile moves from 5.0.1 to 5.0.2 (version, tarball and integrity only; no other dependency changes).
  • The range goes from ^5.0.0 to ^5.0.2, so the lockfile can't resolve back to an affected version.

Targets legacy-mfe: master (the frontend-base app since #2267) already resolves 5.0.2 in its lockfile.

How can this be tested?

Automated: npm test -- src/courseware/course/sequence/Sequence.specialExams.test.tsx src/courseware/course/Course.test.jsx src/courseware/course/sequence/Unit/hooks/useExamAccess.test.ts src/plugin-slots/SubmittedTimedExamInstructionsSlot/index.test.tsx (107 tests pass).

Manual: follow the steps in openedx/frontend-lib-special-exams#181 (a timed exam whose time runs out on a unit of another course). With this change the page sends one submit and the timer goes away, instead of repeating the submit several times a second.

@openedx-webhooks openedx-webhooks added the open-source-contribution PR author is not from Axim or 2U label Nov 6, 2026
@openedx-webhooks

Copy link
Copy Markdown

Thanks for the pull request, @Anas12091101!

This repository is currently maintained by @openedx/committers-frontend-app-learning.

Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review.

🔘 Get product approval

If you haven't already, check this list to see if your contribution needs to go through the product review process.

  • If it does, you'll need to submit a product proposal for your contribution, and have it reviewed by the Product Working Group.
    • This process (including the steps you'll need to take) is documented here.
  • If it doesn't, simply proceed with the next step.
🔘 Provide context

To help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:

  • Dependencies

    This PR must be merged before / after / at the same time as ...

  • Blockers

    This PR is waiting for OEP-1234 to be accepted.

  • Timeline information

    This PR must be merged by XX date because ...

  • Partner information

    This is for a course on edx.org.

  • Supporting documentation
  • Relevant Open edX discussion forum threads
🔘 Get a green build

If one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green.

Details
Where can I find more information?

If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources:

When can I expect my changes to be merged?

Our goal is to get community contributions seen and reviewed as efficiently as possible.

However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:

  • The size and impact of the changes that it introduces
  • The need for product review
  • Maintenance status of the parent repository

💡 As a result it may take up to several weeks or months to complete a review and merge your PR.

@codecov

codecov Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.16%. Comparing base (d5ddd82) to head (f124bf1).

Additional details and impacted files
@@             Coverage Diff             @@
##           legacy-mfe    #2240   +/-   ##
===========================================
  Coverage       96.16%   96.16%           
===========================================
  Files             368      368           
  Lines            6019     6019           
  Branches         1486     1441   -45     
===========================================
  Hits             5788     5788           
  Misses            222      222           
  Partials            9        9           

☔ 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.

@itsjeyd itsjeyd moved this from Needs Triage to Ready for Review in Contributions Nov 19, 2026
@itsjeyd

itsjeyd commented Nov 19, 2026 •

Copy link
Copy Markdown

Hi @UsamaSadiq @feanil, since you reviewed and merged openedx/frontend-lib-special-exams#181 and openedx/edx-proctoring#1365 would you mind giving this a quick look, too?

CC @openedx/committers-frontend-app-learning @brian-smith-tcril

@openedx-webhooks openedx-webhooks added the core contributor PR author is a Core Contributor (who may or may not have write access to this repo). label Nov 19, 2026
@itsjeyd
itsjeyd requested review from UsamaSadiq and feanil November 19, 2026 09:11
@itsjeyd itsjeyd added the waiting for eng review PR is ready for review. Review and merge it, or suggest changes. label Nov 19, 2026
@arbrandes

Copy link
Copy Markdown
Contributor

master is now the frontend-base app: the conversion landed in #2267, and the MFE this PR targets now lives on legacy-mfe.

Generally speaking, if this PR introduces a new feature, it should be ported onto the new frontend-base app in the master branch. Once it lands there, we can consider backporting it to legacy-mfe. In other words, unless there's a specific reason for it, it should land in master first.

If it's a bug fix, please check if the bug still exists in master, and fix it there first. If it's already gone there, it's fine to simply retarget the PR to legacy-mfe.

Apologies for the churn!

5.0.2 stops a page of another course from submitting an expired exam
over and over (openedx/frontend-lib-special-exams#181). Raise the range
to ^5.0.2 so the lockfile cannot resolve back to an affected version.
@Anas12091101
Anas12091101 force-pushed the anas/special-exams-5.0.2 branch from a71ae42 to f124bf1 Compare December 2, 2026 12:23
@Anas12091101
Anas12091101 changed the base branch from master to legacy-mfe December 2, 2026 12:23
@Anas12091101

Copy link
Copy Markdown
Contributor Author

Checked: on master the lockfile already resolves @edx/frontend-lib-special-exams to 5.0.2 (since #2267), so the bug is gone there. Retargeted this to legacy-mfe, which is still on 5.0.1.

@itsjeyd

itsjeyd commented Dec 3, 2026

Copy link
Copy Markdown

@UsamaSadiq @feanil Friendly ping on this, would you be able to give it a quick look?

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

Labels

core contributor PR author is a Core Contributor (who may or may not have write access to this repo). open-source-contribution PR author is not from Axim or 2U waiting for eng review PR is ready for review. Review and merge it, or suggest changes.

Projects

Status: Ready for Review

Development

Successfully merging this pull request may close these issues.

4 participants