Files
deepseek-harness/docs/subsystems/forge.i18n.yaml
T
LegGasai 55c95447b5 feat(forge): read list badges from status briefs and refresh on open
The Session list read the full snapshot of every change request a listed
Session binds: up to 100 check contexts, reviewers, review threads, and
linked issues each, all in one GraphQL document per host. GitHub ends a
request after 10 seconds of processing, so about 30 bound pull requests
made every list read fail. Opening a Session whose change request the
list already watched read nothing until the next regular poll.

The forge registry now watches a change request at two levels. A brief
holds the title, state, draft flag, mergeability, review decision, and
combined check outcome. A watched change request is polled for its
snapshot while it has a snapshot watcher and for its brief otherwise,
with one fetch in flight per forge and level. Providers read briefs
through the optional fetchBriefs; forge-github reads them from scalars
and statusCheckRollup.state, briefBatchSize (50) pull requests per
query.

The Session list watches briefs and names the state it already holds,
so a merged change request is not read again and a list that reopens in
the same process waits for the interval. The Session panel and the
review page ask for a status no older than statusMaxAgeMs (10 seconds)
when they start to show a change request.
2026-11-18 18:46:25 +08:00

38 lines
1.1 KiB
YAML

# Bilingual-pair consistency record for forge.md (docs/i18n/README.md): per heading
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
# After editing either side, bring the other along and re-record with:
# pnpm run verify-translation-pairing --write docs/subsystems/forge.md
/forges:
en: 37c9cbfb3141702b
zh: c5fcbb7f4fda1dbc
/forges/providers-and-change-requests:
en: 8df1bf8a6d294252
zh: 79ba96596739569f
/forges/status-polling:
en: 33640257c4f9197d
zh: b0f435bc3e03cfa4
/forges/change-request-actions:
en: ae735fbdbdf2d870
zh: 9903fcc571104ad8
/forges/review-threads:
en: 6a4162560b1aa158
zh: 5349e9f25d08fd97
/forges/overview-and-viewed-marks:
en: fd5928603c9375b1
zh: e5e32a588a18abae
/forges/viewer-lists-and-descriptions:
en: 05dba49e668fbd82
zh: 7502689f5dd46118
/forges/session-bindings:
en: 74255d6005e1c9e8
zh: 252d0d552f1e26a1
/forges/panel:
en: 83ad892728d13987
zh: d19b012f5898ef07
/forges/panel/review-page:
en: f576f6e104ec9546
zh: b97efdd34b3a9d1b
/forges/extension-api:
en: f35345e482e84f4f
zh: 2ecb7d9498decb31