PagerDuty / pd-live-react

An open-source, real-time, unified console to view and manage PagerDuty incidents.
https://pagerduty.github.io/pd-live-react/
MIT License
11 stars 1 forks source link

[Bug] Responder users fail to retrieve correct incidents under API #52

Closed gsreynolds closed 1 week ago

gsreynolds commented 1 year ago

Summary

This incident has been raised to identify and fix behaviours with calls to PagerDuty's API against two user types.

The implication of this bug means that responder users initially fetch the wrong incident dataset filled with duplicates, which are then removed on UI refresh from polling log_entries, furthermore showing another incorrect number of incidents for given query.

Current Behaviour

Global Admin

Responder

Expected Behaviour (Responder)

Suggested Workaround

TESTED: Default to older pd.all("/incidents") method to fetch incidents using a linear pagination method

gsreynolds commented 1 year ago

Working with @martindstone on debugging this issue - it looks like PD Live's call to PD API returns duplicates for responder users.

However, when replicating this using native REST calls with Postman, we are seeing no duplicates in the responses.

gsreynolds commented 1 year ago

On further investigation, this looks to be an environmental issue with PagerDuty itself and not PD Live. We have escalated this with PagerDuty engineering and will await further updates; unfortunately there is no workaround apart from granting users Global Admin base roles which is less than ideal.

gsreynolds commented 1 week ago

Not planned; project deprecated in favour of [Operations Console].(https://support.pagerduty.com/main/docs/operations-console)