Skip to content

Conversation

@mmorel-35
Copy link
Contributor

@mmorel-35 mmorel-35 commented Jun 16, 2025

Description

Enables and fixes typeAssertChain rule from go-critic

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
  • The title of the PR states what changed and the related issues number (used for the release note).
  • The title of the PR conforms to the Toolchain Guide
  • I've included "Closes [ISSUE #]" or "Fixes [ISSUE #]" in the description to automatically close the associated issue.
  • I've updated both the CLI and UI to expose my feature, or I plan to submit a second PR with them.
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have signed off all my commits as required by DCO
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My build is green (troubleshooting builds).
  • My new feature complies with the feature status guidelines.
  • I have added a brief description of why this PR is necessary and/or what this PR solves.
  • Optional. My organization is added to USERS.md.
  • Optional. For bug fixes, I've indicated what older releases this fix should be cherry-picked into (this may or may not happen depending on risk/complexity).

@bunnyshell
Copy link

bunnyshell bot commented Jun 16, 2025

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

@mmorel-35 mmorel-35 force-pushed the go-critic/typeAssertChain branch from 74c0a69 to c3d2316 Compare June 16, 2025 06:45
@mmorel-35 mmorel-35 marked this pull request as ready for review June 16, 2025 06:46
@mmorel-35 mmorel-35 requested a review from a team as a code owner June 16, 2025 06:46
@codecov
Copy link

codecov bot commented Jun 16, 2025

Codecov Report

❌ Patch coverage is 19.51220% with 33 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.12%. Comparing base (b6e90ea) to head (c3d2316).
⚠️ Report is 425 commits behind head on master.

Files with missing lines Patch % Lines
server/server.go 3.70% 26 Missing ⚠️
cmd/argocd-dex/commands/argocd_dex.go 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #23407      +/-   ##
==========================================
+ Coverage   60.04%   60.12%   +0.08%     
==========================================
  Files         342      342              
  Lines       58814    58816       +2     
==========================================
+ Hits        35314    35363      +49     
+ Misses      20637    20609      -28     
+ Partials     2863     2844      -19     

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

@blakepettersson blakepettersson merged commit fd48c47 into argoproj:master Jun 16, 2025
28 checks passed
@mmorel-35 mmorel-35 deleted the go-critic/typeAssertChain branch June 16, 2025 08:07
dsuhinin pushed a commit to dsuhinin/argo-cd that referenced this pull request Jun 16, 2025
jcogilvie pushed a commit to Sanyaku/argo-cd that referenced this pull request Jun 16, 2025
enneitex pushed a commit to enneitex/argo-cd that referenced this pull request Aug 24, 2025
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