Repository navigation
v1.5.0
Changes
- Clock offset (proto v1.5.0). Each heartbeat (
ReportStatus) measures the node's clock against the console'sconsole_time: the offset is the middle of the request's round trip on the node's clock minus the console's time, positive when the node is ahead, off by at most half the round trip; heartbeats slower than 10 s do not measure. The next heartbeat reports it asclock_offset_millis; the console shows it on the node's details and raisesnode_clock_skewfrom its threshold (30 s by default). - Diagnostics socket (
--diag-socket, default/run/edgeweir-node/diag.sock): a unix socket of the agent's user (0600), never TCP, serving the agent's status and the Go runtime's profiles. An empty value turns it off. edgeweir-node diagnose: one line per check (ok,warn,fail,skip) for the identity, the node certificate, the console (an mTLS call with the node's identity), the clock (warnfrom 1 s,failfrom 30 s), the running agent, the configuration and the data plane; exit code 1 on afail,--jsonfor the results and the agent's full status.edgeweir-node pprof PROFILE:profile(CPU,--seconds, at most 120),trace,heap,allocs,goroutine,block,mutexorthreadcreatefrom the running agent, to--outputor a redirected standard output.
With an older console nothing changes: it sends no console_time, so the node reports no offset and diagnose skips the clock check.
Upgrade: use the console's node upgrade, or the install command with --version 1.5.0.
Changelog
- dace490 build(proto): generate from proto/v1.5.0
- 6e1348b build(proto): regenerate for the clock offset and console_time
- 7693bad feat(agent): report the clock offset against console_time; diagnostics socket with status and pprof
- 74a3286 feat(cli): diagnose and pprof; --diag-socket
Verify
cosign verify-blob \
--bundle checksums.txt.sigstore.json \
--certificate-identity-regexp '^https://github\.com/marvinli001/edgeweir-node/\.github/workflows/release\.yml@refs/tags/v' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
checksums.txt
sha256sum --ignore-missing -c checksums.txt
gh attestation verify <artifact> --repo marvinli001/edgeweir-node