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

Adopt DAP-05 error types #1853

Merged
merged 1 commit into from
Sep 14, 2023
Merged

Adopt DAP-05 error types #1853

merged 1 commit into from
Sep 14, 2023

Conversation

tgeoghegan
Copy link
Contributor

@tgeoghegan tgeoghegan commented Aug 29, 2023

DAP-05 changes a few error types.

  • unrecongizedMessage -> invalidMessage
  • queryMismatch is gone (now we use invalidMessage in that case)
  • roundMismatch -> stepMismatch

We still use the word "round" in several places where "step" would be more appropriate given DAP-05 text. Renaming those variables, etc., will arrive in a later commit to avoid adding unnecessary noise here.

Part of #1669

@tgeoghegan tgeoghegan requested a review from a team as a code owner August 29, 2023 21:18
@tgeoghegan tgeoghegan mentioned this pull request Aug 31, 2023
11 tasks
Copy link
Contributor

@inahga inahga left a comment

Choose a reason for hiding this comment

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

I reviewed only 775724d, and f00595d, which LGTM.

async fn aggregation_job_init_wrong_query() {
let test_case = setup_aggregate_init_test().await;

// setup_aggregate_init_test sets up a task with a time interval query. We construct a
Copy link
Contributor

Choose a reason for hiding this comment

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

Incomplete comment here, might have lost some lines.

@tgeoghegan tgeoghegan force-pushed the timg/ping-pong branch 2 times, most recently from 9e74231 to a155d81 Compare September 13, 2023 21:25
Base automatically changed from timg/ping-pong to main September 13, 2023 22:23
DAP-05 changes a few error types.

`unrecongizedMessage -> invalidMessage`
`queryMismatch` is gone (now we use `invalidMessage` in that case)
`roundMismatch -> stepMismatch`

We still use the word "round" in several places where "step" would be
more appropriate given DAP-05 text. Renaming those variables, etc., will
arrive in a later commit to avoid adding unnecessary noise here.

Part of #1669
@tgeoghegan tgeoghegan merged commit f4e55f2 into main Sep 14, 2023
8 checks passed
@tgeoghegan tgeoghegan deleted the timg/dap-05-errors branch September 14, 2023 00:34
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.

2 participants