Skip to content

Commit

Permalink
api: revert breaking change in proto
Browse files Browse the repository at this point in the history
Commit b6d3583 introduced a breaking change in our
protobuf API by renaming the existing stack_trace field in the kprobe message to
kernel_stack_trace when introducing user stack traces. While a change of this nature is
not ordinarily problematic in protocol buffer APIs, it is an issue for Tetragon
specifically since we rely on protojson for event exports. This effectively means that
renaming a field breaks compatibility for downstream consumers of event exports. Revert
the rename to prevent breakages.

Signed-off-by: William Findlay <[email protected]>
  • Loading branch information
willfindlay committed Apr 12, 2024
1 parent 1dee96d commit 89700d7
Show file tree
Hide file tree
Showing 10 changed files with 618 additions and 621 deletions.
2 changes: 1 addition & 1 deletion api/v1/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 23 additions & 23 deletions api/v1/tetragon/codegen/eventchecker/eventchecker.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 89700d7

Please sign in to comment.