a2aproject / a2aproject/a2a-tck
[Bug]: Conflicting compatibility checks
- Vorherrschende Sprache
- Python
- Sterne
- 50
- Forks
- 40
- Ø Merge
- 7 T. 1 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
### What happened?
`test_message_stream_invalid_params` asserts that the response for a request with invalid parameters is a single Json RCP error response object (not a stream)
`test_tasks_resubscribe_nonexistent` asserts that it gets back a stream and that its first result is an error object
IMO (not sure about the spec) these two paths should yield the same type of response. Either a stream with a singular error object, or an error object alone.
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
Beitragsleitfaden
Rechercherichtung
Look at the two failing tests: test_message_stream_invalid_params and test_tasks_resubscribe_nonexistent. Understand the Json RCP spec regarding error responses for invalid parameters versus non-existent tasks. Compare the response types (single error object vs. stream with error) and decide which is correct. Modify the implementation to make both tests pass consistently.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- testing
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100