mirror of https://github.com/OpenVidu/openvidu.git
1.6 KiB
1.6 KiB
Tasks
1. Typings
- 1.1 Add
rawRequest?: Record<string, unknown>toEgressDocumentintypings/src/data-model/entities.tsand therawRequestobject to theegressesschema intypings/contract/schemas.ts. Add the raw request of each egress fixture incontract/fixtures/egress-ingress.ts, shared with the recording event ofcontract/fixtures/events.ts. Regenerate the contract withpnpm --filter @openvidu-dashboard/typings run contract. Verify with the typings typecheck and tests.
2. Writer (openvidu-livekit)
- 2.1 Vendor the contract with
typings/contract/vendor.sh. AddRawRequestto theEgressDocumentstruct and setrawRequestin the egress projection from therequestmember of the encodedEgressInfo. Verify with the unit tests ofopenvidu/analytics/...and the lint of the fork. - 2.2 Assert in the egress integration tests that
rawRequestholds the file and stream outputs, with the stream URL redacted and no credential. Verify with the analytics integration tests andtypings/contract/writer-check.sh.
3. Data generator
- 3.1 Write
rawRequeston every generated egress document, from the request the generator derives for the egress events. Verify with the data generator tests and by loading a demo dataset.
4. Docs and CHANGELOG
- 4.1 No CHANGELOG line: the analytics data model has not shipped. Update the
AGENTS.mdfiles only if a command or path changes. Verify by reading the change against them.
5. Integration check
- 5.1 Run
./dashboard.sh checkand the backend integration tests. Verify that they pass.