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

Updated comments explaining how the async prober works #3200

Merged

Conversation

Cali0707
Copy link
Member

Per conversation with @pierDipi the async prober code can be confusing when it asynchronously aggregates the status of the different IPs for each pod.

Proposed Changes

  • Add more context to the comments/update outdated comments to provide more context in the async prober

Signed-off-by: Calum Murray <cmurray@redhat.com>
@Cali0707
Copy link
Member Author

/cc @pierDipi @creydr

@knative-prow knative-prow bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 10, 2023
@knative-prow knative-prow bot requested review from creydr and pierDipi July 10, 2023 19:09
@codecov
Copy link

codecov bot commented Jul 10, 2023

Codecov Report

Merging #3200 (a5b7446) into main (e8ba86f) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##               main    #3200      +/-   ##
============================================
- Coverage     63.42%   63.40%   -0.02%     
  Complexity      755      755              
============================================
  Files           167      167              
  Lines         11805    11805              
  Branches        241      241              
============================================
- Hits           7487     7485       -2     
- Misses         3754     3756       +2     
  Partials        564      564              
Flag Coverage Δ
java-unittests 79.70% <ø> (-0.08%) ⬇️

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

Impacted Files Coverage Δ
control-plane/pkg/prober/async_prober.go 88.88% <100.00%> (ø)

... and 1 file with indirect coverage changes

Copy link
Member

@pierDipi pierDipi left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jul 11, 2023
@knative-prow
Copy link

knative-prow bot commented Jul 11, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Cali0707, pierDipi

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

@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 11, 2023
@Cali0707
Copy link
Member Author

/retest-required

2 similar comments
@Cali0707
Copy link
Member Author

/retest-required

@Cali0707
Copy link
Member Author

/retest-required

@Leo6Leo
Copy link
Contributor

Leo6Leo commented Jul 11, 2023

Looks good! @Cali0707

@pierDipi
Copy link
Member

/retest-required

3 similar comments
@Cali0707
Copy link
Member Author

/retest-required

@Cali0707
Copy link
Member Author

/retest-required

@Leo6Leo
Copy link
Contributor

Leo6Leo commented Jul 14, 2023

/retest-required

@Cali0707
Copy link
Member Author

/test channel-integration-tests-sasl-ssl

@knative-prow knative-prow bot merged commit d672f98 into knative-extensions:main Jul 14, 2023
21 of 23 checks passed
Rahul-Kumar-prog pushed a commit to Rahul-Kumar-prog/eventing-kafka-broker that referenced this pull request Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/control-plane lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants