Skip to content

Improved Featured item efficiency during publication#11658

Merged
ofahimIQSS merged 5 commits intoIQSS:developfrom
GlobalDataverseCommunityConsortium:FeaturedItem_efficiency
Sep 4, 2025
Merged

Improved Featured item efficiency during publication#11658
ofahimIQSS merged 5 commits intoIQSS:developfrom
GlobalDataverseCommunityConsortium:FeaturedItem_efficiency

Conversation

@qqmyers
Copy link
Copy Markdown
Member

@qqmyers qqmyers commented Jul 18, 2025

What this PR does / why we need it: The original code streamed through all files in the latest dataset version to create a list of all file ids, and did so once for each featured item, as a way to see if a datafile used in a FeaturedItem was in the latest version. This PR just checks that directly via df.isInDatasetVersion(), which should be more scalable.

Which issue(s) this PR closes:

  • Closes #

Special notes for your reviewer: Just ran across this while hunting for an optimistic lock exception.

Suggestions on how to test this: Just regression test that publishing a dataset with FeaturedItems for some of its files deletes the items at publication time if the files are restricted in or deleted from the latest version.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

Is there a release notes update needed for this change?:

Additional documentation:

@qqmyers qqmyers added the Size: 3 A percentage of a sprint. 2.1 hours. label Jul 18, 2025
@coveralls
Copy link
Copy Markdown

coveralls commented Jul 18, 2025

Coverage Status

coverage: 23.463% (+0.001%) from 23.462%
when pulling 86ae20d on GlobalDataverseCommunityConsortium:FeaturedItem_efficiency
into de2b48f on IQSS:develop.

@qqmyers qqmyers added this to the 6.8 milestone Jul 25, 2025
@cmbz cmbz added FY26 Sprint 4 FY26 Sprint 4 (2025-08-13 - 2025-08-27) and removed FY26 Sprint 4 FY26 Sprint 4 (2025-08-13 - 2025-08-27) labels Aug 16, 2025
@cmbz cmbz moved this to SPRINT READY in IQSS Dataverse Project Aug 27, 2025
@scolapasta scolapasta moved this from SPRINT READY to Ready for Review ⏩ in IQSS Dataverse Project Sep 3, 2025
@github-project-automation github-project-automation Bot moved this from Ready for Review ⏩ to Ready for QA ⏩ in IQSS Dataverse Project Sep 3, 2025
@ofahimIQSS ofahimIQSS self-assigned this Sep 4, 2025
@ofahimIQSS ofahimIQSS moved this from Ready for QA ⏩ to QA ✅ in IQSS Dataverse Project Sep 4, 2025
@ofahimIQSS
Copy link
Copy Markdown
Contributor

regression tested in internal - no issues found. Merging PR

@ofahimIQSS ofahimIQSS merged commit 9dd6f07 into IQSS:develop Sep 4, 2025
15 checks passed
@github-project-automation github-project-automation Bot moved this from QA ✅ to Merged 🚀 in IQSS Dataverse Project Sep 4, 2025
@ofahimIQSS ofahimIQSS removed their assignment Sep 4, 2025
@scolapasta scolapasta moved this from Merged 🚀 to Done 🧹 in IQSS Dataverse Project Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Size: 3 A percentage of a sprint. 2.1 hours.

Projects

Status: Done 🧹

Development

Successfully merging this pull request may close these issues.

5 participants