Skip to content

feat(enterprise): adoption telemetry, POST idempotency, and SSO/SCIM guides + e2e test - #753

Merged
Ayinkx merged 3 commits into
AyinkxLab:mainfrom
nuxcutz:feat/telemetry-idempotency
Nov 22, 2026
Merged

Ayinkx merged 3 commits into
AyinkxLab:mainfrom
nuxcutz:feat/telemetry-idempotency

Conversation

@nuxcutz

@nuxcutz nuxcutz commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add bounded, privacy-safe enterprise adoption telemetry counters for SSO, SCIM, custom roles, and audit exports using fixed enum labels only; identifiers and secrets are never used as labels. Adds a monitoring dashboard, structured error paths, tests, and docs.
  • Add POST idempotency-key support: persist key, canonical request hash, and stored response with a bounded TTL; replay the original response for a repeated key and return a structured conflict when a key is reused with a different body. Adds a migration, cleanup command, tests, and docs.
  • Add provider-agnostic SSO (OIDC/SAML) and SCIM setup guides with callback URLs, scopes, token handling, security notes, and troubleshooting.
  • Add an end-to-end SSO/SCIM test using a local mock identity provider covering login, provisioning, group mapping, and deprovisioning, plus session revocation on deactivation.

Tests

  • Telemetry label/cardinality tests and idempotency behavior tests (replay, body-mismatch conflict, expiry/cleanup).
  • End-to-end auth/SCIM test with a local mock IdP, including session revocation after deprovisioning.

Notes

  • The repository currently has no OIDC/SAML/SCIM protocol endpoints, JIT provisioning, or group-sync implementation; the guide documents the supported configuration accurately and the protocol round-trip test skips rather than faking unsupported flows. Telemetry counters for SCIM/custom roles are ready but remain zero until those endpoints exist.
  • Python is unavailable in the contribution environment, so ruff, black, and pytest could not be executed locally; CI should validate.

Closes #639
Closes #641
Closes #645
Closes #649

, AyinkxLab#641)

Document the supported Phase 11 enterprise access path: DNS domain
verification, SSO enforcement, workspace provisioning/role mapping, and
soft deprovisioning. The guide is explicit that OIDC, SAML, and SCIM
protocol endpoints and JIT provisioning are not implemented yet, with
security notes and troubleshooting grounded in the real routes/errors.

Add an end-to-end pytest module covering the supported lifecycle and a
loopback-only mock IdP for the future protocol round trip (skipped until
the relying-party/SCIM endpoints exist). Deprovisioning an account now
revokes its existing browser session on the next request.
…yinkxLab#645, AyinkxLab#649)

Add fixed-label enterprise adoption counters for SSO, SCIM, custom roles, and audit exports with a Grafana dashboard and tests proving identifiers/secrets never become labels. Add persisted Idempotency-Key handling for POST requests with request hashing, response replay, conflict detection, bounded TTL cleanup, migration, docs, and tests.
…mp\opencode\repos\aca-docs-tests into feat/telemetry-idempotency
@vercel

vercel Bot commented Nov 22, 2026

Copy link
Copy Markdown

@nuxcutz is attempting to deploy a commit to the Ayinkx Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Nov 22, 2026

Copy link
Copy Markdown

@nuxcutz Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Ayinkx
Ayinkx merged commit 691495f into AyinkxLab:main Nov 22, 2026
12 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants