Add live test coverage for syncing SAML groups to orgs#30
Merged
Conversation
…nges Two new live harness checks in tests/run.py: - live: sync-saml-orgs seeded — seeds one synthetic-group org to diverge both ways (unjustified member added, required member removed), then one sync-saml-orgs --apply must converge every synthetic-group org back to SAML truth, verified by an independent member read-back. - live: perms follow saml group change — a fabricated SAML account gains a mapped group between two applies of the saml-group-live mapping; the user must gain the mapped grants. Account and repos restored after. tests/setup.py: extract run_sql / upsert_saml_account to module level so the harness reuses the same SQL path; name validation moves to the SQL boundary. Amp-Thread-ID: https://ampcode.com/threads/T-019eba1a-c4bc-7535-9e32-93e66db16bfa Co-authored-by: Amp <amp@ampcode.com>
- Log the active --live/--performance filter at the start of the run - Every filtered-out check logs a 'SKIP [filter] <name>' line, so the log always states which checks ran and which were skipped - The opt-in full-cycle stress run logs why it did not run - Summary reports the skipped count - A filter that matches no checks now FAILS the run instead of reporting a silently-green summary Amp-Thread-ID: https://ampcode.com/threads/T-019eba1a-c4bc-7535-9e32-93e66db16bfa Co-authored-by: Amp <amp@ampcode.com>
… failure Amp-Thread-ID: https://ampcode.com/threads/T-019eba1a-c4bc-7535-9e32-93e66db16bfa Co-authored-by: Amp <amp@ampcode.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019eba46-b348-70f7-9b4d-efb1f0178c8a Co-authored-by: Amp <amp@ampcode.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.