Skip to content

fix: give each baseline provision its own agent name - #808

Open
AlexanderZ-Band wants to merge 1 commit into
mainfrom
fix/unique-baseline-agent-names-INT-1794
Open

AlexanderZ-Band wants to merge 1 commit into
mainfrom
fix/unique-baseline-agent-names-INT-1794

Conversation

@AlexanderZ-Band

Copy link
Copy Markdown
Collaborator

Why

Nightly baseline cells die in setup with HTTP 422 name: ["has already been taken"]. Every cell in a pytest process registers the same e2e-band-{session}-{adapter} name, so a row left behind by an earlier cell blocks the next one. INT-1794.

What

Each provision_agent call draws its own name token. Labels a scenario @mentions stay within the 24-character handle cap; adapter labels take a 32-character token and stay within the platform's 100-character name limit. Test teardown goes through reap_on_exit, which still force-deletes tracked agents when the test raises and skips deletion when BAND_E2E_AUTOCLEAN is false.

Scope

Baseline provisioning only (tests/e2e/baseline and the conformance tests for it). No SDK public API, REST client, or platform change. The orphan sweep stays session-start and age-gated. The six nightly cells in INT-1794 are the acceptance check on the next scheduled run.

Made with Cursor

A session-scoped name made a leftover registration fail later cells with name-taken.

Co-authored-by: Cursor <cursoragent@cursor.com>
@linear-code

linear-code Bot commented Oct 14, 2026

Copy link
Copy Markdown

INT-1794

This branch has not been deployed

No deployments
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