fix(extensions): load installed integrations before checking every agent · github/spec-kit@e9b6a9b · GitHub
Skip to content

Commit e9b6a9b

Browse files
committed
fix(extensions): load installed integrations before checking every agent
Without init-options.json, extension install checks the destinations of every integration. It iterated INTEGRATION_REGISTRY itself, and the check loads the project's installed integrations into it (#4862), so extension add failed with 'dictionary changed size during iteration' once a project had an installed integration. The project's integrations are now loaded first, and the check walks a copy of the keys. Refs #4797 Assisted-by: Codex CLI (model: gpt-6-astra, autonomous) Assisted-by: Claude Code (model: claude-opus-5-5, autonomous)
1 parent e8bf882 commit e9b6a9b

2 files changed

Lines changed: 19 additions & 4 deletions

File tree

‎src/specify_cli/extensions/__init__.py‎

Lines changed: 6 additions & 4 deletions

‎tests/specify_cli/integrations/test_command_upgrade.py‎

Lines changed: 13 additions & 0 deletions

0 commit comments

Comments
 (0)