fix: stargazer FR batch — level normalization, logError precedence, SDK hardening - #35
Merged
Merged
Conversation
…cedence, Go/Python hardening Cross-SDK behavior fixes: - Unknown level strings normalize to the configured default in all 3 SDKs — no more level/level_code mismatch (#48063, #48067) - logError caller fields win over extracted error fields on collision in Node + Python (Go already did; documented) (#48062/#48113) Go: Configure returns error instead of panicking (#48114/#48068); recover() writes stderr diagnostic (#48064); captureStack grows to 256KiB instead of truncating at 4KiB (#48115); errorType inlined (#48117). Python: config state lock-guarded (#48065); log_error annotation widened to Any matching accept-anything behavior (#48116); pyproject.toml packaging added (v0.1.0, toward #48066). CI: Python pytest workflow added (3.10 + 3.13) (#48118). Docs: README event-naming row now says convention-not-enforced (#48119); CONTRIBUTING pre-commit install fixed — Python tooling, not npx (#48120). Node bumped to 0.3.0 for the behavior changes. Verified: go vet + race tests + 6s fuzz green; 14/14 pytest; 19/19 vitest; tsc build clean.
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.
Works Redmine tickets 48062–48069, 48113–48120 (12 unique items; see commit message for the ticket map).
Highlights: cross-SDK level normalization + documented logError field precedence; Go
Configureerror return (breaking, no Go tags exist yet); Python lock-guarded config + packaging; Python CI workflow; doc fixes. Node → 0.3.0.Note: 48069 (Python local-time timestamps) was already fixed on main — current code emits UTC with Z suffix; closing as already-resolved.
Verified: all three SDK suites green (go race+fuzz, 14/14 pytest, 19/19 vitest).