mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-30 11:53:55 +01:00
Clearer errors for GitHub email-privacy pushes, approval refusals and bisect case names (#4748)
/ship now tells you to fix your commit email when GitHub refuses a push with GH007, instead of sending you into a pointless merge; `gstack-approvals` says which `--owner-ref` check failed; and the merge queue's bisect accepts a red judge case whose name has a space. Why: three small, plainly correct fixes from outside reports (#4738, #4718 with #4720, #4724 for #3580), taken as one batch. Nothing to do. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> Co-authored-by: Barack-zero-to-one <121355791+Barack-zero-to-one@users.noreply.github.com> Review-Finding: p1/outside-voice#1 reader=outside-voice Review-Finding: p1/outside-voice#2 reader=outside-voice Review-Finding: p1/adversarial-native#1 reader=adversarial-native Review-Finding: p1/adversarial-native#3 reader=adversarial-native Review-Finding: p1/specialist-batched#1 reader=testing
This commit is contained in:
14 files changed
+174
-21
No files matched your search
@@ -29,7 +29,7 @@ import { normalizeLockfile } from '../../lib/evidence-bundle';
|
||||
import { stampMentions, rewriteStamps, versionAtRef } from '../../lib/restamp';
|
||||
import { loadPolicyFromHead, matchesAny, type ShipPolicy } from '../../lib/ship-policy';
|
||||
import type { BisectPrefixRecord, TrainGateRecord } from '../lib/ship-queue-train-verdict';
|
||||
import type { CasePanel } from '../lib/ship-queue-train-record';
|
||||
import { CASE_ID, type CasePanel } from '../lib/ship-queue-train-record';
|
||||
import { E2E_TIERS, LLM_JUDGE_TOUCHFILES } from '../../test/helpers/touchfiles-data';
|
||||
import { panelVerdict } from '../../test/helpers/eval-store';
|
||||
import { UNRECORDED_SHARD_MS, nonceScope, plannedSerialMs } from '../../scripts/eval-bg';
|
||||
@@ -41,7 +41,6 @@ import { paidSelectionEnv } from '../../scripts/lib/paid-select';
|
||||
import { ROOT } from '../../scripts/lib/paid-types';
|
||||
|
||||
const SHA = /^[0-9a-f]{40}$/;
|
||||
const CASE_ID = /^[A-Za-z0-9 _.:/-]{1,128}$/;
|
||||
export const JUDGE_FILE = 'test/skill-llm-eval.test.ts';
|
||||
/** T1 caps a train at 6 PRs, so a bisect has at most 7 prefixes (T0..T6). */
|
||||
export const MAX_PREFIXES = 7;
|
||||
|
||||
Reference in new issue
Block a user