<#10124 chore: Merge from `main`> Pull request ope...
# meltano-repo-activity
g
#10124 chore: Merge from `main` Pull request opened by ReubenFrankel Summary by Sourcery Prepare 4.2.1 patch releases, updating logging behavior, docstrings, and tooling while tightening structured logging behavior and tests for colorized output and exception notes. Bug Fixes: • Ensure PipelineWise plugin logs are not swallowed by setting the root logger level in singer base logging configuration. • Fix logging color handling to depend on TTY detection and update tests to cover FORCE_COLOR and non-tty stderr scenarios. • Correct pathlib traceback expectations for different Python versions in exception tracking tests. • Prevent swallowing of exception notes by propagating them through PluginException models and renderers. • Fix regex escaping in CLI tests for incompatible Meltano versions. • Avoid variable shadowing and clarify temporary variable names in several utilities and services. Enhancements: • Refine logging formatter configuration using shared helpers for colored, uncolored, JSON, key-value, and plain formats. • Simplify many docstrings and annotations for plugins, settings, environments, and state management services. • Improve plugin scheduling and block parsing logic for clearer plugin resolution in schedules and blocks. • Standardize abstract base usage by switching several metaclass-based ABCs to subclassing abc.ABC directly. • Clarify state strategy handling in CLI
elt
and
run
commands and improve environment/selection helpers. • Add support for exception notes in structured logging, including serialization and rendering. • Align tests with new logging behavior, plugin fixtures, and catalog handling for taps and mappers. • Improve list_settings output ordering and section handling in CLI config. Build: • Bump check-jsonschema, eslint, prettier, ruff, uv, and CodSpeed GitHub Action versions in tooling and CI. • Update structlog and typing-related dev dependencies such as
ty
and type stubs. CI: • Update benchmark workflow to newer CodSpeed GitHub Action revision for walltime benchmarking. Documentation: • Document 4.2.1 release in main and 3.x changelogs with notes about logging fixes. • Update docs site dependencies and Docusaurus configuration, including markdown broken link handling. • Add teaser blurbs and truncation markers to multiple changelog blog posts and the initial changelog announcement. • Bump docs package version to 4.2.1 and adjust various blog entries summarizing recent releases and features. Tests: • Expand logging tests to cover formatter behavior, color handling, deep exception stacks, and exception notes. • Adjust benchmark tests and CLI color tests to align with new logging behavior and environment handling. • Update various plugin-related tests and fixtures to use class-scope fixtures, ProjectPlugin taps, and mapper behavior. • Tighten type hints and expectations in tests (e.g., deep_exc_info optionality, decimal inference values). Chores: • Bump project version metadata and tooling configs (pyproject, docs package.json, commitizen, issue templates) to 4.2.1. • Deduplicate exported names in logging init and add a new contributor to CONTRIBUTORS. meltano/meltano