Skip to content

test(BA-7809): add scenario tests for the user resource policy - #14517

Closed
jopemachine wants to merge 3 commits into
test/BA-7809-keypair-policy-scenariosfrom
test/BA-7809-user-policy-scenarios
Closed

test(BA-7809): add scenario tests for the user resource policy#14517
jopemachine wants to merge 3 commits into
test/BA-7809-keypair-policy-scenariosfrom
test/BA-7809-user-policy-scenarios

Conversation

@jopemachine

@jopemachine jopemachine commented Sep 11, 2026

Copy link
Copy Markdown
Member

📚 Stacked PRs

Part of the resource policy scenario stack under BA-7809. Merge in order (bottom-up):

  1. test(BA-7809): let the user policy seed carry a concurrent-login cap #14534test(BA-7809): user policy seed carries a concurrent-login cap
  2. test(BA-7809): add scenario tests for the project resource policy #14515test(BA-7809): project resource policy scenarios
  3. test(BA-7809): add scenario tests for the keypair resource policy #14516test(BA-7809): keypair resource policy scenarios
  4. 👉 test(BA-7809): add scenario tests for the user resource policy #14517test(BA-7809): user resource policy scenarios ← you are here

Resolves BA-7809

Summary

Test plan

  • python3 scripts/knowledge/check.py passes
  • test-scenario on CI: 83 scenarios, 0 failing
  • report.md regenerated from the run's scenarios.jsonl with scripts/scenario-report.py --split; only the inherited batch_load_fields is left unexercised

🤖 Generated with Claude Code

https://claude.ai/code/session_019vFCmtPMD6GLPBJxJoFroD

jopemachine added a commit that referenced this pull request Sep 11, 2026
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019vFCmtPMD6GLPBJxJoFroD
@jopemachine
jopemachine force-pushed the test/BA-7809-user-policy-scenarios branch from 51d034f to 7b9797c Compare September 11, 2026 03:30
@github-actions github-actions Bot added the size:XL 500~ LoC label Sep 11, 2026
@jopemachine
jopemachine force-pushed the test/BA-7809-keypair-policy-scenarios branch from 2591c2d to 26eab13 Compare September 11, 2026 03:51
jopemachine added a commit that referenced this pull request Sep 11, 2026
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019vFCmtPMD6GLPBJxJoFroD
@jopemachine
jopemachine force-pushed the test/BA-7809-user-policy-scenarios branch from 7b9797c to 976dd62 Compare September 11, 2026 03:51
@github-actions github-actions Bot added size:L 100~500 LoC and removed size:XL 500~ LoC labels Sep 11, 2026
@jopemachine
jopemachine force-pushed the test/BA-7809-keypair-policy-scenarios branch from 26eab13 to 4572d36 Compare September 11, 2026 03:52
jopemachine added a commit that referenced this pull request Sep 11, 2026
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019vFCmtPMD6GLPBJxJoFroD
@jopemachine
jopemachine force-pushed the test/BA-7809-user-policy-scenarios branch from 976dd62 to 9cca900 Compare September 11, 2026 03:52
jopemachine and others added 3 commits September 11, 2026 12:57
Write the user policy chapter of api/adapters/resource_policy/KNOWLEDGE.md and
transcribe it on top of the project and keypair rows: 27 rows, all six of its
adapter calls reached, which completes the adapter. Every row is one a family
already there has too, so registering the family runs them all. Reading one's
own user policy goes straight off the user's row, so it has no not-found row.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019vFCmtPMD6GLPBJxJoFroD
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019vFCmtPMD6GLPBJxJoFroD
Generated from the CI run with scripts/scenario-report.py --split.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019vFCmtPMD6GLPBJxJoFroD
@jopemachine
jopemachine force-pushed the test/BA-7809-keypair-policy-scenarios branch from 4572d36 to 3ac1216 Compare September 11, 2026 03:58
@jopemachine
jopemachine force-pushed the test/BA-7809-user-policy-scenarios branch from 9cca900 to a1fca16 Compare September 11, 2026 03:58
@github-actions github-actions Bot added size:XL 500~ LoC and removed size:L 100~500 LoC labels Sep 11, 2026
@jopemachine

Copy link
Copy Markdown
Member Author

Reopened as independent PRs against main, one issue each: #14547 (BA-7854 seed), #14548 (BA-7851 project), #14549 (BA-7852 keypair), #14550 (BA-7853 user).

@jopemachine
jopemachine deleted the test/BA-7809-user-policy-scenarios branch September 11, 2026 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XL 500~ LoC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant