Skip to content

Default runAsWorker to false, update docs and bump version#9

Merged
koculu merged 1 commit intomainfrom
codex/set-runasworker-false-by-default
Feb 2, 2026
Merged

Default runAsWorker to false, update docs and bump version#9
koculu merged 1 commit intomainfrom
codex/set-runasworker-false-by-default

Conversation

@koculu
Copy link
Copy Markdown
Owner

@koculu koculu commented Feb 2, 2026

Motivation

  • Make transport worker threads opt-in by changing the global default so transports run on the main thread unless explicitly enabled.
  • Align documentation and examples with the new default so users see correct guidance for worker usage.
  • Bump package versions to reflect the behavioral change.

Description

  • Changed the default for runAsWorker in createLogger by setting DEFAULTS.runAsWorker to false and updating the JSDoc default from true to false in packages/logpot/src/createLogger.ts.
  • Updated docs and examples to state that workers are disabled by default and to show how to opt in, editing docs-site/src/content/docs/features.md and docs-site/src/content/docs/overview.mdx.
  • Removed a global runAsWorker: true example from the quick-start and adjusted explanatory text to encourage enabling workers only when needed.
  • Bumped versions in package.json and packages/logpot/package.json from 1.0.6 to 1.0.7.

Testing

  • No automated tests were executed as part of this change.
  • Existing tests referencing runAsWorker still pass locally not verified here, and code references were inspected with search to ensure docs and defaults were updated consistently.

Codex Task

@koculu koculu merged commit 77fbe00 into main Feb 2, 2026
1 check passed
@koculu koculu deleted the codex/set-runasworker-false-by-default branch February 2, 2026 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant