Skip to content

fix(server): count every shadow comparison, not just the failures - #7263

Merged
kaposke merged 2 commits into
masterfrom
gui/NAN-6657/fix-shadow-comparison-metric
Aug 27, 2026
Merged

fix(server): count every shadow comparison, not just the failures#7263
kaposke merged 2 commits into
masterfrom
gui/NAN-6657/fix-shadow-comparison-metric

Conversation

@kaposke

@kaposke kaposke commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Just a tweak to the temporary metrics I've added to check for divergencies between the current RBAC authz and the one I'm replacing it with. We're currently metering divergencies, but I don't see any metrics in datadog. This either means there is no divergence, or that I screwed the metric. To confirm, I'm tweaking it to record a metric always, and using a tag to identify failures.

Review in cubic

@linear-code

linear-code Bot commented Aug 26, 2026

Copy link
Copy Markdown

NAN-6657

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 4 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread packages/server/lib/authz/shadow.role.unit.test.ts
@kaposke
kaposke requested a review from pfreixes August 27, 2026 12:30
@kaposke
kaposke added this pull request to the merge queue Aug 27, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 27, 2026
@kaposke
kaposke added this pull request to the merge queue Aug 27, 2026
Merged via the queue into master with commit 5a5de54 Aug 27, 2026
36 checks passed
@kaposke
kaposke deleted the gui/NAN-6657/fix-shadow-comparison-metric branch August 27, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants