mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-19 16:41:18 +00:00
0b51b97f6c037f69efa5aa41abc9c7313dec09fb
* feat(backend): make FeedSourceProvider async Make feedSourceForUser and FeedSourceProviderFn return promises. Use Promise.allSettled to tolerate partial provider failures. Guard concurrent getOrCreate calls with in-flight promise dedup. Return 503 from HTTP handlers when session creation fails. Co-authored-by: Ona <no-reply@ona.com> * fix(backend): handle remove() during in-flight session creation Cancel pending getOrCreate when remove() is called mid-flight. Destroy the resulting session to prevent it from leaking. Co-authored-by: Ona <no-reply@ona.com> --------- Co-authored-by: Ona <no-reply@ona.com>
aelis
To install dependencies:
bun install
Packages
@aelis/source-tfl
TfL (Transport for London) feed source for tube, overground, and Elizabeth line alerts.
Testing
cd packages/aelis-source-tfl
bun run test
Fixtures
Tests use fixture data from real TfL API responses stored in fixtures/tfl-responses.json.
To refresh fixtures:
bun run fetch-fixtures
Description
Languages
TypeScript
97.4%
Shell
1.3%
JavaScript
0.8%
Dockerfile
0.3%
CSS
0.2%