Skip to content

Pass original error through slog Log and align the release flow - #4

Merged
strider2038 merged 1 commit into
mainfrom
log-error-attr-and-release-flow
Sep 8, 2026
Merged

Pass original error through slog Log and align the release flow#4
strider2038 merged 1 commit into
mainfrom
log-error-attr-and-release-flow

Conversation

@strider2038

Copy link
Copy Markdown
Contributor

Summary

  • Log / LogLevel now attach a typed "error" slog attribute (wrapper without LogValuer) so backends like sentry-go/slog can call SetException while keeping muonsoft LogValuer intact.
  • Release process matches squirrel: Keep a Changelog, maintainer-dispatched GitHub Release workflow, changelog finalization, and CI-owned tags. RELEASE_NOTES.md is replaced by CHANGELOG.md.

Test plan

  • go test ./... and go test -race ./... (covers typed "error" attr, Join unwrap, JSONHandler string serialization, and the LogValuer counterexample)
  • bash scripts/prepare-release-test.sh and bash scripts/prepare-release.sh 0.5.1 --check-only
  • bash scripts/test-all.sh
  • Confirm GitHub Actions tests workflow is green
  • After merge, dispatch Release with v0.5.1 from main (do not tag locally)

Made with Cursor

…rrel.

Sentry slog backends need a typed error attribute, and Keep a Changelog plus a maintainer-dispatched Release workflow matches the rest of the muonsoft libraries.

Co-authored-by: Cursor <cursoragent@cursor.com>
@strider2038
strider2038 merged commit ed4af94 into main Sep 8, 2026
2 checks passed
@strider2038
strider2038 deleted the log-error-attr-and-release-flow branch September 8, 2026 11:43
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.

1 participant