rbstp opened a new pull request, #8530:
URL: https://github.com/apache/incubator-devlake/pull/8530
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
Thanks for submitting a pull request!
We appreciate you spending the time to work on these changes.
Please fill out as many sections below as possible.
-->
### Summary
Replaces the previous test collection approach with a more reliable
runs-based data collection from the Testmo API.
Backend Changes:
- Replaced test collection with runs collection: Changed from
`/automation/runs/{id}/tests` to `/runs` endpoint
- Updated data models: Renamed `TestmoTest` → `TestmoRun` and removed unused
Key field to match actual API response
- Fixed data extraction issues: Added missing Params in extractor and
improved timestamp handling for NULL values
Dashboard Changes:
- Enhanced Grafana dashboard: Updated all panels to include both automation
runs and test runs data sources
### Does this close any open issues?
--
### Screenshots
<img width="1641" height="958" alt="image"
src="https://github.com/user-attachments/assets/efef363f-334c-44a8-9bf1-12ae910aafa1"
/>
### Other Information
Validated it work with production data in Testmo.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]