Introduce test plans for ai#7
Conversation
2efab0f to
62622e9
Compare
PR Summary by QodoBootstrap environment agent docs/test plans and align OpenAPI + generated Go APIs
AI Description
Diagram
High-Level Assessment
Files changed (12)
|
Code Review by Qodo
1. Pagination bounds unenforced
|
62622e9 to
a7239eb
Compare
BDD-driven test plans covering all 120 acceptance criteria from the spec. Unit tests target pure logic (config validation, slot management, deny list LRU, backoff calculation, CloudEvent construction, health state machine). Integration tests cover observable behaviors across all 9 topics and cross-cutting concerns with full AC↔TC traceability matrices. Co-authored-by: Cursor <cursoragent@cursor.com> Signed-off-by: gabriel-farache <gfarache@redhat.com>
…limitation Go's net/http does not provide a mechanism to inject HTTP responses before force-closing connections after shutdown timeout. Change the MUST receive HTTP 503 to MAY receive HTTP 503 or connection reset, reflecting the actual behavior of srv.Close() sending TCP RST. Ref: MF-R1 from review panel (unanimous across 4 models) Decision: DD-110 Assisted by: Claude Code - Opus 4.6 Signed-off-by: gabriel-farache <gfarache@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Update test plan for IT-HTTP-050 to match the spec amendment: verify connection termination after shutdown timeout using raw TCP with partial request body, instead of asserting HTTP 503 which Go stdlib cannot guarantee. Ref: MF-R2 from review panel Assisted by: Claude Code - Opus 4.6 Signed-off-by: gabriel-farache <gfarache@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
297f1c1 to
cff001f
Compare
gciavarrini
left a comment
There was a problem hiding this comment.
These plans are AI-authored for AI consumers so diffiuclt to review for a human. for my comments i used an ai agent to verify if they are complian with the enhancement
Add missing service-type-unavailable CloudEvent (REQ-HMN-145, AC-HMN-085) per enhancement. Amend REQ-RTE-170 and AC-RTE-080 for immediate cancel processing of retry-held requests, aligning with enhancement semantics. Add decision records: - DD-110: deny list consume-on-use and LRU eviction rationale - DD-120: SP registration lease expiry deferred to post-v1alpha1 - DD-130: immediate cancel processing for retry-held requests Signed-off-by: gabriel-farache <gfarache@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
…view Add IT-HMN-135 for service-type-unavailable CloudEvent validation. Add IT-RTE-065 for deletion request queuing when SP is Unhealthy. Amend IT-RTE-120 for immediate cancel handling in retry topic. Update traceability matrix with new AC→TC mappings. Signed-off-by: gabriel-farache <gfarache@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Add missing service-type-unavailable CloudEvent (REQ-HMN-145, AC-HMN-085) per enhancement. Amend REQ-RTE-170 and AC-RTE-080 for immediate cancel processing of retry-held requests, aligning with enhancement semantics. Add decision records: - DD-110: deny list consume-on-use and LRU eviction rationale - DD-120: SP registration lease expiry deferred to post-v1alpha1 - DD-130: immediate cancel processing for retry-held requests Signed-off-by: gabriel-farache <gfarache@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Depends on #2
Summary
Made with Cursor