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(server): Allow field selection for workflow-event endpoint (fixes #3163) #3165

Merged
merged 35 commits into from Jun 6, 2020

Conversation

rbreeze
Copy link
Member

@rbreeze rbreeze commented Jun 3, 2020

Checklist:

  • Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
  • The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
  • I've signed the CLA.
  • I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
  • My builds are green. Try syncing with master if they are not.
  • My organization is added to USERS.md.

rbreeze added 23 commits June 1, 2020 10:34
…mponent to keep track of show/hide state. Reformat column widths for readability and change format of labels
@rbreeze rbreeze requested a review from jessesuen as a code owner June 3, 2020 23:42
@simster7 simster7 self-assigned this Jun 4, 2020
rbreeze added a commit to rbreeze/argo that referenced this pull request Jun 4, 2020
go.mod Outdated
@@ -29,7 +29,7 @@ require (
github.com/go-openapi/swag v0.19.8 // indirect
github.com/go-sql-driver/mysql v1.4.1
github.com/gogo/protobuf v1.3.1
github.com/golang/protobuf v1.4.0
github.com/golang/protobuf v1.3.5
Copy link
Member

Choose a reason for hiding this comment

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

I think the changes to go.mod and go.sum were unintentional. Could you revert them back by doing git checkout master go.mod go.sum?

@@ -89,6 +89,7 @@ message WorkflowDeleteResponse {
message WatchWorkflowsRequest {
string namespace = 1;
k8s.io.apimachinery.pkg.apis.meta.v1.ListOptions listOptions = 2;
string fields = 3;
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

In fact I don't see it used anywhere in List either: https://github.com/rbreeze/argo/blob/162f49559cb4a24eadccb20129b8ce04fb36faca/server/workflow/workflow_server.go#L94

Seems like that was the bug?

@sonarcloud
Copy link

sonarcloud bot commented Jun 6, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@simster7 simster7 merged commit 04c77f4 into argoproj:master Jun 6, 2020
@rbreeze rbreeze deleted the workflow-watch-fields branch June 8, 2020 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants