Skip to content

Add DebugMap configuration support for CQL engine tracing#985

Merged
c-schuler merged 1 commit intomainfrom
add-debug-map-configuration
Mar 26, 2026
Merged

Add DebugMap configuration support for CQL engine tracing#985
c-schuler merged 1 commit intomainfrom
add-debug-map-configuration

Conversation

@c-schuler
Copy link
Copy Markdown
Contributor

Summary

  • Exposes DebugMap configuration on CqlEngineOptions, allowing callers to provide a pre-configured DebugMap with logging, coverage, and profiling settings
  • When an explicit DebugMap is provided, it takes precedence over the isDebugLoggingEnabled flag
  • Preserves debug/trace data through measure evaluation by passing DebugMap through CompositeEvaluationResultsPerMeasure and EvaluationResultFormatter
  • Adds profiling and coverage option setters to CqlEngineOptions

Test plan

  • CqlEngineOptionsTest: covers new getters/setters, profiling, coverage, and toString
  • EnginesTest: verifies explicit DebugMap is applied and takes precedence over isDebugLoggingEnabled
  • CompositeEvaluationResultsPerMeasureTest: verifies debug results are preserved through evaluation

@c-schuler c-schuler self-assigned this Mar 26, 2026
@c-schuler c-schuler added the enhancement New feature or request label Mar 26, 2026
@github-actions
Copy link
Copy Markdown

Formatting check succeeded!

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
60.3% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@c-schuler c-schuler merged commit 6d3d3ca into main Mar 26, 2026
8 of 9 checks passed
@c-schuler c-schuler deleted the add-debug-map-configuration branch March 26, 2026 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants