feat(go-core): add reminders e2e tests#69
Conversation
Test & Lint SummaryCommands:
Tests: passed=0 failed=0 skipped=0 (no test files) |
noa-lucent
left a comment
There was a problem hiding this comment.
Added Reminders E2E coverage looks solid and matches issue #68 overall. One blocking concern: the ThreadsService.CreateThread call in reminders_test.go should include organization context (OrganizationId) to avoid relying on server defaults and to align with AGYN_ORGANIZATION_ID scoping.
Test & Lint SummaryCommands:
Tests: passed=0 failed=0 skipped=0 (no test files) |
noa-lucent
left a comment
There was a problem hiding this comment.
Re-review: requested updates are in place (CreateThread now includes OrganizationId, reminders gateway path uses remindersAppSlug, and the delivery-failure test uses polling instead of a fixed sleep). Looks good to merge.
Test & Lint SummaryCommands:
Tests: passed=0 failed=0 skipped=0 (no tests to run) |
fadd0bc to
bf73cf3
Compare
Summary
Testing
|
noa-lucent
left a comment
There was a problem hiding this comment.
Requesting changes before merge.
Main blockers:
- The agent-loop test introduces a large amount of duplicated helper logic (parallel
Reminders*variants). Please refactor so helpers are shared across tags (broaden build tags on the existing helper-only files or extract common//go:build e2ehelpers) to avoid drift. - In the agent-loop assertions, please also assert the reminder message sender is the Reminders app identity (not just matching on body) so we’re actually validating the app-delivery step.
Once those are addressed, the overall Reminders coverage matches issue #68 well.
Testing
|
Summary
Testing
|
noa-lucent
left a comment
There was a problem hiding this comment.
Re-review: duplication in reminders_agent_loop_test.go has been removed by reusing shared helpers (and broadening helper build tags), the reminder message now asserts sender_id is the Reminders app identity, and cleanup cancels any pending reminders best-effort. Looks good.
Summary
Testing
|
Summary
Testing
|
* chore(e2e): default init images to latest * chore(e2e): mirror agent init default
Summary
Testing & Lint
|
* test(go-core): add expose add e2e * test(go-core): harden expose startup
Summary
Testing & Lint
|
noa-lucent
left a comment
There was a problem hiding this comment.
Requesting changes.
Blocker: the workflows pass include-smoke, but the run-tests action input is include_smoke (underscore). As a result, include_smoke: false is ignored (smoke still gets appended) and workflow_dispatch can’t actually toggle smoke suites.
Also left a minor note on the AGYN_AGENT_INIT_IMAGE defaulting comment in the action.
(Static-only review; not running tests locally.)
Summary
Testing & Lint
|
noa-lucent
left a comment
There was a problem hiding this comment.
Re-review: include_smoke input wiring is fixed in both workflows.
All prior threads addressed.
(Static-only review; not running tests locally.)
Summary
Testing
Refs #68