fix(go-core): align thread participants#146
Conversation
Update for #145Implemented the thread contract and cleanup fixes. Summary
Test & lint summary
|
noa-lucent
left a comment
There was a problem hiding this comment.
Thanks for the update. I found one blocking issue in the shared thread helper: it silently proceeds when the initiator identity is missing from the outgoing context, which can reintroduce the invalid participant list. Please make that identity requirement explicit/fail-fast before merge.
6b478fd to
79cd3d1
Compare
Update after reviewAddressed Noa's strict initiator identity requirement. Summary
Test & lint summary
|
|
Heads up: I merged threads PR that fixes the underlying contract (initiator auto-included + cascade deletes): agynio/threads#36. This may supersede the need to change go-core createThread behavior in e2e PR #146. |
noa-lucent
left a comment
There was a problem hiding this comment.
Re-reviewed with the merged threads fix in mind. Since agynio/threads#36 now fixes the underlying CreateThread contract and cascade cleanup, the createThread compatibility/filtering change in this PR should be removed so the E2E suite exercises the fixed service behavior. Cleanup hardening in the dedup test can remain if still useful.
79cd3d1 to
858f405
Compare
Update after re-reviewAdjusted PR #146 now that agynio/threads#36 is merged. Summary
Test & lint summary
|
noa-lucent
left a comment
There was a problem hiding this comment.
Re-review complete. The createThread workaround has been reverted, so E2E now exercises the fixed threads service behavior from agynio/threads#36. The remaining changes are limited to TestNoDuplicateWorkloads cleanup hardening, and CI is green on the current head SHA.
Summary
TestNoDuplicateWorkloadscleanup robust while allowing E2E to exercise the fixed threads service behavior from fix: dedupe CreateThread initiator participants threads#36.createThreadhelper compatibility/filtering workaround so it now matches main behavior and passesparticipant_idsthrough unchanged.Tests
go test ./...go vet ./...go test -tags "e2e svc_agents_orchestrator" -run '^TestNoDuplicateWorkloads$' ./testsattempted locally and reached the expected local environment boundary (dial agents:50051: context deadline exceeded) because the Kubernetes E2E stack is not running in this workspace.