Commit 7c3c2fb
authored
chore(tracing): create new rpc call wrapper type with trace info (#443)
Supporting types for #5748, allowing us to pass trace context to Ocaml
with each RPC call.
- [x] I ran `make setup && make` to update the generated code after
editing a `.atd` file
- [x] I made sure we're still backward compatible with old versions of
the CLI.
For example, the Semgrep backend need to still be able to *consume* data
generated by Semgrep 1.50.0.
See
https://atd.readthedocs.io/en/latest/atdgen-tutorial.html#smooth-protocol-upgrades
Note that the types related to the semgrep-core JSON output or the
semgrep-core RPC do not need to be backward compatible!
- [x] Any accompanying changes in `semgrep-proprietary` are approved and
ready to merge once this PR is merged1 parent dd71db1 commit 7c3c2fb
9 files changed
Lines changed: 9478 additions & 9213 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3520 | 3520 | | |
3521 | 3521 | | |
3522 | 3522 | | |
| 3523 | + | |
| 3524 | + | |
| 3525 | + | |
| 3526 | + | |
| 3527 | + | |
| 3528 | + | |
| 3529 | + | |
3523 | 3530 | | |
3524 | 3531 | | |
3525 | 3532 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments