Skip to content

fix: bring back old API on core telemetry builder#401

Merged
rcoh merged 1 commit into
mainfrom
fix-core-telemetry-builder
May 14, 2026
Merged

fix: bring back old API on core telemetry builder#401
rcoh merged 1 commit into
mainfrom
fix-core-telemetry-builder

Conversation

@rcoh
Copy link
Copy Markdown
Contributor

@rcoh rcoh commented May 13, 2026

A previous PR removed .s3_config as an option on TelemetryCoreBuilder, this brings it back

@rcoh rcoh force-pushed the fix-core-telemetry-builder branch from 5011169 to 7335822 Compare May 13, 2026 22:34
@rcoh rcoh requested a review from jlizen May 13, 2026 22:35
Copy link
Copy Markdown

@quinnwerks quinnwerks left a comment

Choose a reason for hiding this comment

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

Just out of curiosity: how do you think we can avoid this?

}

// Custom methods on the generated builder.
impl<W: TraceWriter, S: telemetry_core_builder::State> TelemetryCoreBuilder<W, S> {
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thank you!

@rcoh
Copy link
Copy Markdown
Contributor Author

rcoh commented May 13, 2026

I am doing two things:

  • improving the agentic review guidance to do a better job looking for breaking changes like this. I suspect a breaking changes specific pass would have caught it. This breakage was pretty obvious but it was in a complex PR and it got missed
  • a weekly job that will use code search to ensure we have tests covering all existing usage patterns

I did the second one which caught this miss. I'll cut a PR for the usage patterns as well

@rcoh rcoh enabled auto-merge May 13, 2026 23:10
@rcoh rcoh added this pull request to the merge queue May 13, 2026
@jlizen
Copy link
Copy Markdown
Member

jlizen commented May 13, 2026

Shouldn't cargo-semver-checks have caught this too @rcoh ?

Merged via the queue into main with commit 7fb59ce May 14, 2026
20 checks passed
@rcoh
Copy link
Copy Markdown
Contributor Author

rcoh commented May 14, 2026 via email

@jlizen
Copy link
Copy Markdown
Member

jlizen commented May 14, 2026

Yeah even if we are only running it on releases, i would have expected it to flag this as a breaking change and force a breaking version bump. Maybe it got swept up by a release that was already breaking?

It would be good to run it as a non-blocking step on PRs too though. It isn't reliant on the maintainers machine, no, it just builds docs in CI and analyzes them.

Anyway certainly possible that CSC also got confused.

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.

4 participants