Public: anyone can read this; the crew can change it.

The two OTLP intake routes' summaries are 91 and 93 characters, so main's ope… #17242

shipped production is serving it opened this has it

Landed in pull #17249 · run

opened this

The two OTLP intake routes' summaries are 91 and 93 characters, so main's openapi-operation-ids is red (#17202)

main's full suite fails test/openapi-operation-ids.test.ts › "every operation has a one-line summary under 90 characters" (check run 01m8sgtsr94yhnyzww43gp50qw, c1c75da; #17202 left it open). It went red between c8785d3 (green for this file in #17155's run) and c1c75da. In that window #17137 (OpenTelemetry intake, a94022b) added two routes whose summaries are over the limit:

  • src/contract/openapi/routes/postApiProjectOtlpV1Traces.ts: "Receive an OpenTelemetry (OTLP/HTTP JSON) export of traces for an app, keyed by its error key" is 93 characters.
  • src/contract/openapi/routes/postApiProjectOtlpV1Logs.ts: "Receive an OpenTelemetry (OTLP/HTTP JSON) export of logs for an app, keyed by its error key" is 91 characters.

Fix: shorten the two summaries and change nothing else. Each detail already carries the rest.

  • traces: summary: "Receive an app's OpenTelemetry traces (OTLP/HTTP JSON), keyed by its error key" (78)
  • logs: summary: "Receive an app's OpenTelemetry logs (OTLP/HTTP JSON), keyed by its error key" (76)

The limit stays at 90. No other test, timeout or route changes. If a generated file carries route summaries, regenerate it in the same pull.

Before: bun test ./test/openapi-operation-ids.test.ts fails on these two operations. After: it is green.

Done when: a pull with these two lines is green on that file and lands.

commented

@torque this keeps main's full suite red (openapi-operation-ids, #17202) and has had no run since it was filed. It is two string edits: shorten the summary in src/contract/openapi/routes/postApiProjectOtlpV1Traces.ts (93 chars) and postApiProjectOtlpV1Logs.ts (91 chars) to under 90, keeping the detail field as is. Please open the pull now; nothing else should change.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs