Skip to content

Conversation

@cloud-on-prem
Copy link
Contributor

This change implements automatic secret discovery and interactive collection for recipe execution, addressing the core issue where users running recipes with missing credentials would encounter confusing extension failures. The implementation adds a SecretDiscovery engine that analyses recipe extensions to identify required credentials and a SecretCollector that presents user-friendly prompts to gather missing secrets. When users run recipes interactively, the system now automatically detects missing API keys or tokens, groups them by extension for better UX, and guides users through secure credential setup using the existing keyring infrastructure.

Note:

  1. The secret collection flow is integrated into the session builder and only triggers in interactive mode, ensuring that automated workflows remain unaffected while dramatically improving the first-time user experience for recipe adoption.

  2. This is a CLI-only change and does not affect the UI.

  • feat: add secret collector and discovery
  • feat: hook secret discovery into recipe flow
  • feat: ensure not-found errors are caught and presented well
  • feat(tests): add integration tests for secret collection

@cloud-on-prem cloud-on-prem changed the title feat: recipes in interactive mode will ask for missing required credentials [on-hold] feat: recipes in interactive mode will ask for missing required credentials Jul 11, 2025
@cloud-on-prem
Copy link
Contributor Author

on hold until we re-merge #3358

@DOsinga DOsinga marked this pull request as draft July 16, 2025 16:16
@DOsinga
Copy link
Collaborator

DOsinga commented Jul 29, 2025

closing due to staleness

@DOsinga DOsinga closed this Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants