Skip to content

[TST] Add regression coverage for concurrent tokenizer use and shutdown #110

@tazarov

Description

@tazarov

Summary

Add regression coverage for concurrent tokenizer usage and shutdown behavior.

Scope

  • Add tests for concurrent Encode and Decode on a shared tokenizer instance
  • Add regression coverage for shutdown while work is in flight
  • Run the relevant coverage with the race detector
  • Update CI if needed so the lifecycle regression path is exercised automatically

Acceptance criteria

  • The repo contains a deterministic regression test for the lifecycle race uncovered during concurrency evaluation
  • go test -race ./... (or a focused equivalent in CI) covers the affected tokenizer lifecycle paths
  • The concurrency-safe contract remains protected against future regressions

Part of #104.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions