MCPcopy Create free account

hub / github.com/GoogleChrome/webstatus.dev / functions

Functions3,123 in github.com/GoogleChrome/webstatus.dev

↓ 344 callersMethodError
()
lib/gcpspanner/searchtypes/features_search_visitor.go:57
↓ 287 callersMethodRun
(ctx context.Context, searchID, query, eventID string, previousStateBytes []byte)
workers/event_producer/pkg/producer/producer.go:31
↓ 149 callersMethodError
()
lib/backendtypes/types.go:89
↓ 138 callersFunctiontestJSONResponse
(statusCode int, body string)
backend/pkg/httpserver/server_test.go:1187
↓ 116 callersFunctiongetFeatureSearchTestFeature
(testFeatureID FeatureSearchTestFeatureID)
lib/gcpspanner/feature_search_test.go:851
↓ 86 callersFunctionrestartDatabaseContainer
(t *testing.T)
lib/gcpspanner/client_test.go:123
↓ 83 callersMethodEqual
(other QueryErrors)
lib/workertypes/comparables/types.go:55
↓ 79 callersMethodQuery
(ctx context.Context, statement spanner.Statement)
lib/gcpspanner/client.go:811
↓ 73 callersFunctionmockAuthMiddleware
(u *auth.User)
backend/pkg/httpserver/middlewares_test.go:151
↓ 71 callersMethodClose
()
lib/gcpgcs/client.go:45
↓ 65 callersFunctionrender
()
frontend/src/static/js/components/webstatus-line-chart-panel.ts:826
↓ 61 callersFunctionwithAuthMiddleware
(middleware func(http.Handler) http.Handler)
backend/pkg/httpserver/server_test.go:1342
↓ 50 callersFunctionnewBaseFeature
(id, name string, status backend.BaselineInfoStatus)
lib/blobtypes/featurelistdiff/v1/comparator_test.go:27
↓ 35 callersMethodget
(ctx context.Context, kind string, filterables ...Filterable)
lib/gds/client.go:163
↓ 35 callersFunctiongotoOverviewPageUrl
(page: Page, url: string)
e2e/tests/utils.ts:124
↓ 32 callersFunctionassertFeatureSearch
( ctx context.Context, t *testing.T, client *Client, args featureSearchArgs, expectedPage *FeatureResultP
lib/gcpspanner/feature_search_test.go:2754
↓ 30 callersFunctionassertUserInCtx
(ctx context.Context, t *testing.T, expectedUser *auth.User)
backend/pkg/httpserver/server_test.go:1685
↓ 30 callersFunctionsetupTestServer
setupTestServer creates a Server instance initialized with safe defaults for testing.
backend/pkg/httpserver/test_utils_test.go:25
↓ 30 callersFunctionwithCustomStorer
Helper options to set specialized mocks if needed in tests
backend/pkg/httpserver/test_utils_test.go:119
↓ 29 callersMethodDo
(req *http.Request)
workers/webhook/pkg/webhook/sender.go:36
↓ 29 callersMethodExecute
TODO: Pass in context to be used by slog.ErrorContext.
lib/gcpspanner/feature_base_query.go:99
↓ 29 callersFunctionNewBackend
NewBackend constructs an adapter for the backend service.
lib/gcpspanner/spanneradapters/backend.go:197
↓ 29 callersFunctionassertTestServerRequest
(t *testing.T, testServer *Server, req *http.Request, expectedResponse *http.Response, options ...testServerO
backend/pkg/httpserver/server_test.go:1354
↓ 29 callersFunctiongetSampleFeatures
()
lib/gcpspanner/web_features_test.go:32
↓ 26 callersMethodCreateNewUserSavedSearch
( ctx context.Context, newSearch gcpspanner.CreateUserSavedSearchRequest)
lib/gcpspanner/spanneradapters/backend.go:130
↓ 26 callersMethodaddFieldError
(field string, err error)
backend/pkg/httpserver/validation.go:21
↓ 25 callersFunctionassertMocksExpectations
(t *testing.T, expectedCallCount, actualCallCount int, methodName string, mockCacher *MockRawBytesDataCacher)
backend/pkg/httpserver/server_test.go:1264
↓ 25 callersFunctiondefaultSorting
()
lib/gcpspanner/feature_search_test.go:800
↓ 25 callersFunctionloginAsUser
( page: Page, username: keyof typeof testUsers, options: {waitFor: 'idle' | 'syncing' | 'error'} = {wait
e2e/tests/utils.ts:193
↓ 23 callersFunctionexpectDualThemeScreenshot
( page: Page, locator: Locator | Page, name: string, options?: Parameters<Locator['screenshot']>[0], )
e2e/tests/utils.ts:37
↓ 23 callersFunctionformatOverviewPageUrl
( location?: {search: string}, overrides: QueryStringOverrides = {}, )
frontend/src/static/js/utils/urls.ts:178
↓ 22 callersMethodCreateNotificationChannel
( ctx context.Context, req gcpspanner.CreateNotificationChannelRequest, )
lib/gcpspanner/spanneradapters/backend.go:175
↓ 22 callersMethodSyncWebFeatures
(ctx context.Context, features []gcpspanner.WebFeature, options ...gcpspanner.SyncWebFeaturesOption)
lib/gcpspanner/spanneradapters/web_features_consumer.go:28
↓ 21 callersMethodupsertWebFeature
(ctx context.Context, feature WebFeature)
lib/gcpspanner/web_features_test.go:61
↓ 20 callersMethodCreateSavedSearchSubscription
( ctx context.Context, req gcpspanner.CreateSavedSearchSubscriptionRequest)
lib/gcpspanner/spanneradapters/backend.go:161
↓ 19 callersFunctionNewQueryTemplate
(in string)
lib/gcpspanner/feature_base_query.go:87
↓ 19 callersMethodcreate
(data: {} | null | undefined)
frontend/src/static/js/utils/vendor-position.ts:79
↓ 19 callersFunctioneditorDialogLocator
(page: Page)
e2e/tests/saved-searches.spec.ts:89
↓ 17 callersMethodParse
(context.Context, io.ReadCloser)
workflows/steps/services/uma_export/workflow/job_processor.go:68
↓ 17 callersMethodhandleResponse
* Type-safe error handler for any API response. * Leverages openapi-fetch result types to ensure data extraction is safe and concise.
frontend/src/static/js/api/client.ts:415
↓ 17 callersMethodrefreshAppBookmarkInfo
()
frontend/src/static/js/services/webstatus-bookmarks-service.ts:569
↓ 17 callersMethodshouldShowCandidate
( candidate: VocabularyItem, prefix: string | null, )
frontend/src/static/js/components/webstatus-typeahead.ts:171
↓ 16 callersMethodgetPanelID
()
frontend/src/static/js/components/test/webstatus-line-chart-panel.test.ts:78
↓ 16 callersFunctiongetSearchQuery
(location: {search: string})
frontend/src/static/js/utils/urls.ts:22
↓ 16 callersFunctionwaitForSidebarLoaded
(page: Page)
e2e/tests/utils.ts:115
↓ 15 callersMethodGetSystemManagedSavedSearchByFeatureID
( ctx context.Context, featureID string, )
lib/gcpspanner/system_managed_saved_searches.go:143
↓ 15 callersMethodSort
Sort orders all slices deterministically by Name (primary) and ID (secondary).
lib/blobtypes/featurelistdiff/v1/types.go:150
↓ 15 callersMethodaddError
(err error)
lib/gcpspanner/searchtypes/features_search_visitor.go:44
↓ 15 callersFunctioncompareFeature
(oldF, newF comparables.Feature)
lib/blobtypes/featurelistdiff/v1/comparator.go:127
↓ 15 callersFunctiontoast
( message: string, variant: SlAlert['variant'] = 'primary', icon: 'info-circle' | 'exclamation-triangle'
frontend/src/static/js/utils/toast.ts:50
↓ 14 callersMethodGet
(ctx context.Context, user string)
lib/gh/client.go:39
↓ 14 callersMethodUpsertWPTRunFeatureMetrics
(ctx context.Context, externalRunID int64, in map[string]gcpspanner.WPTRunFeatureMetric)
lib/gcpspanner/spanneradapters/wpt_consumer.go:36
↓ 14 callersFunctioncreateTestSummary
--- Test Helpers --- createTestSummary returns a populated EventSummary for testing.
workers/push_delivery/pkg/dispatcher/dispatcher_test.go:82
↓ 14 callersFunctiongetPageSizeOrDefault
(pageSize *int)
backend/pkg/httpserver/server.go:218
↓ 14 callersMethodreadRowByKey
( ctx context.Context, key Key, )
lib/gcpspanner/client.go:814
↓ 13 callersMethodGetSavedSearch
(ctx context.Context, id string)
lib/gcpspanner/spanneradapters/backend.go:137
↓ 13 callersFunctionNewMockRawBytesDataCacher
NewMockRawBytesDataCacher creates a new MockRawBytesDataCacher.
backend/pkg/httpserver/cache_test.go:38
↓ 13 callersMethodaddParamGetName
addParamGetName adds a parameter to the map that will be used in the spanner params map. Afterwards, get the name of the parameter. Then increment the
lib/gcpspanner/feature_search_query.go:64
↓ 13 callersFunctionnewTestIncomingWebhookDeliveryJob
(url string, wType workertypes.WebhookType, query string, summary []byte)
workers/webhook/pkg/webhook/mocks_test.go:69
↓ 13 callersFunctionunsetBrowserState
()
lib/blobtypes/featurelistdiff/v1/comparator_test.go:56
↓ 12 callersFunctionCheckAuthenticatedUser
CheckAuthenticatedUser retrieves the authenticated user from the context. If the user is not found, it returns an error response.
backend/pkg/httpserver/middlewares.go:36
↓ 12 callersMethodGetUserSavedSearch
( ctx context.Context, savedSearchID string, authenticatedUserID *string)
lib/gcpspanner/spanneradapters/backend.go:133
↓ 12 callersMethodInsertWPTRun
(ctx context.Context, run gcpspanner.WPTRun)
lib/gcpspanner/spanneradapters/wpt_consumer.go:35
↓ 12 callersFunctiongetDefaultCacheConfig
()
backend/pkg/httpserver/cache_test.go:53
↓ 12 callersFunctiongetQueryParam
* Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wi
frontend/src/static/js/utils/urls.ts:17
↓ 12 callersFunctioninitOperationResponseCaches
initOperationResponseCaches initializes and configures each operationResponseCache instance within the operationResponseCaches struct. While each cach
backend/pkg/httpserver/cache.go:164
↓ 12 callersFunctionrenderBaselineStatus
( feature, routerLocation, _options, )
frontend/src/static/js/components/webstatus-overview-cells.ts:337
↓ 12 callersFunctionsearchOperatorToSpannerBinaryOperator
(in searchtypes.SearchOperator)
lib/gcpspanner/feature_search_query.go:243
↓ 12 callersFunctionsectionBlock
(text string)
workers/webhook/pkg/webhook/slack.go:474
↓ 12 callersMethodtoIsoDate
(date?: Date)
frontend/src/static/js/components/webstatus-form-date-range-picker.ts:92
↓ 11 callersMethodAttemptCache
AttemptCache attempts to cache the given value, associated with the given key, within the underlying RawBytesDataCacher. It marshals both the key and
backend/pkg/httpserver/cache.go:48
↓ 11 callersMethodGetSavedSearchSubscription
(ctx context.Context, subscriptionID string, userID string)
lib/gcpspanner/spanneradapters/backend.go:163
↓ 11 callersMethodInsertBrowserRelease
(ctx context.Context, release gcpspanner.BrowserRelease)
lib/gcpspanner/spanneradapters/bcd_consumer.go:33
↓ 11 callersMethodLookup
Lookup attempts to retrieve a cached value by key. It serializes the key to JSON, fetches the corresponding value from the RawBytesDataCacher, and the
backend/pkg/httpserver/cache.go:83
↓ 11 callersFunctionNewFeatureKeyFilter
(featureKey string)
lib/gcpspanner/get_feature_query.go:23
↓ 11 callersMethodSetFeatureSearchBaseQuery
(query FeatureSearchBaseQuery)
lib/gcpspanner/client.go:253
↓ 11 callersMethodSyncBrowserFeatureAvailabilities
( ctx context.Context, availabilities map[string][]gcpspanner.BrowserFeatureAvailability)
lib/gcpspanner/spanneradapters/web_features_consumer.go:32
↓ 11 callersFunctionbookmarkFilledIconLocator
(page: Page)
e2e/tests/saved-searches.spec.ts:83
↓ 11 callersFunctionbuildSortableOrderClause
(isAscending bool, column FeatureSearchColumn)
lib/gcpspanner/feature_search_query.go:641
↓ 11 callersFunctiongetTestRouteCacheOptions
()
backend/pkg/httpserver/cache_test.go:61
↓ 11 callersMethodtoast
( message: string, variant: SlAlert['variant'] = 'primary', icon: 'info-circle' | 'exclamation-tri
frontend/src/static/js/utils/toast.ts:28
↓ 11 callersFunctionwithCustomCaches
(c *operationResponseCaches)
backend/pkg/httpserver/test_utils_test.go:137
↓ 10 callersMethodPublish
(ctx context.Context, req workertypes.PublishEventRequest)
workers/event_producer/pkg/producer/producer.go:54
↓ 10 callersMethodTable
()
lib/gcpspanner/client.go:449
↓ 10 callersMethodUpsertFeatureDiscouragedDetails
(ctx context.Context, featureID string, in gcpspanner.FeatureDiscouragedDetails)
lib/gcpspanner/spanneradapters/web_features_consumer.go:36
↓ 10 callersFunctionencodeCursor
encodeCursor: Encodes a Cursor into a base64-encoded string. Returns an empty string if is unable to create a token. TODO: Pass in context to be used
lib/gcpspanner/client.go:358
↓ 10 callersFunctionnewBrowserState
--- Test Helpers ---
lib/blobtypes/featurelistdiff/v1/comparator_test.go:422
↓ 10 callersMethodreadRowByKeyWithTransaction
readRowByKey retrieves the row of an entity based on its external key with transaction.
lib/gcpspanner/client.go:825
↓ 9 callersMethodFetch
Fetch performs an HTTP GET request to the configured endpoint. It returns the response body as an io.ReadCloser on success. The caller is responsible
lib/httputils/fetcher.go:91
↓ 9 callersMethodGetSavedSearchState
GetSavedSearchState retrieves the SavedSearchState for the given saved search and snapshot type. If no such row exists, ErrQueryReturnedNoResults is r
lib/gcpspanner/saved_search_state.go:153
↓ 9 callersMethodListMetricsOverTimeWithAggregatedTotals
( ctx context.Context, featureIDs []string, browser string, channel string, metric gcpspanner.WPTMet
lib/gcpspanner/spanneradapters/backend.go:50
↓ 9 callersFunctionPrintNullableField
(in *T)
lib/gcpspanner/feature_search_test.go:2869
↓ 9 callersMethodSelectOne
(Key)
lib/gcpspanner/client.go:464
↓ 9 callersMethodStart
(ctx context.Context, numWorkers int, processor JobProcessor[TJob], jobs []TJob)
lib/workerpool/pool.go:54
↓ 9 callersMethodStoreDailyChromiumHistogramMetrics
(context.Context, metricdatatypes.HistogramName, map[int64]gcpspanner.DailyChromiumHistogramMetric)
lib/gcpspanner/spanneradapters/uma_metric_consumer.go:44
↓ 9 callersMethodSync
Sync reconciles the state of a Spanner table with a provided list of desired entities. It includes detailed logging for each operation for auditing pu
lib/gcpspanner/client.go:1386
↓ 9 callersMethodSyncLatestDailyChromiumHistogramMetrics
(context.Context)
lib/gcpspanner/spanneradapters/uma_metric_consumer.go:47
↓ 9 callersMethodSyncLatestFeatureDeveloperSignals
(ctx context.Context, data []gcpspanner.FeatureDeveloperSignal)
lib/gcpspanner/spanneradapters/developer_signals_consumer.go:40
↓ 9 callersMethodTryAcquireSavedSearchStateWorkerLock
( ctx context.Context, savedSearchID string, snapshotType gcpspanner.SavedSearchSnapshotType, workerID
lib/gcpspanner/spanneradapters/event_producer.go:160
↓ 9 callersFunctionassertSavedSearchName
(t *testing.T, name string, savedSearch UserSavedSearch)
lib/gcpspanner/list_user_saved_searches_test.go:262
next →1–100 of 3,123, ranked by callers