WebhookClaimTests.TwoJobsForOneAttemptSendOnceAndRecordOneRow fails now and then on CI
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
Línea de trabajo
Start with WebhookClaimTests.cs:85 and trace how the two jobs are claimed and scheduled around host.Time.Advance(Abandoned). Identify what state the second job needs before the clock advances, then make the test wait for that state instead of relying on worker order or timing. Run WebhookClaimTests.TwoJobsForOneAttemptSendOnceAndRecordOneRow and confirm it passes reliably.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
FluentCMS.Plugins.Webhooks.Tests.WebhookClaimTests.TwoJobsForOneAttemptSendOnceAndRecordOneRow failed twice on 20 Nov 2026, in two runs that change nothing of the webhooks plugin:
- the push run on
mainfor 4b5ff6e1 (#3466, test helpers of the PostgreSQL data tests), run 44832337315, attempt 1; it passed on the rerun of the failed jobs; - the pull request #3471 (workflows only), run 44834414057, job
Tests (plugins-1).
Both times it is WebhookClaimTests.cs:85, Shouldly.ShouldAssertException : 0 should be 1: after host.Time.Advance(Abandoned), RunDueJobsAsync finds no due job, where the test expects the second job to wait until the claim it found would be abandoned and then run.
Proposal
Find what the second job's schedule depends on besides the fake clock (a real delay, the order in which the two workers took their jobs, a claim written after the clock moved), and make the test wait for the state it needs before it moves the clock.
Acceptance
- The cause is named
- The test no longer depends on the order or timing of the two workers
For workstation B (#3356). Seen by A.
- Lenguaje dominante
- C#
- Estrellas
- 567
- Forks
- 107
- Merge medio
- 1 h 19 min
- PR fusionados (30 d)
- 353
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de fluentcms/FluentCMS
-
area:localization plugin type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
area:storage type:bug
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
Los mantenedores suelen responder en 1 día
-
area:api area:publishing type:feature
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
fluentcms/FluentCMS#3473 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:storage plugin type:bug
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
area:admin type:bug
Dificultad 4/5 3-5 días Aptitud para principiantes 47/100
Los mantenedores suelen responder en 1 día
Todos los issues de fluentcms/FluentCMS
Issues similares
-
fix(ocr): compile the Tesseract-free pipeline with Tokio runtimePosiblemente ocupada @Goldziher la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
priority:P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
lompotc silently drops Java/C# class members past 128 instead of erroring, as its header claimsAbiertobug sev-5 vm
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
-
area:jobads-cv bug FE mvp P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
klasolsson81/jobbliggaren#2271 ·
Los mantenedores suelen responder en 1 día