Closed aaronsteers closed 4 days ago
The pull request includes a series of changes across various workflow files, source files, and test files. Key modifications involve renaming workflows, updating job configurations, and enhancing error handling mechanisms. The workflows for auto-fixing, linting, and testing have been restructured for clarity and functionality, while source files have seen updates to interfaces and classes to improve abstraction and error handling. Additionally, numerous test files have been refined to enhance readability and coverage, ensuring robust validation of functionality.
File | Change Summary |
---|---|
.github/workflows/autofix-command.yml |
Workflow name changed to "On-Demand AutoFix". Job configuration updated to specify Python 3.10 and Ubuntu. Comments adjusted to reflect new workflow name. |
.github/workflows/python_lint.yml |
MyPy command updated to run within Poetry context. |
.github/workflows/slash_command_dispatch.yml |
Commands updated from fix-pr , test-pr to autofix , test . |
.github/workflows/test-command.yml |
Workflow name changed to "On-Demand Test". New steps added for uploading PR details and downloading artifacts. New jobs for logging success and failure comments added. |
airbyte_cdk/connector.py |
_WriteConfigProtocol updated to have an abstract write_config method. Connector class body changed to abstract. |
airbyte_cdk/connector_builder/main.py |
Minor formatting change in handle_request function's return statement. |
airbyte_cdk/destinations/destination.py |
run_cmd method updated to validate commands against VALID_CMDS set and refined error handling. |
airbyte_cdk/sources/declarative/concurrent_declarative_source.py |
Constructor updated for concurrency handling; new methods added for stream management. |
airbyte_cdk/sources/declarative/requesters/error_handlers/default_error_handler.py |
Error handling logic updated to improve response interpretation. |
airbyte_cdk/sources/declarative/requesters/error_handlers/default_http_response_filter.py |
Logic simplified in matches method. |
airbyte_cdk/sources/declarative/requesters/http_requester.py |
New attribute disable_retries added to control retry behavior. |
airbyte_cdk/test/catalog_builder.py |
Method overloads updated for clarity; main implementation supports flexible input. |
pyproject.toml |
New sections added for tool.isort and tool.ruff to manage file handling. |
unit_tests/... |
Numerous test files updated for formatting, readability, and coverage enhancements across various classes and functions. |
🐰 In the meadow, changes bloom,
Workflows dance, dispelling gloom.
Lint and tests, all in line,
Code so clear, it will shine!
With each update, we take flight,
Hopping forward, coding bright! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
/fix-pr
Auto-Fix Job Info
This job attempts to auto-fix any linting or formating issues. If any fixes are made, those changes will be automatically committed and pushed back to the PR.
Note: This job can only be run by maintainers. On PRs from forks, this command requires that the PR author has enabled the
Allow edits from maintainers
option.PR auto-fix job started... Check job output.
✅ Changes applied successfully.
This PR runs auto-format of the repo using
ruff
and fixes some smaller issues in the slash commands.Summary by CodeRabbit
New Features
FixtureAvailabilityStrategy
class for enhanced error handling with HTTP 403 status codes.DefaultFileBasedStream
tests to ensure proper message propagation and logging.Bug Fixes
ConcurrentCursor
tests.Documentation
Style