Skip to content

[PP-3579] add visibility column#3009

Merged
dbernstein merged 4 commits intomainfrom
PP-3579-add-visibility-column
Feb 2, 2026
Merged

[PP-3579] add visibility column#3009
dbernstein merged 4 commits intomainfrom
PP-3579-add-visibility-column

Conversation

@dbernstein
Copy link
Contributor

@dbernstein dbernstein commented Jan 28, 2026

Description

This PR adds two column to the inventory report: visible and visibility_status.
Visible can have values of "true" or "false"
When visible is false, visibility_status is blank.
When visible is true, visibility_status can have the following values:
"manually suppressed" or "filtered".
Manual suppression supercedes filtered in the case where both are true.

Motivation and Context

https://ebce-lyrasis.atlassian.net/browse/PP-3579

Of particular note is the conclusion to the discussion of what the column layout and values should be:
Hi @Danny Bernstein Yes, a two column approach as you’ve outlined makes sense to me. The first that is a boolean: visible/(invisible/hidden/suppressed) and then a second that is the visibility status as you’ve outlined. And per the slack thread it seems like suppressed by collection won’t be an option in the longterm, so there would only be two sources of suppression.

How Has This Been Tested?

Unit tests added. Verified manually on minotaur.

Checklist

  • I have updated the documentation accordingly.
  • All new and existing tests passed.

@codecov
Copy link

codecov bot commented Jan 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.02%. Comparing base (5bc2db9) to head (4fd8734).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3009   +/-   ##
=======================================
  Coverage   93.02%   93.02%           
=======================================
  Files         481      481           
  Lines       43563    43576   +13     
  Branches     6055     6055           
=======================================
+ Hits        40525    40538   +13     
  Misses       1965     1965           
  Partials     1073     1073           

☔ View full report in Codecov by Sentry.
📢 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.

@dbernstein dbernstein requested a review from a team January 28, 2026 23:05
@dbernstein dbernstein force-pushed the PP-3579-add-visibility-column branch from ac4b6a2 to eeaa851 Compare January 29, 2026 17:24
@dbernstein dbernstein marked this pull request as draft January 29, 2026 18:54
@dbernstein
Copy link
Contributor Author

I'm moving this back to draft as I am seeing a problem testing on minotaur.

@dbernstein dbernstein marked this pull request as ready for review January 29, 2026 20:04
@dbernstein dbernstein force-pushed the PP-3579-add-visibility-column branch from d2178b3 to 4fd8734 Compare January 29, 2026 20:43
@dbernstein
Copy link
Contributor Author

This one is ready for review.

Copy link
Contributor

@tdilauro tdilauro 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! 🚀

@dbernstein dbernstein merged commit c99545b into main Feb 2, 2026
19 checks passed
@dbernstein dbernstein deleted the PP-3579-add-visibility-column branch February 2, 2026 17:16
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