Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
flakiness-go
command
Command flakiness-go is the official Flakiness.io reporter for `go test`.
|
Command flakiness-go is the official Flakiness.io reporter for `go test`. |
|
internal
|
|
|
ci
Package ci detects the URL of the CI job that produced a test run.
|
Package ci detects the URL of the CI job that produced a test run. |
|
config
Package config resolves flakiness-go options with the precedence CLI flag > environment variable > built-in default.
|
Package config resolves flakiness-go options with the precedence CLI flag > environment variable > built-in default. |
|
gitinfo
Package gitinfo provides read-only git lookups used to populate the report's commitId and to normalize file paths against the repository root.
|
Package gitinfo provides read-only git lookups used to populate the report's commitId and to normalize file paths against the repository root. |
|
oidc
Package oidc fetches GitHub Actions OIDC tokens for keyless upload auth.
|
Package oidc fetches GitHub Actions OIDC tokens for keyless upload auth. |
|
runner
Package runner orchestrates a flakiness-go invocation: obtain a `go test -json` stream (by running go test or reading stdin), convert it to a report, enrich it with metadata, write it to disk, and optionally upload it.
|
Package runner orchestrates a flakiness-go invocation: obtain a `go test -json` stream (by running go test or reading stdin), convert it to a report, enrich it with metadata, write it to disk, and optionally upload it. |
|
sources
Package sources embeds source-code excerpts into a report so the Flakiness.io viewer can show context around every referenced location (test definitions, errors, annotations).
|
Package sources embeds source-code excerpts into a report so the Flakiness.io viewer can show context around every referenced location (test definitions, errors, annotations). |
|
telemetry
Package telemetry samples system CPU and RAM utilization during a test run and enriches a report with the collected time series.
|
Package telemetry samples system CPU and RAM utilization during a test run and enriches a report with the collected time series. |
|
upload
Package upload implements the Flakiness.io report upload protocol: start -> PUT report -> (attachments) -> finish.
|
Package upload implements the Flakiness.io report upload protocol: start -> PUT report -> (attachments) -> finish. |
|
Package report defines the Flakiness JSON Report format as Go types.
|
Package report defines the Flakiness JSON Report format as Go types. |
Click to show internal directories.
Click to hide internal directories.