detached f5fe69a

docs(proto): send mirror_failed once per incident, not on failing to paused

commit
f5fe69a9987855bd37bc29e02ba938c76e439636
author
brice · · 2026-10-20 06:06 UTC
committer
brice · · 2026-10-20 07:06 UTC
parent
6cfb42d
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
3 files · +7 -5
M docs/services.md +1 -1
@@ -45,7 +45,7 @@ and sync with `force` to recover from authentication failures. Configuration can
4545 be saved without `ERMITE_SECRETS_KEY`, but pushes cannot run without it.
4646
4747 `EventService.Watch` adds `mirror_failed` (field 23, `MirrorFailed`) when a mirror
48-enters failing or paused, including failing to paused, and `mirror_recovered`
48+starts failing (ok or disabled to failing or paused, once per incident), and `mirror_recovered`
4949 (field 24, `MirrorRecovered`) when a failing or paused mirror succeeds again.
5050 These are transition events, not events for every attempt. They are delivered on
5151 `repo:<name>` and `home`, subject to repository visibility. Neither event carries
@@ -45,7 +45,7 @@ and sync with `force` to recover from authentication failures. Configuration can
45 be saved without `ERMITE_SECRETS_KEY`, but pushes cannot run without it.45 be saved without `ERMITE_SECRETS_KEY`, but pushes cannot run without it.
46 46
47 `EventService.Watch` adds `mirror_failed` (field 23, `MirrorFailed`) when a mirror47 `EventService.Watch` adds `mirror_failed` (field 23, `MirrorFailed`) when a mirror
48-enters failing or paused, including failing to paused, and `mirror_recovered`48+starts failing (ok or disabled to failing or paused, once per incident), and `mirror_recovered`
49 (field 24, `MirrorRecovered`) when a failing or paused mirror succeeds again.49 (field 24, `MirrorRecovered`) when a failing or paused mirror succeeds again.
50 These are transition events, not events for every attempt. They are delivered on50 These are transition events, not events for every attempt. They are delivered on
51 `repo:<name>` and `home`, subject to repository visibility. Neither event carries51 `repo:<name>` and `home`, subject to repository visibility. Neither event carries
M gen/ermite/event.pb.go +3 -2 generated file: collapsed
M proto/ermite/event.proto +3 -2
@@ -312,8 +312,9 @@ message JobUpdated {
312312 RunJob job = 1;
313313 }
314314
315-// MirrorFailed reports a transition into failing or paused, including failing
316-// to paused, not every failed attempt. Servers with feature "mirror" deliver it
315+// MirrorFailed reports the start of a failure incident: a transition from ok
316+// or disabled into failing or paused. It is sent once per incident, not for
317+// each failed attempt nor for failing to paused. Servers with feature "mirror" deliver it
317318 // on "repo:<name>" and "home", subject to repository visibility. It carries no
318319 // URL or error detail.
319320 message MirrorFailed {
@@ -312,8 +312,9 @@ message JobUpdated {
312 RunJob job = 1;312 RunJob job = 1;
313 }313 }
314 314
315-// MirrorFailed reports a transition into failing or paused, including failing315+// MirrorFailed reports the start of a failure incident: a transition from ok
316-// to paused, not every failed attempt. Servers with feature "mirror" deliver it316+// or disabled into failing or paused. It is sent once per incident, not for
317+// each failed attempt nor for failing to paused. Servers with feature "mirror" deliver it
317 // on "repo:<name>" and "home", subject to repository visibility. It carries no318 // on "repo:<name>" and "home", subject to repository visibility. It carries no
318 // URL or error detail.319 // URL or error detail.
319 message MirrorFailed {320 message MirrorFailed {

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 2

Tags 18

↑↓ moveenter openesc close