Skip to content

chore: add more logging for failures to get label metadata#14275

Merged
jannfis merged 5 commits intoargoproj:masterfrom
crenshaw-dev:more-logging-get-labels
Jul 1, 2023
Merged

chore: add more logging for failures to get label metadata#14275
jannfis merged 5 commits intoargoproj:masterfrom
crenshaw-dev:more-logging-get-labels

Conversation

@crenshaw-dev
Copy link
Member

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Copy link
Member

@jsoref jsoref left a comment

Choose a reason for hiding this comment

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

Sounds good to me

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Copy link
Member

@ishitasequeira ishitasequeira left a comment

Choose a reason for hiding this comment

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

Looks good!!

Signed-off-by: jannfis <jann@mistrust.net>
Copy link
Member

@jannfis jannfis left a comment

Choose a reason for hiding this comment

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

LGTM

@jannfis jannfis enabled auto-merge (squash) July 1, 2023 20:55
@codecov
Copy link

codecov bot commented Jul 1, 2023

Codecov Report

Patch coverage: 37.93% and project coverage change: -0.01 ⚠️

Comparison is base (53db27e) 49.76% compared to head (8c80f90) 49.75%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #14275      +/-   ##
==========================================
- Coverage   49.76%   49.75%   -0.01%     
==========================================
  Files         261      261              
  Lines       44659    44676      +17     
==========================================
+ Hits        22225    22229       +4     
- Misses      20249    20259      +10     
- Partials     2185     2188       +3     
Impacted Files Coverage Δ
util/argo/resource_tracking.go 55.33% <22.22%> (-3.37%) ⬇️
reposerver/repository/repository.go 59.42% <62.50%> (+0.10%) ⬆️
util/kube/kube.go 72.88% <66.66%> (ø)

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@crenshaw-dev
Copy link
Member Author

/cherry-pick release-2.8

@crenshaw-dev
Copy link
Member Author

Cherry picking because I think there might be a regression in 2.8 related to handling of null labels and annotations in manifests. Hoping the additional logs will help us debug.

@jannfis jannfis merged commit 5f455af into argoproj:master Jul 1, 2023
@gcp-cherry-pick-bot
Copy link

Cherry-pick failed with Merge error 5f455af684024121de4b875398714b8599a0b612 into temp-cherry-pick-b88d64-release-2.8

yyzxw pushed a commit to yyzxw/argo-cd that referenced this pull request Aug 9, 2023
…14275)

* chore: add more logging for failures to get label metadata

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* context

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* fix test

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* fix test

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: jannfis <jann@mistrust.net>
Co-authored-by: jannfis <jann@mistrust.net>
@suzaku suzaku mentioned this pull request Aug 15, 2023
tesla59 pushed a commit to tesla59/argo-cd that referenced this pull request Dec 16, 2023
…14275)

* chore: add more logging for failures to get label metadata

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* context

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* fix test

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

* fix test

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>

---------

Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: jannfis <jann@mistrust.net>
Co-authored-by: jannfis <jann@mistrust.net>
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.

4 participants