Skip to content

v0.20.2: pin SCREENING_SHARD_GROUPS in shard tests#79

Merged
hxddh merged 1 commit into
mainfrom
claude/report-code-content-review-9yv40q
Jul 23, 2026
Merged

v0.20.2: pin SCREENING_SHARD_GROUPS in shard tests#79
hxddh merged 1 commit into
mainfrom
claude/report-code-content-review-9yv40q

Conversation

@hxddh

@hxddh hxddh commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes today's scheduled-run failure (second comment on Issue #76): the run died before the agent started. The workflow's pre-run test suite executes under the CI env, where v0.20.1 set SCREENING_SHARD_GROUPS=2 — and two older shard tests (test_screening_shard_split_by_lane, test_discussion_shard_runs_first) assumed the 4-group split without pinning the variable. Green locally (default 4), red in CI (2), exit 1, no daily produced. My miss in #78: I pinned the env in the new tests but didn't audit the old ones for ambient-env sensitivity.

  • Both tests now pin SCREENING_SHARD_GROUPS explicitly; the discussion-first ordering test asserts it in both group modes (the merged group leads with discussion-official, preserving community framing in dedup).
  • Test-only change; no runner behavior touched.

Validation

  • Suite run under both envs: default (4 groups) and SCREENING_SHARD_GROUPS=2 (CI config) — 259 tests pass in each.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JXjb8D4NrsgUXAvQodQSum


Generated by Claude Code

The 2026-07-23 scheduled run failed before the agent started: the
workflow's pre-run test suite executes under the CI env where
SCREENING_SHARD_GROUPS=2 (v0.20.1), and two older shard tests assumed
the 4-group split without pinning the variable — green locally
(default 4), red in CI, no daily produced.

Both tests now pin the group count explicitly; the discussion-first
ordering test asserts it in both group modes. Test-only change.
Suite verified under both envs (259 pass each).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JXjb8D4NrsgUXAvQodQSum
@hxddh
hxddh merged commit 78627fe into main Jul 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants