Skip to content

api/v1: Include string representations of data path types#11934

Closed
glibsm wants to merge 2 commits intomasterfrom
pr/glibsm/sub-type-string
Closed

api/v1: Include string representations of data path types#11934
glibsm wants to merge 2 commits intomasterfrom
pr/glibsm/sub-type-string

Conversation

@glibsm
Copy link
Copy Markdown
Member

@glibsm glibsm commented Jun 5, 2020

glibsm added 2 commits June 5, 2020 14:01
Signed-off-by: Glib Smaga <code@gsmaga.com>
In addition to integer typing, decode into string names to
make it more human readable.

This is going to be incorporated in both, the upcoming CI
tests for segment tracking of trace notifications an in the
hubble-cli display.

Signed-off-by: Glib Smaga <code@gsmaga.com>
@glibsm glibsm requested a review from a team as a code owner June 5, 2020 21:03
@glibsm glibsm requested a review from a team June 5, 2020 21:03
@maintainer-s-little-helper
Copy link
Copy Markdown

Please set the appropriate release note label.

@glibsm glibsm added the release-note/minor This PR changes functionality that users may find relevant to operating Cilium. label Jun 5, 2020
@glibsm
Copy link
Copy Markdown
Member Author

glibsm commented Jun 5, 2020

Rel cilium/hubble#277

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.08%) to 37.024% when pulling c069f83 on pr/glibsm/sub-type-string into 02b43fc on master.

@michi-covalent
Copy link
Copy Markdown
Contributor

i'm a bit torn about this, whether the field should be a string or an enum. i understand that maintaining an enum might become too much work, but i think it would make the api easier to use. what do you all think?

@glibsm
Copy link
Copy Markdown
Member Author

glibsm commented Jun 6, 2020

i'm a bit torn about this, whether the field should be a string or an enum. i understand that maintaining an enum might become too much work, but i think it would make the api easier to use. what do you all think?

That's a good point, enum is probably better here since it's a finite set

@aanm aanm added the dont-merge/wait-until-release Freeze window for current release is blocking non-bugfix PRs label Jun 11, 2020
@gandro gandro added needs-backport/1.8 and removed dont-merge/wait-until-release Freeze window for current release is blocking non-bugfix PRs labels Jun 11, 2020
@gandro
Copy link
Copy Markdown
Member

gandro commented Jun 11, 2020

Marked for backport (and consequently removed the wait-until-release label), since this ideally should land in 1.8 if possible, as best-effort. Not a release blocker though. (/cc @aanm)

@glibsm glibsm added release-note/bug This PR fixes an issue in a previous release of Cilium. and removed release-note/minor This PR changes functionality that users may find relevant to operating Cilium. labels Jun 11, 2020
@aanm
Copy link
Copy Markdown
Member

aanm commented Jun 12, 2020

test-me-please

@gandro
Copy link
Copy Markdown
Member

gandro commented Jun 12, 2020

@glibsm Are you planning to change this PR to use enums? If so, please change the PR status to draft. If no action is taken, the current version will likely get merged eventually (as it will eventually pass CI and has the Hubble subteam approval). This would be fine by me, but your last comment suggests you wanted to reiterate on the approach.

@glibsm
Copy link
Copy Markdown
Member Author

glibsm commented Jun 12, 2020

@gandro the train to declare this DRAFT has long gone since you can only open the PR as draft :)

I can tag this as do-not-merge until the decision is made.

@glibsm glibsm added the dont-merge/blocked Another PR must be merged before this one. label Jun 12, 2020
@gandro
Copy link
Copy Markdown
Member

gandro commented Jun 12, 2020

@gandro the train to declare this DRAFT has long gone since you can only open the PR as draft :)

I can tag this as do-not-merge until the decision is made.

You can now! https://github.blog/changelog/2020-04-08-convert-pull-request-to-draft/

@gandro gandro marked this pull request as draft June 12, 2020 18:52
@gandro gandro removed the dont-merge/blocked Another PR must be merged before this one. label Jun 12, 2020
@glibsm
Copy link
Copy Markdown
Member Author

glibsm commented Jun 12, 2020

How could I have possibly missed it?
image

@glibsm
Copy link
Copy Markdown
Member Author

glibsm commented Jun 16, 2020

Superseeded by #12085

@glibsm glibsm closed this Jun 16, 2020
@glibsm glibsm deleted the pr/glibsm/sub-type-string branch June 16, 2020 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/bug This PR fixes an issue in a previous release of Cilium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TraceToLxc is not handled properly

6 participants