Skip to content

Conversation

@zhujian7
Copy link
Member

  • Fix control flow in shouldCreateUpdateTokenSecret to properly handle CheckUserInToken errors
  • Correct error message in CheckUserInToken to accurately reflect missing 'sub' claim

🤖 Generated with Claude Code

Summary

Related issue(s)

Fixes #

- Fix control flow in shouldCreateUpdateTokenSecret to properly handle CheckUserInToken errors
- Correct error message in CheckUserInToken to accurately reflect missing 'sub' claim

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
Signed-off-by: zhujian <[email protected]>
@openshift-ci
Copy link

openshift-ci bot commented Sep 17, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zhujian7

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@codecov
Copy link

codecov bot commented Sep 17, 2025

Codecov Report

❌ Patch coverage is 25.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 31.65%. Comparing base (3d0a13e) to head (7a4721f).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
pkg/addon/agent/controller/token.go 25.00% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #235      +/-   ##
==========================================
- Coverage   31.79%   31.65%   -0.14%     
==========================================
  Files          25       25              
  Lines        1173     1175       +2     
==========================================
- Hits          373      372       -1     
- Misses        778      779       +1     
- Partials       22       24       +2     
Flag Coverage Δ
unit 31.65% <25.00%> (-0.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant