Seed: 60 old d4 jobs (oldest-50 page saturators) + 18 newer e2e-demos.
()
| 1906 | |
| 1907 | /** Seed: 60 old d4 jobs (oldest-50 page saturators) + 18 newer e2e-demos. */ |
| 1908 | function starvedStore(): CreatedJobRow[] { |
| 1909 | const t0 = Date.parse("2026-06-04T00:00:00.000Z"); |
| 1910 | const rows: CreatedJobRow[] = []; |
| 1911 | for (let i = 0; i < 60; i++) { |
| 1912 | const probeKey = `d4:svc-${String(i).padStart(2, "0")}`; |
| 1913 | rows.push({ |
| 1914 | ...jobView({ id: `d4-${i}`, probe_key: probeKey }), |
| 1915 | payload: samplePayload({ probeKey, serviceSlug: `svc-${i}` }), |
| 1916 | created: new Date(t0 + i * 1000).toISOString(), |
| 1917 | }); |
| 1918 | } |
| 1919 | for (let i = 0; i < 18; i++) { |
| 1920 | const probeKey = `e2e-demos:svc-${String(i).padStart(2, "0")}`; |
| 1921 | rows.push({ |
| 1922 | ...jobView({ id: `demos-${i}`, probe_key: probeKey }), |
| 1923 | payload: samplePayload({ probeKey, serviceSlug: `svc-${i}` }), |
| 1924 | created: new Date(t0 + 3_600_000 + i * 1000).toISOString(), |
| 1925 | }); |
| 1926 | } |
| 1927 | return rows; |
| 1928 | } |
| 1929 | |
| 1930 | it("makePagingPb throws on an unmodeled sort key instead of silently not sorting", async () => { |
| 1931 | // The paging fake honors only `created` / `lease_expires_at` (± the `-` |
no test coverage detected
searching dependent graphs…