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

Glue Delivery.Timeout to RetryConfig.RequestTimeout #5507

Merged

Conversation

slinkydeveloper
Copy link
Contributor

@slinkydeveloper slinkydeveloper commented Jun 14, 2021

Part of #5148

Depends on #5149 and #5503

Proposed Changes

  • 🎁 Glue Delivery.Timeout to RetryConfig.RequestTimeout
  • 🎁 e2e test for delivery.timeout

Pre-review Checklist

  • At least 80% unit test coverage
  • E2E tests for any new behavior
  • Docs PR for any user-facing impact: Details in the issue
  • Spec PR for any new API feature: N/A
  • Conformance test for any change to the spec: N/A

@knative-prow-robot knative-prow-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. area/test-and-release Test infrastructure, tests or release size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 14, 2021
@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Jun 14, 2021
@slinkydeveloper
Copy link
Contributor Author

Note: this PR is a merge of #5149 and #5503, just look from the commit 3456a3f onward (I'll rebase this PR once the previous 2 are merged)

/hold

This requires the lazy consensus approval per https://github.com/knative/eventing/blob/main/docs/experimental-features.md#feature-proposal-development-and-graduation-process

@knative-prow-robot knative-prow-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 14, 2021
@slinkydeveloper slinkydeveloper changed the title Glue Delivery.Timeout to RetryConfig.RequestTimeout [WIP] Glue Delivery.Timeout to RetryConfig.RequestTimeout Jun 14, 2021
@knative-prow-robot knative-prow-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 14, 2021
@codecov
Copy link

codecov bot commented Jun 14, 2021

Codecov Report

Merging #5507 (36a5b01) into main (a02a8f2) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5507      +/-   ##
==========================================
+ Coverage   82.61%   82.63%   +0.01%     
==========================================
  Files         198      198              
  Lines        6144     6151       +7     
==========================================
+ Hits         5076     5083       +7     
  Misses        741      741              
  Partials      327      327              
Impacted Files Coverage Δ
pkg/channel/fanout/fanout_message_handler.go 88.05% <ø> (ø)
pkg/kncloudevents/retries.go 86.36% <100.00%> (+1.74%) ⬆️
pkg/reconciler/subscription/subscription.go 79.21% <100.00%> (+0.16%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a02a8f2...36a5b01. Read the comment docs.

@knative-prow-robot knative-prow-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 17, 2021
@slinkydeveloper
Copy link
Contributor Author

slinkydeveloper commented Jun 22, 2021

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 22, 2021
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
@slinkydeveloper slinkydeveloper force-pushed the delivery_timeout_glue branch from 3456a3f to d20cc6c Compare June 22, 2021 12:14
@knative-prow-robot knative-prow-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 22, 2021
@slinkydeveloper slinkydeveloper changed the title [WIP] Glue Delivery.Timeout to RetryConfig.RequestTimeout Glue Delivery.Timeout to RetryConfig.RequestTimeout Jun 22, 2021
@knative-prow-robot knative-prow-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 22, 2021
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
@matzew
Copy link
Member

matzew commented Jun 22, 2021

looks like some conformance tests are failing here

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
@slinkydeveloper
Copy link
Contributor Author

slinkydeveloper commented Jun 23, 2021

Works fine, let's retest once more

/test pull-knative-eventing-unit-tests

@slinkydeveloper
Copy link
Contributor Author

cc @matzew

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
@knative-metrics-robot
Copy link

The following is the coverage report on the affected files.
Say /test pull-knative-eventing-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/kncloudevents/retries.go 93.9% 94.7% 0.8
pkg/reconciler/subscription/subscription.go 85.3% 85.4% 0.1

@slinkydeveloper
Copy link
Contributor Author

/retest

Copy link
Member

@matzew matzew 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

glad the tests are now back!

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 24, 2021
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matzew, slinkydeveloper

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:
  • OWNERS [matzew,slinkydeveloper]

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

@knative-prow-robot knative-prow-robot merged commit 2fcbc0a into knative:main Jun 24, 2021
@slinkydeveloper slinkydeveloper deleted the delivery_timeout_glue branch June 24, 2021 09:36
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/test-and-release Test infrastructure, tests or release cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants