Closed brianamarie closed 5 years ago
This didn't happen on my last round...so I'm going to close this....but I'll reopen if it happens again.
cc @beardofedu @a-a-ron @hollenberry in case you run across this during happy path.
@brianamarie reopening, as this is also happening on my end.
Circle sends multiple status events and Learning Lab is acting on them all. I think it’s a bug we should open in the Learning Lab repo. On our end, we can probably check what’s unique about each event and gate so we only act on one of the 3 events.
I opened an issue: https://github.com/github/learning-lab/issues/936
To write the gate, I'm not sure how to proceed. (What API information can we use as the gate?) Any takers to try and code this into the config? @a-a-ron @hollenberry @JasonEtco @ppremk @beardofedu
We can inspect the payload of the status events by subscribing a learner’s repo to a Smee channel, and then start the connection with Circle. You’ll see 3 status events (I believe one each for: pending, waiting, and success/fail).
^ @JasonEtco 's fix works as of my most recent test. 🎉
I'm not sure what's going on, but for the 2nd time through the course, I'm getting double posts of comments. I think it might have to do with 2 statuses being reported, but I'm not sure how that would work.
@JasonEtco @JamesMGreene Could you help resolve this?