parca
parca copied to clipboard
pkg/query: Return invalid argument if merging non-delta profiles with time range
This shouldn't be allowed. In fact, our UI will never do such queries, it's just that the backend is still fine with this.
✅ Meticulous spotted zero visual differences across 372 screens tested: view results.
Last updated for commit 04a9baa. This comment will update as new commits are pushed.
Some tests fail with rpc error: code = InvalidArgument desc = merge queries with different timestamps are only supported for delta profiles
.
We should update these tests. I'll take a look.
However, we don't want to enforce it at the API level. Closing.