Skip to content

[v10] Make traceId required on SentryLog #3835

Closed

Description

@buenaflor

Context

Part of the Major v10 Task Collection.

Problem

SentryLog.traceId is nullable and defaults to SentryId.empty(), so logs can ship without a real trace association. There is an existing TODO(major-v10).

Expected outcome

  • traceId becomes non-nullable and a required constructor parameter.
  • The SentryId.empty() fallback is removed.

Pointers

  • packages/dart/lib/src/telemetry/log/log.dart:7-27

Breaking change: Compile-time for direct SentryLog constructors (mostly internal callers).

Activity

  1. linear-code commented on Jul 1, 2026

    @linear-code
  2. added a commit that references this issue on Jul 6, 2026
    b726e2c
  3. added a commit that references this issue on Oct 12, 2026
    98e0771
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions