Skip to content

fix(engine): context cancel in postWorkflowJobResultHandler#6633

Merged
yesnault merged 2 commits intomasterfrom
ye-1697006391
Oct 11, 2023
Merged

fix(engine): context cancel in postWorkflowJobResultHandler#6633
yesnault merged 2 commits intomasterfrom
ye-1697006391

Conversation

@yesnault
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
workflow.ResyncNodeRunsWithCommits(ctxbg, api.mustDBWithCtx(ctxbg), api.Cache, *proj, report)

go api.WorkflowSendEvent(context.Background(), *proj, report)
sdk.NewGoRoutines(ctx).Exec(ctxbg, "workflow-send-event", func(ctx context.Context) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
sdk.NewGoRoutines(ctx).Exec(ctxbg, "workflow-send-event", func(ctx context.Context) {
api.Routines.Exec(ctxbg, "workflow-send-event", func(ctx context.Context) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

done

Signed-off-by: Yvonnick Esnault <yvonnick.esnault@corp.ovh.com>
@ovh-cds
Copy link
Copy Markdown
Collaborator

ovh-cds commented Oct 11, 2023

CDS Report build-all-cds#19218.0 ✘

  • Build
    • Build and Package All ✔
    • Build Debpacker ✔
    • Build SMTPMock ✔
    • Lint UI Translate ✔
    • Test CLI ✔
    • Test Engine ✘
    • Test SDK ✔
    • Test UI ✔

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.3) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@yesnault yesnault merged commit 3f743d9 into master Oct 11, 2023
@fsamin fsamin deleted the ye-1697006391 branch November 14, 2023 12:35
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