agent-orchestrator/packages
Dhruv Sharma cd0b16ca21 fix(scm-github): handle 304 Not Modified in ETag guard catch blocks (B1)
`gh api -i` exits code 1 on HTTP 304 responses, causing the catch blocks
in checkPRListETag and checkCommitStatusETag to assume the resource changed
and trigger unnecessary GraphQL batch queries every poll cycle.

Fix: inspect stdout/stderr in the catch block for the 304 status line before
falling back to "assume changed". Also unifies the 304 detection regex to
handle HTTP/1.1, HTTP/2, and HTTP/2.0 status lines, and adds rateLimit
introspection to the batch GraphQL query.

Benchmark result (quiet-steady, 5 sessions, 15 min):
- GraphQL points/hr: 260/5,000 (5%) — down from 820–1,416 pre-fix
- ETag guard 304 rate: 100%
- GraphQL batch calls during measurement: 0

Also fixes the benchmark harness to create placeholder tmux sessions with a
claude symlink so the lifecycle actually polls sessions instead of
short-circuiting to "killed".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-17 13:22:23 +05:30
..
ao chore: bump all package versions to 0.2.5 (#1190) 2026-04-13 05:47:08 +05:30
cli Merge pull request #1119 from harshitsinghbhandari/feat/1072 2026-04-14 17:26:58 +05:30
core fix(tracer): guard stderr/stdout against undefined, bound operation cardinality 2026-04-16 14:38:41 +05:30
integration-tests Merge pull request #1119 from harshitsinghbhandari/feat/1072 2026-04-14 17:26:58 +05:30
plugins fix(scm-github): handle 304 Not Modified in ETag guard catch blocks (B1) 2026-04-17 13:22:23 +05:30
web Merge pull request #1219 from ComposioHQ/feat/issue-1209 2026-04-14 09:58:40 +05:30