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

Propose lifecycle API hooks for Cloudevents SDK #2120

Closed
wants to merge 2 commits into from

Conversation

matzew
Copy link
Member

@matzew matzew commented Jan 16, 2024

Changes

  • Propose lifecycle API hooks for Cloudevents SDK

/kind

Fixes #

Release Note


Docs


Copy link

knative-prow bot commented Jan 16, 2024

@matzew: The label(s) kind/<kind> cannot be applied, because the repository doesn't have them.

In response to this:

Changes

  • Propose lifecycle API hooks for Cloudevents SDK

/kind

Fixes #

Release Note


Docs


Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@knative-prow knative-prow bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jan 16, 2024
@matzew
Copy link
Member Author

matzew commented Jan 16, 2024

/hold
Let's discuss these hooks, but I think reusing the same APIs from the http version seems to be a good idea

@knative-prow knative-prow bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 16, 2024
Copy link

codecov bot commented Jan 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.18%. Comparing base (b97d841) to head (bc534e7).
Report is 103 commits behind head on main.

Current head bc534e7 differs from pull request most recent head 14bb310

Please upload reports for the commit 14bb310 to get more accurate results.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2120      +/-   ##
==========================================
+ Coverage   64.21%   65.18%   +0.97%     
==========================================
  Files         108      108              
  Lines       13918    13888      -30     
==========================================
+ Hits         8937     9053     +116     
+ Misses       4108     3942     -166     
- Partials      873      893      +20     
Flag Coverage Δ
e2e-test 37.37% <ø> (-0.01%) ⬇️
e2e-test-oncluster 30.43% <ø> (-0.08%) ⬇️
e2e-test-oncluster-runtime 26.86% <ø> (?)
e2e-test-runtime-go 25.49% <ø> (?)
e2e-test-runtime-node 26.54% <ø> (?)
e2e-test-runtime-python 26.54% <ø> (?)
e2e-test-runtime-quarkus 26.65% <ø> (?)
e2e-test-runtime-rust 25.52% <ø> (?)
e2e-test-runtime-springboot 25.68% <ø> (?)
e2e-test-runtime-typescript 26.65% <ø> (?)
integration-tests 51.82% <ø> (+1.97%) ⬆️
unit-tests-macos-latest 48.82% <ø> (-0.03%) ⬇️
unit-tests-ubuntu-latest 49.59% <ø> (-0.01%) ⬇️
unit-tests-windows-latest 48.89% <ø> (+0.02%) ⬆️

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

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

@knative-prow-robot knative-prow-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 21, 2024
@lkingland
Copy link
Member

We'll want to update the instanced CloudEvent function's template in the same PR as the dependency is updated to include that functionality from func-go. When it's tagged and released with a new version which includes the CloudEvents API additions, running make update-runtimes should pull it in

Signed-off-by: Matthias Wessendorf <[email protected]>
Copy link

knative-prow bot commented Feb 21, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: matzew

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 Feb 21, 2024
@knative-prow-robot knative-prow-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 21, 2024
@matzew
Copy link
Member Author

matzew commented Feb 21, 2024

@lkingland the dependency is now in, and I rebased this

@matzew
Copy link
Member Author

matzew commented Feb 21, 2024

I do have sometimes bunch of new, untracked, files:

gst
On branch propose_lifecycle_hooks_CE
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   generate/zz_filesystem_generated.go
	modified:   third_party/VENDOR-LICENSE/github.com/hashicorp/hcl/go.mod

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	pkg/functions/testdata/migrations/v0.19.0/.gitignore
	pkg/functions/testdata/migrations/v0.23.0-customized/.gitignore
	pkg/functions/testdata/migrations/v0.23.0/.gitignore
	pkg/functions/testdata/migrations/v0.25.0/.gitignore
	pkg/functions/testdata/migrations/v0.34.0/.gitignore
	pkg/functions/testdata/migrations/v0.35.0-nondefault/.gitignore
	pkg/functions/testdata/migrations/v0.35.0/.gitignore
	templates/go/.instanced-cloudevents/go.sum

Signed-off-by: Matthias Wessendorf <[email protected]>
@matzew
Copy link
Member Author

matzew commented Feb 21, 2024

/hold
I am not sure on the untracked files, etc

@knative-prow-robot knative-prow-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 23, 2024
@knative-prow-robot
Copy link

PR needs rebase.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Copy link
Contributor

This Pull Request is stale because it has been open for 90 days with
no activity. It will automatically close after 30 more days of
inactivity. Reopen with /reopen. Mark as fresh by adding the
comment /remove-lifecycle stale.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 24, 2024
@github-actions github-actions bot closed this Jun 23, 2024
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. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants