Skip to content

Clarify which GET-stream frames are dropped - #7343

Merged
ChrisJBurns merged 1 commit into
stacklok:mainfrom
rkb32:fix/authz-docs-frame-wording
Nov 26, 2026
Merged

ChrisJBurns merged 1 commit into
stacklok:mainfrom
rkb32:fix/authz-docs-frame-wording

Conversation

@rkb32

@rkb32 rkb32 commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Why: A GET-stream frame that has no result is not a failed frame. The previous wording said every frame with no readable id is dropped, which reads as if notifications are dropped too.

What: Clarifies the bullet in docs/authz.md: only a frame that fails closed without a readable id is dropped. Frames with no result, such as notifications, pass through.

Does this introduce a user-facing change?

No. Documentation wording only.

Test plan

  • Diff checked against pkg/authz/sse_stream_filter.go (failClosed, filterEvent)
  • Build and tests not run (docs-only change)

🤖 Generated with Claude Code

Say that only a frame that fails closed without a readable id is dropped,
and that frames with no result, such as notifications, pass through.
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-26T16:53:35.063181Z
We couldn’t complete this review. Comment @codex review to try again.
012a35b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@ChrisJBurns
ChrisJBurns merged commit fc81f63 into stacklok:main Nov 26, 2026
16 checks passed
@codecov

codecov Bot commented Nov 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.43%. Comparing base (fe576c4) to head (012a35b).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7343      +/-   ##
==========================================
- Coverage   82.43%   82.43%   -0.01%     
==========================================
  Files         937      937              
  Lines       95847    95856       +9     
==========================================
  Hits        79016    79016              
- Misses      16826    16835       +9     
  Partials        5        5              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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