-
Couldn't load subscription status.
- Fork 4
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
After test suite source is fetched, we should store and display validations, including among others:
- Whether source contains suites with plugins that have zero tests
- Whether source contains suites with wildcard mode (not handled well by save-cloud currently?)
This includes calculating these validations, storing them in the storage and support them on the frontend
Tasks, as discussed with @nulls:
- Front-end
- Implement the
useEventStream()(SSE, HTTP GET only) anduseNewlineDelimitedJson()React hooks #1810 - Display the current fetch status ("Fetching...", "Completed", "Errors encountered", "Time-out", "Preprocessor unavailable") when (re-)fetching
- Display the last fetch status ("Completed", "Errors encountered") when viewing tests (the Tests tab within an organization), using data from the
tests_source_versionandtests_source_snapshottables.
- Implement the
- Back-end
- TBD
- Preprocessor
- Wrap blocking operations into
blockingToMono {}#1778 - Implement test suite validators on the preprocessor side #1955
- Get rid of type aliases #1956
- Refactor
TestSuitesPreprocessorController#doFetchTests()and the underlying calls- The snapshot should be always saved (
TestPreprocessorToBackendBridge#saveTestsSuiteSourceSnapshot()), even in case of validation errors. This is necessary, so that a malformed snapshot is never re-fetched again. - The
tests_source_snapshottable, along with the corresponding DTO, should be enriched withisSuccessfulanderrorMessagefields -
TestDiscoveringService#detectAndSaveAllTestSuitesAndTests()should perform the following operations, in order:- detect test suites and tests
- validate test suites and tests
- update the saved snapshot with status and error messages, if any
- save test suites and tests, if the validation succeeded
- The snapshot should be always saved (
- Wrap blocking operations into
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
✅ Done