ALL-206: Decouple local reranker service topology from Bedrock-only stacks#211
ALL-206: Decouple local reranker service topology from Bedrock-only stacks#211christabone wants to merge 2 commits intomainfrom
Conversation
PR Review: ALL-206 — Decouple local reranker service topologySummaryThis PR decouples the BLOCKING IssuesNone found. Non-blocking observationsWarning: Race window in With the Suggestion: Duplicated Identical function defined in both test files. Could be extracted to a shared test helper, but this is minor and consistent with how What looks good
Overall AssessmentClean, well-structured PR. The shared library approach is the right call for keeping provider detection consistent. Tests are thorough. No blocking issues. Need help? Comment |
|
@claude Please review these recent changes.
|
Re-review: ALL-206 — Decouple local reranker service topologyReviewing commit SummaryThis PR decouples the Previously raised issues — statusRace window in BLOCKING IssuesNone found. Non-blocking observationsSuggestion: Duplicated Identical function in both test files. Could be extracted to a shared test helper alongside Review checklist
Overall AssessmentClean PR. The prior race-window concern has been addressed with Need help? Comment |
|
@claude Please review these recent changes.
|
Re-review: ALL-206 — Decouple local reranker service topologyReviewing commit SummaryThis PR decouples the Previously raised issues — status
BLOCKING IssuesNone found. Review checklist
Overall AssessmentClean PR. Both issues from previous reviews have been addressed. The shared helper library keeps provider detection DRY, the Need help? Comment |
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 9412085 | Triggered | Generic Password | 87179d4 | scripts/tests/test_reranker_compose_profiles.sh | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
TL;DR
Decouple local reranker service startup from Bedrock/none topologies while still requiring it for
local_transformers.Summary
reranker-transformersin dev/prod/test compose files.RERANKER_WAIT_FOR_STARTUP=falsein Weaviate so Bedrock/none stacks can boot without local reranker.up-core, test prep, and review prep scripts soreranker-transformersruns only forlocal_transformers.Alternatives
Test Plan