Skip to content

DO NOT MERGE - #1532

Draft
jazairi wants to merge 2 commits into
mainfrom
etd-701
Draft

DO NOT MERGE#1532
jazairi wants to merge 2 commits into
mainfrom
etd-701

Conversation

@jazairi

@jazairi jazairi commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Developer

Accessibility
  • ANDI or WAVE has been run in accordance to our guide.
  • This PR contains no changes to the view layer.
  • New issues flagged by ANDI or WAVE have been resolved.
  • New issues flagged by ANDI or WAVE have been ticketed (link in the Pull Request details above).
  • No new accessibility issues have been flagged.
New ENV
  • All new ENV is documented in README.
  • All new ENV has been added to Heroku Pipeline, Staging and Prod.
  • ENV has not changed.
Approval beyond code review
  • UXWS/stakeholder approval has been confirmed.
  • UXWS/stakeholder review will be completed retroactively.
  • UXWS/stakeholder review is not needed.
Additional context needed to review

E.g., if the PR includes updated dependencies and/or data
migration, or how to confirm the feature is working.

Code Reviewer

Code
  • I have confirmed that the code works as intended.
  • Any CodeClimate issues have been fixed or confirmed as
    added technical debt.
Documentation
  • The commit message is clear and follows our guidelines
    (not just this pull request message).
  • The documentation has been updated or is unnecessary.
  • New dependencies are appropriate or there were no changes.
Testing
  • There are appropriate tests covering any new functionality.
  • No additional test coverage is required.

@mitlib
mitlib temporarily deployed to thesis-submit-pr-1532 August 6, 2026 20:46 Inactive
@jazairi
jazairi marked this pull request as draft August 6, 2026 21:14
jazairi added 2 commits August 6, 2026 14:18
Why these changes are being introduced:

The codebase has several skipped tests, some of
which have been skipped for years. We should
reevaluate whether these tests still need to be
skipped, or if they're even still necessary.

Relevant ticket(s):

- [ETD-701](https://mitlibraries.atlassian.net/browse/ETD-701)

How this addresses that need:

- Fixes admin advisor tests related to processor
authorization. The underlying issue was that the
Ability model did not provide the necessary
permissions for the processor role to perform
the specified tasks.
- Implements Preservation Submission Job test
confirming behavior when a 400 error is returned
using a stubbed response.
- Removes thesis integration test asserting that
the thesis form fails validation without files.
This validation does not exists, nor should it,
as files are added separately in the transfer
workflow.
- Does *not* alter a test that is skipped because
it is slow to run. Because this skip is
performance-related and provides an optional
override, it makes sense to leave it in place.

Side effects of this change:

- The Ability model as a whole may require an
overhaul. The processor role is not currently
in use, and it may not be needed.
- A remaining skipped test fails only in GitHub
Actions. That will be handled in a separate
commit.
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