Skip to content

Add execution_logging config to engine schema#25

Merged
itsthatriver merged 1 commit into
mainfrom
thejosephstevens/exec-logging-schema
Feb 26, 2026
Merged

Add execution_logging config to engine schema#25
itsthatriver merged 1 commit into
mainfrom
thejosephstevens/exec-logging-schema

Conversation

@itsthatriver

@itsthatriver itsthatriver commented Feb 25, 2026

Copy link
Copy Markdown
Contributor

Closes PLT-1106

Summary

  • Adds execution_logging as an optional top-level property to engine/config/2.0/schema.json
  • Documents 8 top-level fields (enabled, max_output_size, buffer_size, write_batch_size, write_batch_timeout, drain_timeout, config_cache_ttl, coordinator_url) and a cleanup sub-object with 3 fields (batch_size, mark_interval, sweep_batch_interval)
  • Follows existing hand-written patterns: oneOf with envVarPattern/filePattern refs, descriptions, defaults, and validation constraints

Closes PLT-1106. Deferred from PR #146 until the config shape stabilized.

Test plan

  • Verify the schema JSON parses correctly
  • Confirm execution_logging is optional (not in the top-level required array)
  • Verify field defaults and constraints match the Engine implementation

🤖 Generated with Claude Code

@itsthatriver itsthatriver requested a review from wdawson February 25, 2026 00:47
Document the execution_logging configuration block that was deferred
from PR #146 until the config shape stabilized (PLT-1106).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@itsthatriver itsthatriver force-pushed the thejosephstevens/exec-logging-schema branch from b7d9ca2 to c55b3e8 Compare February 25, 2026 00:52

@wdawson wdawson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's a "test" schema file here too. Can you update that and/or make sure it conforms to these updates? Helps to make sure that main won't break with bad config.

@itsthatriver itsthatriver merged commit fea4a36 into main Feb 26, 2026
1 check passed
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.

2 participants