Skip to content

[v3-4-test] Mock the simple auth manager in permission tests and guard against the base-class patch (#75138) - #75140

Merged
potiuk merged 1 commit into
apache:v3-4-testfrom
potiuk:backport-75138-v3-4-test
Oct 19, 2026
Merged

potiuk merged 1 commit into
apache:v3-4-testfrom
potiuk:backport-75138-v3-4-test

Conversation

@potiuk

@potiuk potiuk commented Oct 19, 2026

Copy link
Copy Markdown
Member

Backport of #75138 to v3-4-test.

Only the check-auth-manager-mock-targets prek hook (with its tests and config entry) applies here: the dependencies graph permission tests from #73008 are not on v3-4-test, and the upstream asset events test from #72924 already patches SimpleAuthManager on this branch. SimpleAuthManager overrides get_authorized_assets on v3-4-test too, so the guard is just as relevant for future backports.

On v3-4-test: the hook's tests pass (9), and the hook passes over all files.

(cherry picked from commit ac0c20c)


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 5)

Generated-by: Claude Code (Opus 5) following the guidelines

…d against the base-class patch (apache#75138)

Only the check-auth-manager-mock-targets prek hook applies here: the dependencies graph permission tests from apache#73008 are not on v3-4-test, and the upstream asset events test from apache#72924 already patches SimpleAuthManager on this branch.

(cherry picked from commit ac0c20c)
Generated-by: Claude Opus 5
@potiuk
potiuk merged commit fde6f5e into apache:v3-4-test Oct 19, 2026
3 checks passed
@potiuk
potiuk deleted the backport-75138-v3-4-test branch October 19, 2026 20:45
vatsrahul1001 pushed a commit that referenced this pull request Oct 20, 2026
…d against the base-class patch (#75138) (#75140)

Only the check-auth-manager-mock-targets prek hook applies here: the dependencies graph permission tests from #73008 are not on v3-4-test, and the upstream asset events test from #72924 already patches SimpleAuthManager on this branch.

(cherry picked from commit ac0c20c)
Generated-by: Claude Opus 5
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.

1 participant