MCPcopy Create free account

hub / github.com/VrianCao/Uptimer / functions

Functions1,365 in github.com/VrianCao/Uptimer

↓ 4 callersFunctionrequestHomepageArtifact
(handlers: FakeD1QueryHandler[])
apps/worker/test/public-homepage-routes.test.ts:54
↓ 4 callersFunctionresolveApiRequestPath
(pathname)
apps/web/public/_worker.js:70
↓ 4 callersFunctionrunBenchmarkForTree
(treeRoot, label)
apps/worker/scripts/bench-scheduler.mjs:122
↓ 4 callersFunctionrunDailyRollup
( env: Env, controller: ScheduledController, _ctx: ExecutionContext, )
apps/worker/src/scheduler/daily-rollup.ts:148
↓ 4 callersFunctionrunRetention
(env: Env, controller: ScheduledController)
apps/worker/src/scheduler/retention.ts:13
↓ 4 callersFunctionsafeParseJsonArray
( text: string | null, schema: z.ZodType<T[]>, )
apps/worker/src/public/homepage.ts:184
↓ 4 callersFunctionserializeDbJsonNullable
( schema: z.ZodType<T, z.ZodTypeDef, unknown>, value: T | null, opts: { field?: string } = {}, )
packages/db/src/json.ts:46
↓ 4 callersFunctionshouldLogScheduledRefresh
(env: Env)
apps/worker/src/scheduler/scheduled.ts:157
↓ 4 callersFunctionsnapshotMatchesCandidateGeneratedAt
( candidate: SnapshotCandidate, snapshot: PublicHomepageResponse, )
apps/worker/src/snapshots/public-homepage-read.ts:327
↓ 4 callersFunctionstatusLabel
(status: MonitorStatus | CheckStatus, t: TFunction)
apps/web/src/i18n/labels.ts:6
↓ 4 callersFunctionstatusPayload
()
apps/worker/test/internal-sharded-public-snapshot.test.ts:32
↓ 4 callersFunctiontoCheckStatus
(value: string | null)
apps/worker/src/routes/admin-analytics.ts:66
↓ 4 callersFunctiontoHomepageSnapshotPayload
(value: unknown)
apps/worker/src/snapshots/public-homepage.ts:1207
↓ 4 callersFunctiontoIncidentStatus
( value: string | null, )
apps/worker/src/public/data.ts:267
↓ 4 callersMethodtoInfoHeader
()
apps/worker/src/observability/trace.ts:145
↓ 4 callersFunctiontoRow
(write: { fragmentKey: string; generatedAt: number; bodyJson: string; updatedAt: number; })
apps/worker/test/internal-sharded-public-snapshot.test.ts:18
↓ 4 callersFunctiontoSnapshotPayload
(value: unknown)
apps/worker/src/snapshots/public-status.ts:379
↓ 4 callersFunctionuseAuth
()
apps/web/src/app/AuthContext.tsx:138
↓ 4 callersFunctionuseTheme
()
apps/web/src/app/ThemeContext.tsx:78
↓ 4 callersFunctionvalidateHttpResponseAssertionConfig
(input: { responseKeyword: string | null | undefined; responseKeywordMode: HttpResponseMatchMode | null |
apps/worker/src/monitor/http-assertions.ts:73
↓ 4 callersFunctionwriteCachedNormalizedSnapshotRow
( cacheByDb: WeakMap<D1Database, Map<SnapshotKey, NormalizedSnapshotRow>>, db: D1Database, candidate: Sn
apps/worker/src/snapshots/public-homepage-read.ts:394
↓ 4 callersFunctionwriteCachedParsedSnapshotRow
( cacheByDb: WeakMap<D1Database, Map<SnapshotKey, ParsedSnapshotRow>>, db: D1Database, candidate: Snapsh
apps/worker/src/snapshots/public-homepage-read.ts:427
↓ 3 callersFunctionaddSpan
(name, durMs)
apps/web/public/_worker.js:403
↓ 3 callersFunctionaddUptimeTotals
( target: { total_sec: number; downtime_sec: number; unknown_sec: number; uptime_sec: number }, source: {
apps/worker/src/routes/public.ts:642
↓ 3 callersFunctionappendVaryHeader
(headers: Headers, value: string)
apps/worker/src/fetch-handler.ts:87
↓ 3 callersFunctionappendVaryHeader
(headers, value)
apps/web/public/_worker.js:198
↓ 3 callersFunctionassertMonitorId
(monitorId: number)
apps/worker/src/snapshots/public-monitor-fragments.ts:34
↓ 3 callersFunctionbuildHomepageArtifactMonitorFragmentWrites
( payload: PublicHomepageResponse, updatedAt: number, monitorIds?: Iterable<number>, )
apps/worker/src/snapshots/public-homepage.ts:332
↓ 3 callersFunctionbuildHomepageRenderArtifactFromMonitorFragments
( snapshot: PublicHomepageResponse, rows: readonly PublicSnapshotFragmentRow[], )
apps/worker/src/snapshots/public-homepage.ts:570
↓ 3 callersFunctionbuildMonitorRuntimeUpdateFragmentWrites
( updates: readonly MonitorRuntimeUpdate[], updatedAt: number, )
apps/worker/src/snapshots/public-monitor-fragments.ts:217
↓ 3 callersFunctionbumpHomepageSettingsGuardVersion
(db: D1Database, now?: number)
apps/worker/src/public/homepage-guard-state.ts:373
↓ 3 callersFunctioncanPatchHomepageFromRuntime
(snapshot: PublicHomepageResponse)
apps/worker/src/public/homepage.ts:238
↓ 3 callersFunctioncanPatchStatusFromRuntime
(baseSnapshot: PublicStatusResponse)
apps/worker/src/public/status-refresh.ts:195
↓ 3 callersFunctioncanonicalizeApiPathname
(pathname: string)
apps/worker/src/fetch-handler.ts:49
↓ 3 callersFunctionclampInt
(value: number, min: number, max: number)
apps/web/src/pages/AdminDashboard.tsx:187
↓ 3 callersFunctionclipInterval
(interval: DayInterval, range: DayInterval)
apps/web/src/components/DayDowntimeModal.tsx:71
↓ 3 callersFunctioncomputeHomepageGuardValidUntil
(db: D1Database, now: number)
apps/worker/src/public/homepage-guard-state.ts:297
↓ 3 callersFunctioncomputeRange
(range: UptimeRange)
apps/worker/src/routes/admin-analytics.ts:78
↓ 3 callersFunctioncomputeRange
(range: UptimeRange)
apps/worker/src/routes/admin-exports.ts:13
↓ 3 callersFunctioncreateEnv
(handlers: FakeD1QueryHandler[])
apps/worker/test/scheduler-daily-rollup.test.ts:12
↓ 3 callersFunctioncreateEnv
(handlers: FakeD1QueryHandler[])
apps/worker/test/scheduler-retention.test.ts:16
↓ 3 callersFunctioncreateHomepageSnapshot
(now: number)
apps/worker/test/public-fast-path-guards.test.ts:13
↓ 3 callersFunctioncreateRefreshSnapshotReadContext
( db: D1Database, )
apps/worker/src/snapshots/public-homepage-read.ts:636
↓ 3 callersFunctiondidApplySnapshotWrite
( result: Awaited<ReturnType<D1PreparedStatement['run']>>, )
apps/worker/src/snapshots/public-homepage.ts:1017
↓ 3 callersFunctiondidApplySnapshotWrite
(result: D1Result)
apps/worker/src/internal/sharded-public-snapshot-core.ts:239
↓ 3 callersFunctiondisplayGroupLabel
(groupLabel: string, ungroupedLabel: string)
apps/web/src/pages/AdminDashboard.tsx:198
↓ 3 callersFunctionencryptTelegramBotToken
( adminToken: string, botToken: string, )
apps/worker/src/notify/telegram-token.ts:38
↓ 3 callersFunctionensureMonitorsExist
(db: D1Database, monitorIds: number[])
apps/worker/src/routes/admin.ts:1113
↓ 3 callersFunctionfinalizeInternalCheckBatchResponse
( res: Response, trace: Trace | null, traceMod: typeof import('./observability/trace') | null, info: {
apps/worker/src/index.ts:368
↓ 3 callersFunctionfindGroupSortOrder
( db: D1Database, groupName: string | null, )
apps/worker/src/routes/admin.ts:131
↓ 3 callersMethodfirst
()
apps/worker/test/helpers/fake-d1.ts:94
↓ 3 callersFunctionformatLatency
(v: number | null)
apps/web/src/utils/uptime.ts:122
↓ 3 callersFunctionformatSec
(totalSeconds: number)
apps/web/src/components/DayDowntimeModal.tsx:19
↓ 3 callersFunctionformatSec
(v: number)
apps/web/src/pages/AdminAnalytics.tsx:27
↓ 3 callersFunctionformatTime
(timestamp: number, locale: string)
apps/web/src/components/HeartbeatBar.tsx:178
↓ 3 callersFunctiongetBrowserTimeZone
()
apps/web/src/utils/datetime.ts:4
↓ 3 callersFunctiongetCachedHomepageStatement
( db: D1Database, key: keyof HomepageStatementCache, create: () => D1PreparedStatement, )
apps/worker/src/public/homepage.ts:156
↓ 3 callersFunctiongetHomepageSnapshotMonitorIds
(snapshot: PublicHomepageResponse)
apps/worker/src/public/homepage.ts:198
↓ 3 callersFunctiongetUptimeTier
(uptimePct: number, level: UptimeRatingLevel)
apps/web/src/utils/uptime.ts:50
↓ 3 callersFunctiongetWebhookDispatchModule
()
apps/worker/src/scheduler/notifications.ts:72
↓ 3 callersFunctionhandleError
(err: unknown, c: Context)
apps/worker/src/middleware/errors.ts:45
↓ 3 callersFunctionhasAuthorizationHeaderValue
(req: Request)
apps/worker/src/fetch-handler.ts:160
↓ 3 callersFunctionhasTraceTokenHeaderValue
(req: Request)
apps/worker/src/fetch-handler.ts:165
↓ 3 callersFunctionhomepageFromStatusPayload
( status: PublicStatusResponse, previews: { resolvedIncidentPreview?: IncidentSummary | null; main
apps/worker/src/public/homepage.ts:1497
↓ 3 callersFunctionhomepageMonitor
(id: number)
apps/worker/test/snapshots-public-monitor-fragments.test.ts:106
↓ 3 callersFunctionhomepageSnapshotUpsertStatement
( db: D1Database, key: string, generatedAt: number, bodyJson: string, updatedAt: number, futureCut
apps/worker/src/snapshots/public-homepage.ts:988
↓ 3 callersFunctioninitializeNotifications
()
apps/worker/src/scheduler/scheduled.ts:1869
↓ 3 callersFunctioninstallCacheMock
(store: CacheStore)
apps/worker/test/public-homepage-routes.test.ts:19
↓ 3 callersFunctioninstallCacheMock
(store: CacheStore)
apps/worker/test/public-uptime-routes.test.ts:9
↓ 3 callersFunctionipv4ToInt
(host: string)
apps/worker/src/monitor/targets.ts:31
↓ 3 callersFunctionisGetOnlyPublicApiPath
(pathname)
apps/web/public/_worker.js:117
↓ 3 callersFunctionisNoFakeD1HandlerError
(err: unknown)
apps/worker/src/snapshots/public-homepage-read.ts:130
↓ 3 callersFunctionisValidPort
(n: number)
apps/worker/src/monitor/targets.ts:1
↓ 3 callersFunctionlistActiveWebhookChannels
(db: D1Database)
apps/worker/src/routes/admin.ts:1082
↓ 3 callersFunctionlistMaintenanceWindowMonitorIdsByWindowId
( db: D1Database, windowIds: number[], )
apps/worker/src/public/data.ts:435
↓ 3 callersFunctionlistMonitorRowsByIds
( db: D1Database, ids: number[], )
apps/worker/src/scheduler/scheduled.ts:1038
↓ 3 callersFunctionmaintenanceWindowRowToApi
(row: MaintenanceWindowRow, monitorIds: number[] = [])
apps/worker/src/routes/admin.ts:1288
↓ 3 callersFunctionmakeLargeResponse
()
apps/worker/test/monitor-http.test.ts:200
↓ 3 callersFunctionmarkLeaseLost
(reason: string)
apps/worker/src/scheduler/lease-guard.ts:30
↓ 3 callersFunctionnormalizeApiPathname
(pathname: string)
apps/worker/src/fetch-handler.ts:10
↓ 3 callersFunctionnormalizeHomepageFastGuardString
( value: string | null | undefined, opts: { fallback: string; max: number; allowEmpty?: boolea
apps/worker/src/public/homepage.ts:259
↓ 3 callersFunctionnormalizeHomepagePayloadBodyJsonForKey
( key: SnapshotKey, bodyJson: string, expectedGeneratedAt?: number, )
apps/worker/src/snapshots/public-homepage-read.ts:213
↓ 3 callersFunctionnormalizeInternalFalsy
(value: string | null | undefined)
apps/worker/src/internal/homepage-refresh-core.ts:50
↓ 3 callersFunctionnormalizeLiteralHost
(host: string)
apps/worker/src/monitor/targets.ts:5
↓ 3 callersFunctionnormalizeRuntimeUpdateStatus
( value: MonitorRuntimeUpdate['check_status'] | MonitorRuntimeUpdate['next_status'], )
apps/worker/src/internal/homepage-refresh-core.ts:72
↓ 3 callersFunctionnormalizeSnapshotText
(value: unknown, fallback: string)
apps/worker/src/snapshots/public-homepage.ts:98
↓ 3 callersFunctionnormalizeStatusFastGuardString
( value: string | null | undefined, opts: { fallback: string; max: number; allowEmpty?: boolea
apps/worker/src/public/status-refresh.ts:107
↓ 3 callersFunctionparseEnumSetting
( raw: string | undefined, allowed: readonly T[], )
apps/worker/src/settings.ts:86
↓ 3 callersFunctionparseHeartbeatGapSec
(value: string)
apps/worker/src/public/monitor-runtime.ts:267
↓ 3 callersFunctionparseJsonObject
(text: string)
apps/worker/src/scheduler/scheduled.ts:377
↓ 3 callersFunctionparseMonitorRuntimeUpdateFragmentRows
( rows: readonly PublicSnapshotFragmentRow[], opts: MonitorRuntimeUpdateFragmentReadOptions = {}, )
apps/worker/src/snapshots/public-monitor-fragments.ts:267
↓ 3 callersFunctionparseStringSetting
( raw: string | undefined, opts: { max: number; allowEmpty?: boolean }, )
apps/worker/src/settings.ts:75
↓ 3 callersFunctionpatchSettings
(db: D1Database, patch: SettingsPatchInput)
apps/worker/src/settings.ts:196
↓ 3 callersFunctionpercentileFromSorted
(values: number[], p: number)
apps/web/src/utils/latencyScale.ts:7
↓ 3 callersFunctionputHotPublicCache
( ctx: ExecutionContext, req: Request, origin: string | null, res: Response, )
apps/worker/src/fetch-handler.ts:344
↓ 3 callersFunctionreadCachedHomepageRefreshBaseSnapshot
( db: D1Database, now: number, )
apps/worker/src/snapshots/public-homepage-read.ts:999
↓ 3 callersFunctionreadCachedStatusSnapshotPayloadAnyAge
( db: D1Database, now: number, maxAgeSeconds = MAX_STALE_SECONDS, )
apps/worker/src/snapshots/public-status-read.ts:264
↓ 3 callersFunctionreadEnvSecret
(env: Record<string, unknown>, ref: string)
apps/worker/src/notify/webhook.ts:58
↓ 3 callersFunctionreadGeneratedAtHeader
(res)
apps/web/public/_worker.js:600
↓ 3 callersFunctionreadMonitorRuntimeUpdateFragments
( db: D1Database, opts: MonitorRuntimeUpdateFragmentReadOptions = {}, )
apps/worker/src/snapshots/public-monitor-fragments.ts:670
← previousnext →301–400 of 1,365, ranked by callers