Skip to content

fix: repair backends E2E baseline regressions from PR #520 (INT-1254) - #556

Open
AlexanderZ-Band wants to merge 1 commit into
mainfrom
fix/nightly-baseline-capability-matrix-codex-smoke-reg-INT-1254
Open

fix: repair backends E2E baseline regressions from PR #520 (INT-1254)#556
AlexanderZ-Band wants to merge 1 commit into
mainfrom
fix/nightly-baseline-capability-matrix-codex-smoke-reg-INT-1254

Conversation

@AlexanderZ-Band

Copy link
Copy Markdown
Collaborator

Summary

  • CopilotACPAdapter declares SUPPORTED_EMIT = frozenset() by design (ACP tool narration is unconditional, never emit-gated), but the shared memory_features()/contacts_features() capability-matrix fixtures hardcode emit={Emit.TOOL_CALLS} for every adapter. PR feat!: cohesive adapter construction surface (INT-1166) #520 turned an unsupported-emit request from a lazy on_started warning into a construction-time BandConfigError, so every copilot_acp memory/contacts matrix cell now fails at fixture setup.
  • test_codex_thoughts_are_not_placeholders still built its adapter via the retired features=AdapterFeatures(emit={Emit.THOUGHTS}) pattern PR feat!: cohesive adapter construction surface (INT-1166) #520 removed, raising TypeError: SimpleAdapter._resolve_features() got an unexpected keyword argument 'features'.
  • _build_copilot_acp now clamps the requested emit to CopilotACPAdapter.SUPPORTED_EMIT before construction, and the codex smoke uses the direct emit=Emit.THOUGHTS kwarg.

Fixes the 4 nightly baseline failures from run 32443980372 (commit 1ca53ba): test_store_memory_across_memory_adapters[copilot_acp], test_recall_memory_across_memory_adapters[copilot_acp], test_memory_survives_adapter_rehydration[copilot_acp], test_list_contacts_across_contacts_adapters[copilot_acp]; plus test_codex.py::test_codex_thoughts_are_not_placeholders.

Test-only change — src/band untouched; the stricter construction-time validation from PR #520 is correct and stays as-is.

Linear: INT-1254

Test plan

  • uv run ruff check / uv run ruff format --check on changed files
  • uv run pyrefly check — 0 errors
  • uv run pytest tests/ --ignore=tests/integration/ --ignore=tests/e2e/ -q — 4874 passed, 122 skipped
  • Direct construction sanity checks confirming CopilotACPAdapter/CodexAdapter no longer raise BandConfigError/TypeError with the fixed builders
  • Live backends-lane E2E run (BAND_E2E_LANE=backends) to confirm the 5 tests pass against the real platform + Copilot/Codex CLIs (needs live credentials, not run in this session)

🤖 Generated with Claude Code

https://claude.ai/code/session_01JieRNYtYxMPfLkMqHgbXvT

…on (INT-1254)

PR #520 made an unsupported emit kind raise BandConfigError at
construction instead of a lazy on_started warning, surfacing two
latent gaps in the E2E baseline suite.

CopilotACPAdapter declares SUPPORTED_EMIT = frozenset() by design --
its ACP tool narration is unconditional, never emit-gated -- but the
shared memory_features()/contacts_features() matrix fixtures hardcode
emit={Emit.TOOL_CALLS} for every adapter under test. Clamp the
requested emit to CopilotACPAdapter.SUPPORTED_EMIT in its builder so
the fixture's intent (observable tool calls) survives without tripping
the new construction-time check.

test_codex_thoughts_are_not_placeholders still used the retired
features=AdapterFeatures(...) constructor pattern PR #520 removed;
switch it to the direct emit= kwarg.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JieRNYtYxMPfLkMqHgbXvT
@linear-code

linear-code Bot commented Aug 21, 2026

Copy link
Copy Markdown

INT-1254

@AlexanderZ-Band
AlexanderZ-Band requested a review from a team August 21, 2026 07:50
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.

1 participant