Skip to content

chore(ci): add final_status property on junit XML [APMSP-2610]#178

Merged
cbeauchesne merged 5 commits intomainfrom
cbeauchesne/final_status
Mar 11, 2026
Merged

chore(ci): add final_status property on junit XML [APMSP-2610]#178
cbeauchesne merged 5 commits intomainfrom
cbeauchesne/final_status

Conversation

@cbeauchesne
Copy link
Contributor

@cbeauchesne cbeauchesne commented Mar 9, 2026

What does this PR do?

Add a <property name="dd_tags[test.final_status]" value="pass" /> on every test case reported through junit

Also updated system-tests SHA, the used one was very old, and the support for final_status in system-tests has been introduced recently

Motivation

Some repositories intentionally use mechanisms that ignore test failures (there are valid reasons to still execute those tests behind the scenes).

In these cases, the reported test status cannot be relied upon by Test Optimization to monitor repository health or trigger team notifications.

To ensure a consistent and unified approach, we will instead use final_status — the property specifically designed and used by the Test Optimization integration for this purpose.

how to test it ?

Now more N/A on the last commit on this query

Additional Notes

I'm using the not-that-ideal XSLT here as this change, because it must be done over 17+ repos, and it's a workaround until this gets integrated into a better place, such as datadog-ci or the backend.

We're trying to work with the team on this, please have a look on this RFC for more context.

@cbeauchesne cbeauchesne requested a review from a team as a code owner March 9, 2026 15:33
@cbeauchesne cbeauchesne marked this pull request as draft March 9, 2026 22:41
@cbeauchesne cbeauchesne force-pushed the cbeauchesne/final_status branch from f2464f0 to 01dfca9 Compare March 10, 2026 15:33
@cbeauchesne cbeauchesne marked this pull request as ready for review March 10, 2026 18:04
@cbeauchesne cbeauchesne merged commit e9f42d8 into main Mar 11, 2026
26 checks passed
@cbeauchesne cbeauchesne deleted the cbeauchesne/final_status branch March 11, 2026 14:17
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.

2 participants