fix: split bootstrap registry and stabilize CrewAI test#232
Closed
sipercai wants to merge 2 commits into
Closed
Conversation
This was referenced Jul 1, 2026
Collaborator
Author
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.
Description
This PR fixes the CrewAI CI failure reported in #230 and reduces recurring LoongSuite bootstrap registration conflicts.
Changes included:
loongsuite-distrobootstrap registrations into package-localbootstrap_registry/*.pyfragments while preserving the existingbootstrap_gen.pyexports;Fixes #230
Type of change
How Has This Been Tested?
python "$PIPELINE_SKILL_DIR/scripts/check_loongsuite_pr_readiness.py" --repo .tox -c tox-loongsuite.ini -e py312-test-detect-loongsuite-changestox -c tox-loongsuite.ini -e py312-test-loongsuite-instrumentation-crewai -- instrumentation-loongsuite/loongsuite-instrumentation-crewai/tests/test_error_scenarios.py::TestErrorScenarios::test_api_key_missingpython -m build loongsuite-distro --wheel --outdir .tmp-wheel-testPRE_COMMIT_HOME="$(mktemp -d /tmp/loongsuite-precommit.XXXXXX)" tox -e precommitDoes This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.
Validation Evidence
Spec and Scope
loongsuite-distrobootstrap registry generation/loading, and dynamic LoongSuite CI change detection.Local Checks
python "$PIPELINE_SKILL_DIR/scripts/check_loongsuite_pr_readiness.py" --repo .PRE_COMMIT_HOME="$(mktemp -d /tmp/loongsuite-precommit.XXXXXX)" tox -e precommitruff,ruff format,uv-lock, andrstcheckpassed.tox -c tox-loongsuite.ini -e py312-test-detect-loongsuite-changestox -c tox-loongsuite.ini -e py312-test-loongsuite-instrumentation-crewai -- instrumentation-loongsuite/loongsuite-instrumentation-crewai/tests/test_error_scenarios.py::TestErrorScenarios::test_api_key_missingpython -m build loongsuite-distro --wheel --outdir .tmp-wheel-testbootstrap_registry/__init__.pyand 81 registry Python files.origin/mainbootstrap_gen.pylibrariesanddefault_instrumentationsmatched exactly, including order.Real E2E Matrix
tox -c tox-loongsuite.ini -e py312-test-loongsuite-instrumentation-crewai -- instrumentation-loongsuite/loongsuite-instrumentation-crewai/tests/test_error_scenarios.py::TestErrorScenarios::test_api_key_missingTelemetry and Weaver
CI