feat: sync ghbot-Nodeloc v1.2.0 capabilities into upstream
Merges all 33 commits from lza6/ghbot-Nodeloc (v1.0.0 through v1.2.0) while keeping both sides' features in every conflicted file: - EventRouter dispatch extracted from runReview.ts (7.1), with the runtime environment block preserved on the review-start comment - Unified command ack messages (6.3) combined with the collapsed runtime environment block and bot signature on /recheck replies - Status banner and collapsible unposted findings in review bodies (6.1) - Centralized runtime directories behind GHBOT_RUNTIME_DIR (D-13); webhook knowledge cache now lives under tempRootDirectory() - Production hardening for merge races, timeouts, webhook ops; atomic temp-file rename for R2 cache restores kept from upstream - Webhook parity retained: triage events gated by WEBHOOK_TRIAGE_ENABLED, read-only command guidance, repository knowledge injection, runtime environment block on webhook chat replies - Sanitization/secret redaction centralization, error-aware retry, duplicate merge prevention, in-process webhook retries, /metrics - Infra: eslint/prettier gates with CI verify workflow, docs archives typecheck, eslint, prettier format:check, and 164 tests all pass.
This commit is contained in:
commit
9e47ab339e
180 files changed
+15130
-1209
No files matched your search
+8
-1
@@ -1,4 +1,9 @@
|
||||
PORT=3000
|
||||
# Optional structured logging level (trace/debug/info/warn/error/fatal).
|
||||
LOG_LEVEL=info
|
||||
|
||||
# Optional runtime root for writable scratch/cache storage. Empty means the process working directory.
|
||||
GHBOT_RUNTIME_DIR=
|
||||
# Optional in GitHub Actions because github.token is injected automatically.
|
||||
# Still useful for local simulation and as a GitHub App fallback.
|
||||
GITHUB_TOKEN=ghp_your_token_here
|
||||
@@ -30,6 +35,9 @@ GOOSE_THINKING_EFFORT=high
|
||||
# Optional: the pinned goose CLI version, shown in the runtime environment block.
|
||||
# GOOSE_VERSION=v1.46.0
|
||||
|
||||
# Deprecated fallback aliases still accepted by config and workflows:
|
||||
# OPENCODE_API_KEY, OPENCODE_BASE_URL, OPENCODE_MODEL, OPENCODE_REASONING_EFFORT
|
||||
|
||||
# allow | require_approval | reject. Ordinary review notes pass by default.
|
||||
REVIEW_POLICY=allow
|
||||
# normal | strict. Only strict enables the thorough review prompt.
|
||||
@@ -64,4 +72,3 @@ CONFLICT_TEST_COMMAND=
|
||||
MERGE_METHOD=squash
|
||||
REQUIRE_CHECKS=true
|
||||
MAX_PATCH_CHARS=120000
|
||||
LOG_LEVEL=info
|
||||
Reference in new issue
Block a user