Skip to content

Faster loading of measurement details - #14740

Merged
fniessink merged 1 commit into
masterfrom
14721-test-cases-metric-does-not-give-details-when-using-multiple-sources-with-testresults
Oct 1, 2026
Merged

fniessink merged 1 commit into
masterfrom
14721-test-cases-metric-does-not-give-details-when-using-multiple-sources-with-testresults

Conversation

@fniessink

Copy link
Copy Markdown
Member

Expanding a metric with many measurements, for example a 'test cases' metric with multiple test reports as source, could take a long time or fail with "Loading measurements failed", because the database would scan the measurements of all metrics instead of only those of the expanded metric.

Fixes #14721.

@fniessink
fniessink marked this pull request as draft September 30, 2026 15:41
@fniessink
fniessink force-pushed the 14721-test-cases-metric-does-not-give-details-when-using-multiple-sources-with-testresults branch from c3a2437 to 91ea6b8 Compare September 30, 2026 16:15
Expanding a metric with many measurements, for example a 'test cases' metric with multiple test reports as source, could take a long time or fail with "Loading measurements failed", because the database would scan the measurements of all metrics instead of only those of the expanded metric.

Fixes #14721.
@fniessink
fniessink force-pushed the 14721-test-cases-metric-does-not-give-details-when-using-multiple-sources-with-testresults branch from 91ea6b8 to a48e01e Compare September 30, 2026 16:46
@fniessink
fniessink marked this pull request as ready for review September 30, 2026 16:51
@fniessink
fniessink requested a review from wkoot September 30, 2026 16:51
@sonarqubecloud

Copy link
Copy Markdown

Comment thread components/api_server/src/database/measurements.py
Comment thread components/api_server/src/database/measurements.py
@fniessink
fniessink merged commit 1975b52 into master Oct 1, 2026
35 checks passed
@fniessink
fniessink deleted the 14721-test-cases-metric-does-not-give-details-when-using-multiple-sources-with-testresults branch October 1, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test cases metric does not give details when using multiple sources with testresults

2 participants