Skip to content

chore: add debug flag to LR#166

Merged
tstirrat15 merged 1 commit intomainfrom
tstirrat/add-with-debug-flag-to-lr
Apr 28, 2026
Merged

chore: add debug flag to LR#166
tstirrat15 merged 1 commit intomainfrom
tstirrat/add-with-debug-flag-to-lr

Conversation

@tstirrat15
Copy link
Copy Markdown
Contributor

Description

For authzed/spicedb#3070. This adds an additional flag to the LR request body.

Changes

  • Add with_debug flag

Testing

Review.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 27, 2026

The latest Buf updates on your PR. Results from workflow Lint / lint (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedApr 28, 2026, 5:11 PM

miparnisari
miparnisari previously approved these changes Apr 27, 2026
Comment thread authzed/api/v1/core.proto
];
repeated PermissionRelationshipTree children = 2 [
(validate.rules).repeated.items.message.required = true,
(buf.validate.field).repeated.items.required = true
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is marked as unenforceable by buf lint, so I'm removing it.

@tstirrat15 tstirrat15 force-pushed the tstirrat/add-with-debug-flag-to-lr branch 2 times, most recently from 0c1bcd4 to 501d554 Compare April 27, 2026 22:15
miparnisari
miparnisari previously approved these changes Apr 28, 2026
barakmich
barakmich previously approved these changes Apr 28, 2026
Copy link
Copy Markdown

@barakmich barakmich left a comment

Choose a reason for hiding this comment

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

I was gonna be like "a boolean"? But it matches with_tracing so...

Fair enough, and if this becomes more structured in the future, it gets renamed deprecated_with_debug (but then so does with_tracing so, eh)

Comment thread authzed/api/v1/permission_service.proto Outdated
//
// with_debug, if true, indicates that the response should return debug information
// if present and available. For now, ONLY enables debugging of maximum recursion depth
// errors; may be extended in the future.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Maybe also mention how the debug information is returned in the comment

@tstirrat15 tstirrat15 dismissed stale reviews from barakmich and miparnisari via 43ccd25 April 28, 2026 17:11
@tstirrat15 tstirrat15 force-pushed the tstirrat/add-with-debug-flag-to-lr branch from 501d554 to 43ccd25 Compare April 28, 2026 17:11
@tstirrat15 tstirrat15 merged commit 20a9897 into main Apr 28, 2026
2 checks passed
@tstirrat15 tstirrat15 deleted the tstirrat/add-with-debug-flag-to-lr branch April 28, 2026 17:21
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants