Repository navigation
Stop calling delivered reports dropped, and Cubot phones bots - #38
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Member
Author
|
Self-review rubric (head
Repo-specific rubric:
Judgment calls, none blocking:
The self-review was performed in the same session that wrote the change, so it is not independent review. This comment was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener). drafted by Claude on behalf of Daniel Stephenson |
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
fetchwhose response has noarrayBufferor one that throws, and that escaped the guard around the read. A 2xx was then logged ascould not deliver, and a non-2xx produced two debug lines for one drop. The read is now guarded the same way for a throw as for a rejection.isBot()no longer flags Cubot phones. Cubot is a phone brand, so model names such asCUBOT_X19andCUBOT NOTE 20 PROmatched the genericbotpatterns and those page views went uncounted. The brand-specific alternatives in the pattern are unchanged.No tracking issue: both gaps were found during triage.
Test plan
# passequal to# testsnpm run typecheckis green, so the lookbehind and the wrapper still compile against ES2022 + DOMCross-client parity
No wire format, opt-out value or
disabledReasonchanged. Whether trace-client-python or trace-client-java carry anisBotequivalent could not be checked, because those repositories could not be read from this run.Changelog
CHANGELOG.mdgains two bullets under[Unreleased]. No version string changed.Runtime coverage
CI runs Node 22 only. The
isBot()pattern now uses a lookbehind, which is ES2018 and is accepted by the ES2022 baseline, but no CI job runs it in the Edge runtime.Deferred
send()'sUser-Agentheader, so it needs coordinating with the other clients and an owner decision.enabledfails open) changes opt-out behavior shared across clients, so it needs an owner decision.This 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