Page MenuHomePhabricator

[lib] Add reports service facts
ClosedPublic

Authored by bartek on Aug 30 2023, 11:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 1, 9:26 PM
Unknown Object (File)
Wed, Sep 18, 7:44 PM
Unknown Object (File)
Sep 14 2024, 1:44 PM
Unknown Object (File)
Sep 10 2024, 9:06 AM
Unknown Object (File)
Sep 10 2024, 9:06 AM
Unknown Object (File)
Sep 10 2024, 9:06 AM
Unknown Object (File)
Sep 10 2024, 9:06 AM
Unknown Object (File)
Sep 10 2024, 9:06 AM
Subscribers

Details

Summary

Similiar to other services, add facts file with endpoint info for reports service.
We expose only single endpoint meaningful to clients. Other endpoints are staff only so I haven't added them.

Test Plan

flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Aug 31 2023, 12:07 AM
bartek added inline comments.
lib/facts/reports-service.js
5–8 ↗(On Diff #30621)

I wish flow had TypeScript's as const - playground link

Should we also update the docs with the new facts file?

This revision is now accepted and ready to land.Aug 31 2023, 5:07 AM
In D9041#266461, @tomek wrote:

Should we also update the docs with the new facts file?

Which docs? Other services' facts don't have any docs IIRC 🤔

In D9041#266461, @tomek wrote:

Should we also update the docs with the new facts file?

Which docs? Other services' facts don't have any docs IIRC 🤔

If the app works correctly after fresh checkout without these facts, then we're fine. But if this file is required for the app to work, then we should mention it somewhere (I remember that we're mentioning web and landing facts somewhere).

This revision was automatically updated to reflect the committed changes.