Skip to content

[ENG-10338] Registrations not becoming public when embargo ends#11748

Open
antkryt wants to merge 2 commits into
CenterForOpenScience:masterfrom
antkryt:hotfix/ENG-10338
Open

[ENG-10338] Registrations not becoming public when embargo ends#11748
antkryt wants to merge 2 commits into
CenterForOpenScience:masterfrom
antkryt:hotfix/ENG-10338

Conversation

@antkryt
Copy link
Copy Markdown
Contributor

@antkryt antkryt commented May 20, 2026

Ticket

Purpose

optimize embargo report

(Added by @cslzchen ) Here is the initial PR that implements the embargo report feature: #11637

Changes

  • optimize queries/filter logic on the db side
  • fix pagination
  • add tests

Side Effects

QE Notes

CE Notes

Documentation

Copy link
Copy Markdown
Collaborator

@cslzchen cslzchen left a comment

Choose a reason for hiding this comment

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

Looks good overall, there is some issue with my local admin app, so I merged into a temporary branch https://github.com/CenterForOpenScience/osf.io/tree/feature/hotfix-cr-test for me to test it.

Copy link
Copy Markdown
Collaborator

@cslzchen cslzchen left a comment

Choose a reason for hiding this comment

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

Left a few questions and suggestions @antkryt .

In addition, have you tested all three lists with pagination locally (not unit tests)? If not, please test it. You can tweak your pagination size to a lower value like 3 so you have less data to create.

If for some limitation, you can't test it locally or you can only test some of them, please document them.

(Note: the ticket is currently assigned to QA for creating registrations/embargoes on staging2.)

Comment thread osf/models/sanctions.py Outdated
Comment thread osf/models/sanctions.py Outdated
Comment thread osf/models/sanctions.py Outdated
Comment thread osf/models/sanctions.py
Comment thread osf/models/sanctions.py Outdated
Comment thread admin/nodes/views.py Outdated
Copy link
Copy Markdown
Collaborator

@cslzchen cslzchen left a comment

Choose a reason for hiding this comment

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

⭐ Ready to go and 👍 for the responses.

Note: hold the merge until we next hotfix branch is available for us; but will put this on a temporary branch on staging2.

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