agent-orchestrator/packages/plugins
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
..
agent-aider Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
agent-claude-code Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
agent-codex Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
agent-cursor fix: scope node types to node packages 2026-04-13 18:25:21 +05:30
agent-opencode Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
notifier-composio Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
notifier-desktop Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
notifier-discord Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
notifier-openclaw Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
notifier-slack Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
notifier-webhook Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
runtime-process Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
runtime-tmux Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
scm-github fix(scm-github): handle 304 Not Modified in ETag guard catch blocks (B1) 2026-04-17 13:22:23 +05:30
scm-gitlab Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
terminal-iterm2 Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
terminal-web Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
tracker-github feat(core): add opt-in gh CLI tracer and migrate scm/tracker plugins 2026-04-14 20:44:23 +05:30
tracker-gitlab Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
tracker-linear Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
workspace-clone Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30
workspace-worktree Merge pull request #1180 from yyovil/add/type-resolution 2026-04-13 19:56:36 +05:30