Skip to content

refactor: move access scope protobuf validation to pkg/sac#19502

Open
rhybrillou wants to merge 1 commit intomasterfrom
master-yann/ROX-33511/prefactor-move-pkg-accessscope-to-pkg-sac
Open

refactor: move access scope protobuf validation to pkg/sac#19502
rhybrillou wants to merge 1 commit intomasterfrom
master-yann/ROX-33511/prefactor-move-pkg-accessscope-to-pkg-sac

Conversation

@rhybrillou
Copy link
Contributor

@rhybrillou rhybrillou commented Mar 19, 2026

Description

This PR is part of the split of #19351
The split results in the following stack of PRs:

The current PR focuses on bringing the pkg/accessscope subdirectory to pkg/sac. A comment in #19351 highlighted a missed update in the moved directory. Bringing it to the pkg/sac subtree may reduce the risk of overlooking the structure validation when the protocol buffer structures related to access control are changed.

Actual changes to the moved files will come in #19505

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

N/A - this PR only moves directories around but does not change the behaviour of the actual codebase.

How I validated my change

CI

@openshift-ci
Copy link

openshift-ci bot commented Mar 19, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey - I've left some high level feedback:

  • Since this refactor moves access scope validation into pkg/sac/accessscope, consider scanning the codebase for remaining imports of pkg/accessscope and updating them for consistency with the new package location.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Since this refactor moves access scope validation into pkg/sac/accessscope, consider scanning the codebase for remaining imports of pkg/accessscope and updating them for consistency with the new package location.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@rhacs-bot
Copy link
Contributor

Images are ready for the commit at 924360c.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-322-g924360c3d7.

@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.26%. Comparing base (5b561e9) to head (924360c).
⚠️ Report is 61 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #19502      +/-   ##
==========================================
- Coverage   49.71%   49.26%   -0.45%     
==========================================
  Files        2701     2726      +25     
  Lines      203453   205625    +2172     
==========================================
+ Hits       101140   101308     +168     
- Misses      94786    96780    +1994     
- Partials     7527     7537      +10     
Flag Coverage Δ
go-unit-tests 49.26% <ø> (-0.45%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants