MCPcopy Create free account
hub / github.com/coder/coder / Run

Method Run

scaletest/harness/run.go:23–23  ·  view source on GitHub ↗

Run should use the passed context to handle cancellation and deadlines properly, and should only return once the test has been fully completed (no lingering goroutines, unless they are cleaned up by the accompanying cleanup function). The test ID (part after the slash) is passed for identification

(ctx context.Context, id string, logs io.Writer)

Source from the content-addressed store, hash-verified

21 // necessary, and the provided logs write should be used for writing
22 // whatever may be necessary for debugging the test.
23 Run(ctx context.Context, id string, logs io.Writer) error
24}
25
26// Cleanable is an optional extension to Runnable that allows for post-test

Callers 15

TestRecoverFunction · 0.65
TestAPIVersionValidateFunction · 0.65
TestConvertRouterConfigFunction · 0.65
TestConvertDNSConfigFunction · 0.65
TestProcessFreshStateFunction · 0.65
TestProvisionerdFunction · 0.65

Implementers 15

Managercoderd/notifications/manager.go
Executorcoderd/autobuild/lifecycle_executor.go
MetricsAggregatorcoderd/prometheusmetrics/aggregator.go
MetricsCollectorcoderd/prometheusmetrics/insights/metr
pgTxnDrivercoderd/database/migrations/txnmigrator
RegionReportcoderd/healthcheck/derphealth/derp.go
NodeReportcoderd/healthcheck/derphealth/derp.go
testAgentToolcoderd/x/chatd/chatd_internal_test.go
dynamicToolcoderd/x/chatd/dynamictool.go
mcpToolWrappercoderd/x/chatd/mcpclient/mcpclient.go
computerUseToolcoderd/x/chatd/chattool/computeruse.go
askUserQuestionToolcoderd/x/chatd/chattool/askuserquestio

Calls

no outgoing calls

Tested by 15

TestRecoverFunction · 0.52
TestAPIVersionValidateFunction · 0.52
TestConvertRouterConfigFunction · 0.52
TestConvertDNSConfigFunction · 0.52
TestProcessFreshStateFunction · 0.52
TestProvisionerdFunction · 0.52