Discover Packages
github.com/Songmu/ghalet
runnerlog
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Oct 21, 2026
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package runnerlog collects, redacts, archives, and expires runner logs.
Archive durably publishes allowed logs, or verifies an already published
archive on retry without reopening its previously synced log files.
Expiration reports an expired archive or a retained invalid archive.
Expire removes only completed archives older than retention. Results collected
before cancellation or an error are returned to the caller.
type Metadata struct {
RunID string `json:"runId"`
TargetID string `json:"targetId"`
Scope string `json:"scope"`
ArchivedAt time .Time `json:"archivedAt"`
}
Metadata identifies a published archive and its retention age.
Output collects complete lines before masking secrets and detecting readiness.
Close flushes a final partial line, syncs the file, and closes it.
NewOutput takes ownership of file. It calls ready, if non-nil, at most once
when a complete, non-omitted line contains the runner readiness message.
Run identifies the execution whose allowed logs will be archived.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.