DO NOT MERGE: test graceful OOM shutdown#942
Closed
Patrick Nilan (pnilan) wants to merge 1 commit intodevin/1773091366-add-memory-monitorfrom
Closed
DO NOT MERGE: test graceful OOM shutdown#942Patrick Nilan (pnilan) wants to merge 1 commit intodevin/1773091366-add-memory-monitorfrom
Patrick Nilan (pnilan) wants to merge 1 commit intodevin/1773091366-add-memory-monitorfrom
Conversation
Duplicates each consumed record 500x into a growing list to rapidly inflate memory and trigger the MemoryMonitor warning/critical thresholds.
👋 Greetings, Airbyte Team Member!Here are some helpful tips and reminders for your convenience. 💡 Show Tips and TricksTesting This CDK VersionYou can test this version of the CDK using the following: # Run the CLI from this branch:
uvx 'git+https://github.com/airbytehq/airbyte-python-cdk.git@test/graceful-oom-shutdown#egg=airbyte-python-cdk[dev]' --help
# Update a connector to use the CDK from this branch ref:
cd airbyte-integrations/connectors/source-example
poe use-cdk-branch test/graceful-oom-shutdownPR Slash CommandsAirbyte Maintainers can execute the following slash commands on your PR:
|
Contributor
Author
|
/prerelease
|
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AirbyteEntrypoint.read()to test the memory monitor's graceful shutdown behaviorMemoryLimitExceededexception fire correctly in a containerTest plan
MemoryLimitExceededat ~95%DO NOT MERGE — test-only change to validate memory monitor behavior.