I work with Demian and am helping out on this issue. In Chrome network panel, I was able to âcopy as curlâ the network request to our instance at http://sentry.vfs.va.gov/api/0/organizations/vsp/?detailed=0. I saved it to a file locally which was 256MB of json, then ran cat sentry.output | python -m json.tool
and most of results are of this type, for the user: null.
{
"task": "setup_user_context",
"status": "complete",
"user": null,
"completionSeen": null,
"dateCompleted": "2021-07-19T18:43:55.286403Z",
"data": {}
},
{
"task": "setup_user_context",
"status": "complete",
"user": null,
"completionSeen": null,
"dateCompleted": "2021-07-19T18:43:55.337710Z",
"data": {}
},
{
"task": "setup_user_context",
"status": "complete",
"user": null,
"completionSeen": null,
"dateCompleted": "2021-07-19T18:43:55.417010Z",
"data": {}
},
The source code appears to be at sentry/organization.tsx at ff0b7418318b3cecb30f6460c2028204e35fb019 ¡ getsentry/sentry ¡ GitHub.
async function fetchOrg(
api: Client,
slug: string,
detailed: boolean,
isInitialFetch?: boolean
): Promise<Organization> {
const detailedQueryParam = detailed ? 1 : 0;
const org = await getPreloadedDataPromise(
`organization?detailed=${detailedQueryParam}`,
slug,
() =>
// This data should get preloaded in static/sentry/index.ejs
// If this url changes make sure to update the preload
api.requestPromise(`/organizations/${slug}/`, {
query: {detailed: detailedQueryParam},
}),
isInitialFetch
);
if (!org) {
throw new Error('retrieved organization is falsey');
}
OrganizationActions.update(org, {replace: true});
setActiveOrganization(org);
return org;
}
Thatâs all I got for right now to keep the momentum going on this. As Demian mentioned, us engineers working on the VA.gov
project donât have a choice for your SaaS offering right now, as we are restricted by US government constraints. I see you donât have an option to offer a paid consult, however, if you do have a way to do that, please let us know if that could be an option.
Thanks