Skip to content

Add agent lifecycle XP integration test#426

Open
Vinaystwt wants to merge 1 commit into
Bitcoindefi:mainfrom
Vinaystwt:vinay/e2e-agent-xp-219
Open

Add agent lifecycle XP integration test#426
Vinaystwt wants to merge 1 commit into
Bitcoindefi:mainfrom
Vinaystwt:vinay/e2e-agent-xp-219

Conversation

@Vinaystwt

Copy link
Copy Markdown
Contributor

Summary

Adds an end-to-end lifecycle test covering:

  • agent registration
  • task assignment
  • task completion
  • XP award
  • level progression
  • completed-task tracking

Also fixes a few gaps uncovered by the integration test:

  • reject task assignment for unknown agents
  • award XP when tasks are completed
  • expose XP, level, and completed-task progress from the agent endpoint

Verification

  • focused lifecycle tests passed
  • nearby agent/task suites passed
  • full test suite passed
  • git diff --check passed

@Vinaystwt Vinaystwt force-pushed the vinay/e2e-agent-xp-219 branch from 17d0b77 to 7380800 Compare July 1, 2026 04:22
@sonarqubecloud

sonarqubecloud Bot commented Jul 1, 2026

Copy link
Copy Markdown

@Vinaystwt

Copy link
Copy Markdown
Contributor Author

Pushed the missing route changes that the lifecycle test depends on.

This wires the test through the actual API behavior:

  • agent detail response now includes XP, level, and completed-task progress
  • task completion awards XP
  • task assignment rejects unknown agents with 404

The CI failure was because the test file was pushed without these route updates.

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