Repository navigation
Test the opt-out mapping, delivery order and the queue-full log - #21
Merged
dmccoystephenson merged 1 commit intoOct 21, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
Self-review rubric:
Observations (judgment, not blocking):
Ready to merge: tests only, CI green, and no do-not-auto-merge path touched. This self-review was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener). drafted by Claude on behalf of Daniel Stephenson |
dmccoystephenson
deleted the
trace/test-opt-out-mapping-order-and-drop-log
branch
October 21, 2026 09:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stage B (unit-test expansion) cycle: three behaviours the suite did not yet check now have characterization tests. Production code is unchanged.
test_environment_opts_out_reads_only_the_mapping_it_is_given: with no argument orNone,environment_opts_outreadsos.environ. An explicit mapping (even{}) replaces the process environment rather than adding to it. Its values are trimmed and compared case-insensitively, the same as the environment's.test_a_dropped_report_is_logged_at_debug_with_its_name: once the queue and the sender are both full, a dropped report is logged once as[trace] queue full, dropped <name>, atDEBUGonly. The README's "Bounded" and "Never raises" rows depend on this.test_reports_are_delivered_in_the_order_they_were_made: because there is one sender thread, the server sees events in the order they were reported.No tracking issue: these gaps were found while comparing
trace_client.pyagainsttests/test_trace_client.py.Skipped: #16 stays open. It needs an owner decision on the
MAX_TAGS/versionpromise and a coordinated change in trace-client-java, as its existing comment records.No Java-visible behaviour changed; trace-client-java needs no matching change.
Test plan
python3 -m unittest -vlocally on Python 3.8.10:Ran 62 tests,OKtest (3.8),test (3.10),test (3.12)greenThis PR description was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener).
🤖 Generated with Claude Code
drafted by Claude on behalf of Daniel Stephenson