fix: backfill symbol_demand for sidebar-added symbols + analyst ratings schema fix
- Add await ctx.cache.subscribe() to addSymbol mutation so symbols added via the sidebar get registered in symbol_demand and yfinance jobs are queued immediately - Backfill PEP, WYNN, STZ, CELH into symbol_demand + adapter_queue - Upgrade yahoo-finance2 3.15.3 -> 3.15.4 and pass validateResult:false to quoteSummary() to handle Yahoo schema drift - Add error detail logging for analyst ratings schema failures - Update .gitignore with common ignores
This commit is contained in:
@@ -133,7 +133,7 @@ describe('exchangeCode', () => {
|
||||
|
||||
// The fake fetch: returns token on the POST call, userinfo on GET.
|
||||
const mockCalls: Array<{ url: string; init: RequestInit }> = [];
|
||||
const fakeFetch = async (input: URL | RequestInfo, init?: RequestInit) => {
|
||||
const fakeFetch = async (input: string | URL | Request, init?: RequestInit) => {
|
||||
const url = typeof input === 'string' ? input : input instanceof URL ? input.toString() : '';
|
||||
mockCalls.push({ url, init: init ?? {} });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user