Repository navigation
fix(gooddata-eval): drop dead 'skills' fallback spelling in set_skills parsing - #1861
cobanfurkanx wants to merge 1 commit into
Conversation
…s parsing Closes gooddata#1780 - Drop the legacy 'skills' fallback in _set_skills_declarations() - Update all remaining occurrences of 'skills' as argument key in test_agentic_conversation.py to use 'skill_names'
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthrough
ChangesSkills declaration parsing
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to In-repository callers and tests use Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The change affects reported skill activation and evaluation outcomes, without an identified expansion of permissions or attacker reachability. Compatibility remains uncertain because the external tool declaration was not available to verify the canonical argument key. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
A rabbit checked the skill-name key, Comment |
Closes #1780
Description
As described in #1780,
_set_skills_declarations()inpackages/gooddata-eval/src/gooddata_eval/core/agentic/conversation.pyhedged across two argument spellings:skill_namesandskills.Since
skill_namesis the authoritative field declared by theset_skillstool and emitted by the platform, the legacy fallback toskillswas dead and allowed tests to pass with payloads the platform never emits.Changes
args.get("skills")in_set_skills_declarations()."skills"as an argument key intest_agentic_conversation.pyto use"skill_names"consistently.Summary by CodeRabbit
skill_namesfield. The legacyskillsfield is no longer used as a fallback, so requests withoutskill_namesare treated as having no declared skills.