microsoft/Forge

Action Responses not persisted in ForgeState when two parallel actions complete their execution at the same time intermittently

Open

#59 geöffnet am 20. Mai 2024

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (59 Forks)auto 404
bughelp wanted

Repository-Metriken

Stars
 (331 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

We are noticing an intermittent issue where we have two actions within the same node and whenever the two actions finish their execution at the exact same time, the action response is not getting persisted in the forge state and our schema failures at GetOutput with exception System.NullReferenceException:Object reference not set to an instance of an object

Upon retry the issue goes away..

Here is the first attempt where it failed.

2024-05-20 10:01:08.5802526 The Action response for action : ********* is {"StatusCode":1,"Status":"True","Output":""} 2024-05-20 10:01:08.5802528 The Action response for action : ******** is {"StatusCode":1,"Status":"True","Output":""}

Next attempt where it passed

2024-05-20 10:01:58.3472478 The Action response for action : ***** is {"StatusCode":1,"Status":"True","Output":""} 2024-05-20 10:01:58.4162777 The Action response for action : ***** is {"StatusCode":1,"Status":"True","Output":""}

Contributor Guide