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

Add observedGeneration in JobSink OpenAPI schema #8297

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

pierDipi
Copy link
Member

@pierDipi pierDipi commented Nov 4, 2024

Spotted via warning {"level":"warn","ts":"2024-11-04T08:27:58.926Z","logger":"controller","caller":"logging/warning_handler.go:32","msg":"API Warning: unknown field \"status.observedGeneration\"","commit":"19e4c4b-dirty","knative.dev/pod":"eventing-controller-66689fc58-n9fdh"}

Fixes #8295

Proposed Changes

  • Add observedGeneration in JobSink OpenAPI schema

Pre-review Checklist

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

Release Note

Add observedGeneration in JobSink OpenAPI schema

/kind bug

@knative-prow knative-prow bot added the kind/bug Categorizes issue or PR as related to a bug. label Nov 4, 2024
@pierDipi
Copy link
Member Author

pierDipi commented Nov 4, 2024

/cherry-pick release-1.16

@knative-prow knative-prow bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Nov 4, 2024
@knative-prow knative-prow bot requested review from creydr and matzew November 4, 2024 08:36
@knative-prow-robot
Copy link
Contributor

@pierDipi: once the present PR merges, I will cherry-pick it on top of release-1.16 in a new PR and assign it to you.

In response to this:

/cherry-pick release-1.16

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-sigs/prow repository.

@pierDipi
Copy link
Member Author

pierDipi commented Nov 4, 2024

/cherry-pick release-1.15

Copy link

knative-prow bot commented Nov 4, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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 Nov 4, 2024
@knative-prow-robot
Copy link
Contributor

@pierDipi: once the present PR merges, I will cherry-pick it on top of release-1.15 in a new PR and assign it to you.

In response to this:

/cherry-pick release-1.15

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-sigs/prow repository.

@pierDipi
Copy link
Member Author

pierDipi commented Nov 4, 2024

/cc @mgencur @creydr

@knative-prow knative-prow bot requested a review from mgencur November 4, 2024 08:36
Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 64.58%. Comparing base (2e4d353) to head (5a1d40b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8297   +/-   ##
=======================================
  Coverage   64.58%   64.58%           
=======================================
  Files         373      373           
  Lines       22619    22619           
=======================================
  Hits        14609    14609           
  Misses       7244     7244           
  Partials      766      766           

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

@mgencur
Copy link
Contributor

mgencur commented Nov 4, 2024

/lgtm

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Nov 4, 2024
@knative-prow knative-prow bot merged commit b4b609a into knative:main Nov 4, 2024
35 of 36 checks passed
@knative-prow-robot
Copy link
Contributor

@pierDipi: new pull request created: #8299

In response to this:

/cherry-pick release-1.15

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-sigs/prow repository.

@knative-prow-robot
Copy link
Contributor

@pierDipi: new pull request created: #8300

In response to this:

/cherry-pick release-1.16

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-sigs/prow repository.

@Fabian-K
Copy link
Contributor

Hi @pierDipi

it looks like observedGeneration was already part of config/core/resources/jobsink.yaml and is now in there twice. This leads to issues like mapping key "observedGeneration" already defined when referencing it in customize. Let me know if I should provide a PR for it.

Thanks!

@mgencur
Copy link
Contributor

mgencur commented Nov 13, 2024

@Fabian-K Hey. Apparently, this was already fixed in #8168 for 1.16 and it was only a problem for 1.15.
Could you send a PR to remove it again? Thanks

@mgencur
Copy link
Contributor

mgencur commented Nov 13, 2024

And the removal must be backported to 1.16 as well.

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. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. 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.

JobSink does not set observedGeneration in status
4 participants