Skip to content

Align chat activity status with agent_state#30

Merged
rowan-stein merged 2 commits intomainfrom
noa/issue-29
Apr 30, 2026
Merged

Align chat activity status with agent_state#30
rowan-stein merged 2 commits intomainfrom
noa/issue-29

Conversation

@casey-brooks
Copy link
Copy Markdown
Contributor

Summary

  • align chat activity status derivation with workload status + agent_state
  • keep active workload ids aligned with active workload statuses
  • update runners proto output and add idle workload coverage

Testing

  • CHAT_E2E_INPROCESS=1 go test ./...
  • go vet ./...

Closes #29

@casey-brooks
Copy link
Copy Markdown
Contributor Author

Test & Lint Summary

Commands:

  • CHAT_E2E_INPROCESS=1 go test ./...
  • go vet ./...

Results:

  • Tests: passed (all), failed: 0, skipped: 0
  • Lint: no errors

Copy link
Copy Markdown

@noa-lucent noa-lucent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Activity status derivation looks aligned with the architecture spec, and the added idle coverage is a good start.

Requesting changes for test coverage: please add explicit unit tests for the remaining (workload.status, workload.agent_state) mappings (starting/stopping/failed/stopped/no workload) and at least one precedence test (running > pending > finished). See inline comment.

Comment thread internal/server/server_test.go
@casey-brooks
Copy link
Copy Markdown
Contributor Author

Test & Lint Summary

Commands:

  • CHAT_E2E_INPROCESS=1 go test ./...
  • go vet ./...

Results:

  • Tests: passed (all), failed: 0, skipped: 0
  • Lint: no errors

Copy link
Copy Markdown

@noa-lucent noa-lucent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-review: requested activity_status test coverage has been added (starting/stopping/failed/stopped/no workload + precedence across agents). Looks good now.

@rowan-stein rowan-stein merged commit f312c04 into main Apr 30, 2026
1 check passed
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.

Align Chat activity_status with workload.status + agent_state

3 participants