Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(webhooks): label sync logic in webhooks #1703

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

krancour
Copy link
Member

Similar to #1699/#1701, this PR updates logic in webhooks to sync only one-way between important labels and their corresponding "convenience fields." This removes the surprising behavior that clearing such a field has no effect.

Signed-off-by: Kent Rancourt <kent.rancourt@gmail.com>
@krancour krancour added this to the v0.5.0 milestone Mar 28, 2024
@krancour krancour self-assigned this Mar 28, 2024
@krancour krancour requested a review from a team as a code owner March 28, 2024 13:57
@krancour krancour changed the title fix label sync logic in webhooks fix(webhooks): label sync logic in webhooks Mar 28, 2024
Copy link

netlify bot commented Mar 28, 2024

Deploy Preview for docs-kargo-akuity-io canceled.

Name Link
🔨 Latest commit 4899f0a
🔍 Latest deploy log https://app.netlify.com/sites/docs-kargo-akuity-io/deploys/6605775971d4a10008408428

Copy link

codecov bot commented Mar 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.20%. Comparing base (9248a26) to head (4899f0a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1703      +/-   ##
==========================================
+ Coverage   44.17%   44.20%   +0.03%     
==========================================
  Files         206      206              
  Lines       13139    13143       +4     
==========================================
+ Hits         5804     5810       +6     
+ Misses       7084     7083       -1     
+ Partials      251      250       -1     

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

@krancour krancour added this pull request to the merge queue Mar 28, 2024
Merged via the queue into akuity:main with commit cf25371 Mar 28, 2024
21 checks passed
@krancour krancour deleted the krancour/label-sync-fixes branch March 28, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants