Skip to content

Conversation

@barakmich
Copy link
Contributor

Specifically, IterSubjects and IterResources (equivalent to LS, LR)

Description

Testing

References

@barakmich barakmich requested a review from a team as a code owner December 19, 2025 23:35
@github-actions github-actions bot added the area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools) label Dec 19, 2025
@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

❌ Patch coverage is 93.75000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.47%. Comparing base (5243b57) to head (1f7e267).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...iontesting/consistencytestutil/accessibilityset.go 93.75% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2787      +/-   ##
==========================================
- Coverage   78.50%   78.47%   -0.02%     
==========================================
  Files         458      458              
  Lines       44253    44277      +24     
==========================================
+ Hits        34736    34744       +8     
- Misses       6698     6708      +10     
- Partials     2819     2825       +6     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@barakmich barakmich force-pushed the barakmich/finish_iters branch 2 times, most recently from ae4de81 to 760f55e Compare January 6, 2026 20:45
@barakmich barakmich force-pushed the barakmich/finish_iters branch from 760f55e to 1f7e267 Compare January 6, 2026 23:13
Copy link
Contributor

@tstirrat15 tstirrat15 left a comment

Choose a reason for hiding this comment

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

See comments, otherwise LGTM


// Test SubjectTypes - should return all defined subject types
subjectTypes := accessibilitySet.SubjectTypes()
require.NotEmpty(subjectTypes)
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we make a stronger assertion here?

resources := accessibilitySet.AllResourcesNoWildcards()
require.NotEmpty(resources)

// Test UncomputedPermissionshipFor and AccessibiliyAndPermissionshipFor
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm renaming AccessibiliyAndPermissionshipFor in the PR that I'm working on - it may make sense to do it in this PR.

@barakmich barakmich added this pull request to the merge queue Jan 8, 2026
Merged via the queue into main with commit 7b6c033 Jan 8, 2026
45 checks passed
@barakmich barakmich deleted the barakmich/finish_iters branch January 8, 2026 00:41
@github-actions github-actions bot locked and limited conversation to collaborators Jan 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area/tooling Affects the dev or user toolchain (e.g. tests, ci, build tools)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants