@qwen-code/channel-github 0.27.3 → 0.27.4-nightly.20261116.eb3a599ef3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/GithubAdapter.d.ts +80 -160
- package/dist/GithubAdapter.d.ts.map +1 -1
- package/dist/GithubAdapter.js +680 -1424
- package/dist/GithubAdapter.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -27
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/GithubAdapter.d.ts
CHANGED
|
@@ -9,9 +9,15 @@ interface GithubConfig extends ChannelConfig, RepoFilterConfigFields {
|
|
|
9
9
|
reasonFilter?: unknown;
|
|
10
10
|
useLocalGh?: boolean;
|
|
11
11
|
deliverToBoundSessions?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Configure serve.sessionPrWatch in the daemon. Read as a
|
|
14
|
+
* per-host alias for one minor release.
|
|
15
|
+
*/
|
|
12
16
|
prWatchEvents?: unknown;
|
|
13
|
-
|
|
14
|
-
|
|
17
|
+
/**
|
|
18
|
+
* Instruction templates for bound delivery. `watch:*` keys are deprecated;
|
|
19
|
+
* configure serve.sessionPrWatch.actions for state transitions.
|
|
20
|
+
*/
|
|
15
21
|
boundSessionActions?: unknown;
|
|
16
22
|
requireBoundWatch?: boolean;
|
|
17
23
|
prCommentWatch?: unknown;
|
|
@@ -19,6 +25,13 @@ interface GithubConfig extends ChannelConfig, RepoFilterConfigFields {
|
|
|
19
25
|
interface GithubCursor {
|
|
20
26
|
lastProcessedAt: string;
|
|
21
27
|
metaFloor?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Heartbeat stamped after every successful poll and saved by the base
|
|
30
|
+
* class, independent of watch eligibility. The first poll of a process
|
|
31
|
+
* compares it against now to detect a downtime gap for the comment-backlog
|
|
32
|
+
* digest. Legacy cursors lack it (no digest on the upgrade poll).
|
|
33
|
+
*/
|
|
34
|
+
lastPollAt?: string;
|
|
22
35
|
/**
|
|
23
36
|
* Thread keys (`chatId|threadId`) whose issue/PR body has already been fed as
|
|
24
37
|
* a first-contact trigger. Dedupes body dispatch when a thread is re-fetched
|
|
@@ -75,10 +88,9 @@ export declare const REPO_FILTER_MODES: readonly ["off", "allowlist", "blocklist
|
|
|
75
88
|
*/
|
|
76
89
|
export declare function validateRepoFilterConfig(config: RepoFilterConfigFields, channelName: string): string | undefined;
|
|
77
90
|
/**
|
|
78
|
-
* The prWatchEvents vocabulary, shared by the
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
* editor and normalizePrWatchEvents both lowercase before matching.
|
|
91
|
+
* The prWatchEvents vocabulary, shared by the deprecated alias's option list
|
|
92
|
+
* (built from this constant in index.ts) and the bound-action validator, so
|
|
93
|
+
* the management UI cannot drift from the key vocabulary (R2-18). Lowercase.
|
|
82
94
|
*/
|
|
83
95
|
export declare const PR_WATCH_EVENTS: readonly ["ci_failure", "merge_conflict", "head_change", "state_change"];
|
|
84
96
|
/**
|
|
@@ -88,33 +100,16 @@ export declare const PR_WATCH_EVENTS: readonly ["ci_failure", "merge_conflict",
|
|
|
88
100
|
* the adapter's reasonFilter already enumerates them.
|
|
89
101
|
*/
|
|
90
102
|
export declare const PR_NOTIFICATION_REASONS: readonly ["mention", "review_requested", "assign", "author", "comment", "ci_activity", "manual", "state_change", "subscribed", "team_mention", "security_alert", "approval_requested", "invitation", "member_feature_requested", "security_advisory_credit"];
|
|
91
|
-
/**
|
|
92
|
-
* Default open-PR watch fan-out per poll (~1 pulls.get per watched PR plus
|
|
93
|
-
* conditional Checks fetches; terminal-pending bindings drain in an
|
|
94
|
-
* additional slice of up to 20% outside this budget). Operators with more
|
|
95
|
-
* open bindings raise `prWatchLimit` (and `pollInterval`) deliberately;
|
|
96
|
-
* the watch pass already fails fast on rate limits, so an over-budget
|
|
97
|
-
* configuration degrades instead of hammering the API. Exported for the
|
|
98
|
-
* descriptor so the form bound and the effective bound cannot drift.
|
|
99
|
-
*/
|
|
100
|
-
export declare const DEFAULT_PR_WATCH_LIMIT = 30;
|
|
101
|
-
/** Hard ceiling for the configurable watch fan-out. */
|
|
102
|
-
export declare const MAX_PR_WATCH_LIMIT = 500;
|
|
103
|
-
/**
|
|
104
|
-
* Requests held back for the interactive notification lane. When the last
|
|
105
|
-
* known REST budget is at or below this, the watch pass is skipped for the
|
|
106
|
-
* poll so a human mention is not starved by background PR polling. ~4% of a
|
|
107
|
-
* 5,000/hour classic-PAT budget: enough for several polls of mention traffic
|
|
108
|
-
* while barely trimming a healthy watch. Operators on other scales (GitHub
|
|
109
|
-
* Enterprise, finer-grained tokens) set prWatchBudgetReserve explicitly.
|
|
110
|
-
*/
|
|
111
|
-
export declare const DEFAULT_PR_WATCH_BUDGET_RESERVE = 200;
|
|
112
|
-
/** Hard ceiling for the configurable watch budget reserve. */
|
|
113
|
-
export declare const MAX_PR_WATCH_BUDGET_RESERVE = 5000;
|
|
114
103
|
interface BoundSessionConfigFields {
|
|
115
104
|
deliverToBoundSessions?: unknown;
|
|
105
|
+
/** @deprecated Configure serve.sessionPrWatch in the daemon. */
|
|
116
106
|
prWatchEvents?: unknown;
|
|
107
|
+
/** @deprecated Removed with the adapter's state watch; ignored. */
|
|
117
108
|
prWatchLimit?: unknown;
|
|
109
|
+
/**
|
|
110
|
+
* @deprecated Removed with the adapter's state watch; the budget gate keeps
|
|
111
|
+
* its default reserve.
|
|
112
|
+
*/
|
|
118
113
|
prWatchBudgetReserve?: unknown;
|
|
119
114
|
boundSessionActions?: unknown;
|
|
120
115
|
requireBoundWatch?: unknown;
|
|
@@ -147,19 +142,11 @@ interface PublicationAuditRecord {
|
|
|
147
142
|
bodyChars: number;
|
|
148
143
|
}
|
|
149
144
|
/**
|
|
150
|
-
* Cap on cached conditional responses,
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
* proportionally — each miss evicts the entry the sweep is about to read, so
|
|
154
|
-
* every read of every later pass misses and the saving is exactly zero for
|
|
155
|
-
* the high-fan-out deployments this is meant to help. Derived from the watch
|
|
156
|
-
* limit so the two cannot drift apart.
|
|
157
|
-
*
|
|
158
|
-
* A moved notifications `since` cursor still mints new keys, so the map is
|
|
159
|
-
* bounded and evicts least-recently-used first; an evicted URL simply pays
|
|
160
|
-
* for one full 200 again.
|
|
145
|
+
* Cap on cached conditional responses. 1,000 is the former watch fan-out
|
|
146
|
+
* ceiling doubled; the state watch is gone, but the cache still serves the
|
|
147
|
+
* notification pages and the comment watch's list reads.
|
|
161
148
|
*/
|
|
162
|
-
export declare const CONDITIONAL_CACHE_MAX_ENTRIES
|
|
149
|
+
export declare const CONDITIONAL_CACHE_MAX_ENTRIES = 1000;
|
|
163
150
|
/**
|
|
164
151
|
* Total retained body bytes. The entry and per-body caps only bound the
|
|
165
152
|
* product loosely — a thousand maximum-size bodies would be a quarter of a
|
|
@@ -211,7 +198,6 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
|
|
|
211
198
|
* with deliverToBoundSessions; `prCommentWatch: false` disables it.
|
|
212
199
|
*/
|
|
213
200
|
private prCommentWatchEnabled;
|
|
214
|
-
private prWatchEvents;
|
|
215
201
|
/**
|
|
216
202
|
* Operator instruction templates keyed by the closed bound-action
|
|
217
203
|
* vocabulary. Non-empty switches routing to role-aware fan-out (one
|
|
@@ -228,9 +214,20 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
|
|
|
228
214
|
private boundDeliveredOrder;
|
|
229
215
|
/**
|
|
230
216
|
* An unreadable ring cannot prove a negative: fail CLOSED for the public
|
|
231
|
-
* fallback (suppress it) rather than risk an irreversible duplicate.
|
|
217
|
+
* fallback (suppress it) rather than risk an irreversible duplicate. This
|
|
218
|
+
* verdict is NEVER cleared by a repair: the keys lost with the file stay
|
|
219
|
+
* unknown, so the suppression callers must keep failing closed for them.
|
|
232
220
|
*/
|
|
233
221
|
private boundDeliveredUnreadable;
|
|
222
|
+
/**
|
|
223
|
+
* A successful ring write after a startup-unreadable ring. Lets the digest
|
|
224
|
+
* prove its OWN acceptance from the freshly written key without clearing
|
|
225
|
+
* boundDeliveredUnreadable (which would convert the lost history from
|
|
226
|
+
* "unknown" to "not delivered" and open the public-duplicate window for
|
|
227
|
+
* every pre-corruption event). Suppression stays fail-closed; only the
|
|
228
|
+
* digest's delivered check consults this latch.
|
|
229
|
+
*/
|
|
230
|
+
private boundDeliveredRepaired;
|
|
234
231
|
/**
|
|
235
232
|
* Tasks retired privately during the current runInboundTask call (role
|
|
236
233
|
* lost its match, siblings already delivered, ring suppression). Their
|
|
@@ -251,6 +248,14 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
|
|
|
251
248
|
* gated on this (a partial answer is not an absence).
|
|
252
249
|
*/
|
|
253
250
|
private boundSnapshotTrusted;
|
|
251
|
+
/**
|
|
252
|
+
* One-shot flag set when a downtime gap is detected; it arms the per-entry
|
|
253
|
+
* digestPending flags and clears as soon as it has armed them, so a skipped,
|
|
254
|
+
* aborted or untrusted pass cannot re-arm an entry an earlier pass already
|
|
255
|
+
* drained. The per-entry flags carry the digest for individual PRs across
|
|
256
|
+
* errors, cap exclusion, and restarts.
|
|
257
|
+
*/
|
|
258
|
+
private startupDigestPending;
|
|
254
259
|
/**
|
|
255
260
|
* False until ANY binding snapshot succeeds (complete or partial). The
|
|
256
261
|
* cold-start comment-lane gate uses this, not boundSnapshotTrusted: the
|
|
@@ -307,23 +312,6 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
|
|
|
307
312
|
private gateGraceShouldHold;
|
|
308
313
|
/** Clear any grace for an event that delivered (or is being consumed). */
|
|
309
314
|
private gateGraceClear;
|
|
310
|
-
/**
|
|
311
|
-
* True while the most recent pending-watch reconciliation FAILED (e.g.
|
|
312
|
-
* the watch file is unreadable). Generic recovery must then leave watch
|
|
313
|
-
* tasks alone: delivering and removing an accepted watch task without
|
|
314
|
-
* reconciling its on-disk pending record would let a later drain claim
|
|
315
|
-
* and deliver the same transition a second time. Unrelated comment
|
|
316
|
-
* recovery keeps running.
|
|
317
|
-
*/
|
|
318
|
-
private watchReconcileBlocked;
|
|
319
|
-
/**
|
|
320
|
-
* The cause the blocking watch-guard row last named. The row is
|
|
321
|
-
* edge-triggered per CAUSE, not just per blocked window: a pending backlog
|
|
322
|
-
* that turns into an unreadable sidecar (or back) must re-journal, or the
|
|
323
|
-
* timeline keeps naming a remedy that no longer applies. Cleared on the
|
|
324
|
-
* recovery edge.
|
|
325
|
-
*/
|
|
326
|
-
private watchReconcileBlockedCause;
|
|
327
315
|
/**
|
|
328
316
|
* Last REST budget seen on a SUCCESSFUL response, recorded by the request
|
|
329
317
|
* hook regardless of the call's return shape. Undefined until the first
|
|
@@ -340,9 +328,9 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
|
|
|
340
328
|
private lastRateLimitResetAt;
|
|
341
329
|
/**
|
|
342
330
|
* Whether the watch pass is currently skipped for low budget. Edge-triggered
|
|
343
|
-
* journaling
|
|
344
|
-
*
|
|
345
|
-
*
|
|
331
|
+
* journaling: a permanent low-budget condition is journalled once on the
|
|
332
|
+
* edge, not every poll, so it cannot rotate the useful rows out of the
|
|
333
|
+
* timeline. Cleared on the recovery edge.
|
|
346
334
|
*/
|
|
347
335
|
private watchBudgetLow;
|
|
348
336
|
/**
|
|
@@ -382,16 +370,6 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
|
|
|
382
370
|
private boundSnapshotFailureStreak;
|
|
383
371
|
private prWatchState;
|
|
384
372
|
private prWatchStateLoaded;
|
|
385
|
-
/**
|
|
386
|
-
* Message keys that already have a durable dead-letter record, lazily
|
|
387
|
-
* loaded from the never-rotated dead-letter file on first use and kept
|
|
388
|
-
* current as this process appends. The file is the overflow retire's commit
|
|
389
|
-
* point: a head with a record is never re-appended — even across a restart,
|
|
390
|
-
* which empties this cache and reloads it from disk — and never delivered;
|
|
391
|
-
* the drain completes its retire instead. Watch keys are unique per
|
|
392
|
-
* episode, so a record can only match the same transition.
|
|
393
|
-
*/
|
|
394
|
-
private deadLetteredKeys;
|
|
395
373
|
private inboundRecoveryPending;
|
|
396
374
|
private recoverableInboundTasks;
|
|
397
375
|
/**
|
|
@@ -538,6 +516,7 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
|
|
|
538
516
|
private reactionKey;
|
|
539
517
|
private removeReaction;
|
|
540
518
|
protected pollOnce(): Promise<void>;
|
|
519
|
+
private runPollOnce;
|
|
541
520
|
/**
|
|
542
521
|
* True the first time `key` is seen in the current notification window (it
|
|
543
522
|
* resets when the window is marked read), so a held window that re-reads the
|
|
@@ -631,13 +610,8 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
|
|
|
631
610
|
* deferral horizon, and must not freeze mark-as-read for every unrelated
|
|
632
611
|
* PR the channel follows. This covers both bound deliveries and the
|
|
633
612
|
* targetless deferrals an incomplete binding snapshot produces (no
|
|
634
|
-
* delivery yet, same durable retry).
|
|
635
|
-
*
|
|
636
|
-
* they cannot make progress — and watch events are detected from PR
|
|
637
|
-
* state, not notifications, so holding the cursor for them only stalls
|
|
638
|
-
* unrelated comment traffic until the watch sidecar recovers. Once
|
|
639
|
-
* reconcile succeeds they count again, and their retry budgets guarantee
|
|
640
|
-
* they settle instead of freezing the cursor forever.
|
|
613
|
+
* delivery yet, same durable retry). Every entry here settles through its
|
|
614
|
+
* own retry budget, so it cannot freeze the cursor forever.
|
|
641
615
|
*/
|
|
642
616
|
private hasCursorBlockingTasks;
|
|
643
617
|
/**
|
|
@@ -703,21 +677,6 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
|
|
|
703
677
|
* answer 404). Undefined when the session is not currently listed.
|
|
704
678
|
*/
|
|
705
679
|
private sessionWorkspaceFor;
|
|
706
|
-
/**
|
|
707
|
-
* Whether a message key already has a durable dead-letter record. Loads the
|
|
708
|
-
* never-rotated file's keys once, then serves from the cache this process
|
|
709
|
-
* keeps current on append. A read failure yields an empty cache: nothing is
|
|
710
|
-
* known to be dead-lettered, so the caller appends (a possible duplicate is
|
|
711
|
-
* benign) rather than silently skipping the exhaustion surface.
|
|
712
|
-
*/
|
|
713
|
-
private isDeadLettered;
|
|
714
|
-
/**
|
|
715
|
-
* The overflow retire's journal trace, written only after the retire is
|
|
716
|
-
* durable. Identifiers only — the dead-letter record's `text` (the body)
|
|
717
|
-
* must never be copied here. Carries the frozen target and its workspace so
|
|
718
|
-
* the row links to the session the event lost, even in another workspace.
|
|
719
|
-
*/
|
|
720
|
-
private recordWatchOverflowSkip;
|
|
721
680
|
private removeInboundTask;
|
|
722
681
|
/**
|
|
723
682
|
* The conditional exchange, owned at the transport boundary rather than in
|
|
@@ -882,10 +841,9 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
|
|
|
882
841
|
*/
|
|
883
842
|
private boundFollowersOf;
|
|
884
843
|
/**
|
|
885
|
-
* The event class a bound delivery resolves templates against: the
|
|
886
|
-
*
|
|
887
|
-
*
|
|
888
|
-
* An envelope with neither has no class and resolves through `default`.
|
|
844
|
+
* The event class a bound delivery resolves templates against: the
|
|
845
|
+
* notification trigger reason. An envelope with none has no class and
|
|
846
|
+
* resolves through `default`.
|
|
889
847
|
*/
|
|
890
848
|
private boundEventClass;
|
|
891
849
|
/**
|
|
@@ -893,7 +851,7 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
|
|
|
893
851
|
* aggregate, identified by their dispatchedComments dedupe) fall back to
|
|
894
852
|
* `comment` after the thread's notification reason, so a `fix:comment`
|
|
895
853
|
* template catches a comment delivered under `mention`/`subscribed`/
|
|
896
|
-
* `author` too.
|
|
854
|
+
* `author` too. A direct-event lane has no lane fallback.
|
|
897
855
|
*/
|
|
898
856
|
private boundLaneClass;
|
|
899
857
|
private boundEventKey;
|
|
@@ -1001,53 +959,26 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
|
|
|
1001
959
|
private waivesBoundMention;
|
|
1002
960
|
private buildBoundSessionPrompt;
|
|
1003
961
|
private deliverToBoundSession;
|
|
1004
|
-
private prWatchStatePath;
|
|
1005
|
-
private loadPrWatchState;
|
|
1006
|
-
/**
|
|
1007
|
-
* Whether any persisted watch entry still holds pending events. Keeps
|
|
1008
|
-
* recovery blocked while watch subscriptions are disabled: an accepted
|
|
1009
|
-
* task whose pending record is unreconciled must not be delivered and
|
|
1010
|
-
* removed ahead of a later re-enabled drain. Fail-closed on read errors.
|
|
1011
|
-
*/
|
|
1012
|
-
private hasUnreconciledWatchPending;
|
|
1013
962
|
/**
|
|
1014
|
-
*
|
|
1015
|
-
*
|
|
1016
|
-
*
|
|
963
|
+
* One-time retirement of the adapter's persisted state watch. The watch
|
|
964
|
+
* file stays (the comment cursors and the last title live in it), but the
|
|
965
|
+
* transition baseline and queue are stripped, and persisted `watch:`
|
|
966
|
+
* tasks are retired privately rather than replayed. A sentinel makes the
|
|
967
|
+
* count a once-only line and lets a failed retirement retry instead of
|
|
968
|
+
* being skipped.
|
|
1017
969
|
*/
|
|
1018
|
-
private
|
|
970
|
+
private retireLegacyPrWatchState;
|
|
971
|
+
private prWatchStatePath;
|
|
972
|
+
private loadPrWatchState;
|
|
1019
973
|
private savePrWatchState;
|
|
1020
974
|
/**
|
|
1021
|
-
*
|
|
1022
|
-
*
|
|
1023
|
-
*
|
|
1024
|
-
*
|
|
1025
|
-
*
|
|
1026
|
-
* both records on disk).
|
|
1027
|
-
*/
|
|
1028
|
-
private reconcilePendingWatch;
|
|
1029
|
-
/**
|
|
1030
|
-
* Open-PR watch fan-out per poll (terminal-pending bindings drain in an
|
|
1031
|
-
* additional slice outside it). Clamped like pollInterval: unset or
|
|
1032
|
-
* invalid keeps the default; a fractional count rounds up so the
|
|
1033
|
-
* configured budget is never silently smaller than requested.
|
|
1034
|
-
*/
|
|
1035
|
-
private get prWatchLimit();
|
|
1036
|
-
/**
|
|
1037
|
-
* Requests reserved for the notification lane: at or below this remaining
|
|
1038
|
-
* budget the watch pass yields. Clamped like prWatchLimit; a configured 0
|
|
1039
|
-
* is honoured (disables the gate) so an operator can opt out, while unset
|
|
1040
|
-
* or invalid keeps the default. Rounds up so the reserve is never silently
|
|
1041
|
-
* smaller than requested.
|
|
1042
|
-
*/
|
|
1043
|
-
private get prWatchBudgetReserve();
|
|
1044
|
-
/**
|
|
1045
|
-
* Edge-triggered state watch over the PRs bound to live sessions. Runs
|
|
1046
|
-
* inside the existing poll loop; detection is API-level and costs no model
|
|
1047
|
-
* tokens until a real transition fires.
|
|
975
|
+
* The comment-watch pass over the PRs bound to live sessions. Runs inside
|
|
976
|
+
* the existing poll loop. The state-transition watch that used to share
|
|
977
|
+
* this pass moved to the daemon (master §7), so an empty state
|
|
978
|
+
* subscription no longer skips it: only the comment subscription and the
|
|
979
|
+
* bound-session handle decide.
|
|
1048
980
|
*/
|
|
1049
981
|
private runPrStateWatch;
|
|
1050
|
-
private watchOnePr;
|
|
1051
982
|
/**
|
|
1052
983
|
* Bound PR comment watch (docs/design/2026-11-08-bound-pr-comment-watch.md).
|
|
1053
984
|
* Poll conversation + inline review comments on a bound PR and deliver each
|
|
@@ -1060,27 +991,16 @@ export declare class GithubChannel extends PollingChannelBase<GithubCursor> {
|
|
|
1060
991
|
*
|
|
1061
992
|
* Default-on with deliverToBoundSessions; `prCommentWatch: false` disables
|
|
1062
993
|
* it. Failures are isolated here so they never skip the state transitions.
|
|
994
|
+
*
|
|
995
|
+
* `digestMode` (the persisted per-entry arm set by a detected downtime gap,
|
|
996
|
+
* or a window larger than the per-comment pass cap) renders AT MOST the
|
|
997
|
+
* newest members that fit the shared body budget as ONE private summary
|
|
998
|
+
* prompt; the remainder is named in a front omission notice with its keys
|
|
999
|
+
* unrecorded and the cursor held before the backlog head, so the next pass
|
|
1000
|
+
* digests the remainder. The event class stays `comment`, so role routing is
|
|
1001
|
+
* identical to individual deliveries.
|
|
1063
1002
|
*/
|
|
1064
1003
|
private watchPrComments;
|
|
1065
|
-
/**
|
|
1066
|
-
* Deliver queued watch events. Order per event: claim the inbound task
|
|
1067
|
-
* (durable), move the key from pending to fired (durable), then run the
|
|
1068
|
-
* task. A crash at any point leaves either a pending event or a claimed
|
|
1069
|
-
* task for the next poll / recovery, and the fired ring prevents a second
|
|
1070
|
-
* delivery of the same transition.
|
|
1071
|
-
*/
|
|
1072
|
-
private drainPendingWatch;
|
|
1073
|
-
/**
|
|
1074
|
-
* Role-aware watch drain: one durable task per (event, matched role
|
|
1075
|
-
* winner). The event leaves `pending` for `fired` only after EVERY
|
|
1076
|
-
* matched target is claimed, so a crash mid-fan-out re-claims exactly the
|
|
1077
|
-
* missing targets (claimInboundTask reuses an existing (event, target)
|
|
1078
|
-
* task). Ordering is per (PR, target): a target with an unsettled
|
|
1079
|
-
* predecessor waits while the event's other targets drain — one stuck
|
|
1080
|
-
* role never head-of-line-blocks another.
|
|
1081
|
-
*/
|
|
1082
|
-
private drainPendingWatchRoleAware;
|
|
1083
|
-
private fetchCiAggregate;
|
|
1084
1004
|
private markNotificationsAsRead;
|
|
1085
1005
|
private postErrorComment;
|
|
1086
1006
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GithubAdapter.d.ts","sourceRoot":"","sources":["../src/GithubAdapter.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAGV,kBAAkB,EAClB,kBAAkB,EAClB,aAAa,EACb,yBAAyB,EAK1B,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAYL,kBAAkB,EAQnB,MAAM,yBAAyB,CAAC;AAIjC,UAAU,sBAAsB;IAC9B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,YAAa,SAAQ,aAAa,EAAE,sBAAsB;IAClE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,oBAAoB,CA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