Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CAPPL-132] Fetch secrets in workflow engine #14880

Merged
merged 2 commits into from
Oct 25, 2024

Conversation

cedric-cordenier
Copy link
Contributor

@cedric-cordenier cedric-cordenier commented Oct 22, 2024

  • Create a stubbed out workflow registry syncer, and implement the secretsFetcher interface.

  • Refactor getting the config into a single method and use this consistently across call sites. We'll also not cache the values in the engine, relying on the registries to cache for us. The performance hit associated with this should be minimal in comparison with the other calls made by the engine when executing a workflow.

  • Create a logCustMsg helper which logs a custom message and codifies logging an error if emitting the message fails. A failure to emit a custom message should not interrupt the execution of the engine.

Requires

Resolves

@cedric-cordenier cedric-cordenier force-pushed the CAPPL-132-secrets-fetcher branch 3 times, most recently from b8230b9 to a79a721 Compare October 22, 2024 12:55
Copy link
Contributor

github-actions bot commented Oct 22, 2024

AER Report: CI Core ran successfully ✅

aer_workflow , commit

AER Report: Operator UI CI ran successfully ✅

aer_workflow , commit

@cedric-cordenier cedric-cordenier force-pushed the CAPPL-132-secrets-fetcher branch from 324159c to bc6c8a3 Compare October 25, 2024 10:27
@cedric-cordenier cedric-cordenier added this pull request to the merge queue Oct 25, 2024
services.StateMachine
}

func (w *WorkflowRegistry) Start(ctx context.Context) error {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's a service that doesn't start?

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.

5 participants