feat(executor): fix payloadModelRulesMatch for unconditional rules#924
feat(executor): fix payloadModelRulesMatch for unconditional rules#924KooshaPari wants to merge 3 commits intomainfrom
Conversation
…r packages This commit removes redundant split files that were created during the refactor split, consolidating each package back to a single implementation source: management package: - Removed auth_file_mgmt.go, auth_gemini.go (duplicates of auth_files.go) - Removed auth_helpers.go, auth_file_crud.go, auth_file_patch.go (duplicates) - Removed auth_kiro.go, auth_status.go (duplicates) - Removed auth_anthropic.go, auth_antigravity.go, auth_codex.go - Removed auth_github.go, auth_iflow.go, auth_kilo.go, auth_kimi.go, auth_qwen.go executor package: - Removed kiro_streaming_event_parser.go, kiro_streaming_transform.go - Removed kiro_streaming_websearch.go, kiro_streaming_fallback.go - Removed kiro_auth.go, kiro_transform.go, kiro_streaming_init.go config package: - Removed the entire split config module (config_io.go, config_persistence.go, config_providers.go, config_types.go, config_validation.go) The canonical implementations in the monolith files remain unchanged. Additional changes: - Updated import paths from sdk/auth to sdk/cliproxy/auth across affected files - Added Minimax thinking provider package
- Fix payloadModelRulesMatch to treat empty Name as unconditional rule - Add regression tests for split-count coverage (conditional vs unconditional) - Tests cover protocol matching, alias targeting, and filter rules - Include TestPayloadModelRulesMatch, TestPayloadModelCandidates - Include TestApplyPayloadConfigWithRoot_* (6 test functions, 30+ cases)
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 7 minutes and 3 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (122)
Note
|
- Add path-escape validation to resolveAuthPath - Ensure all file paths stay within configured base directory - Normalize paths with filepath.Clean before validation - Fixes CodeQL go/path-injection alerts
|
Superseded by rebased PR #927, which has been merged. |
Summary
Fixes payloadModelRulesMatch to correctly handle unconditional rules (rules with empty Name).
Changes
Files Changed
Test Results