Skip to content

Conversation

@opensearch-trigger-bot
Copy link
Contributor

Backport 0a127da from #1489.

…1489)

Previously, the task state was not updated to a failure state if it was non-empty, even when the state represented an incomplete task (e.g., INIT_TEST). This fix ensures the task state is updated to INIT_TEST_FAILED unless it is already in an ended state (e.g., INACTIVE).

Testing:
- Manual testing verified correct state transitions.

Signed-off-by: Kaituo Li <kaituo@amazon.com>
(cherry picked from commit 0a127da)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Jun 13, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 81.39%. Comparing base (cf5d9ea) to head (b27f188).
Report is 1 commits behind head on 3.1.

Files with missing lines Patch % Lines
...cast/transport/ForecastRunOnceTransportAction.java 0.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##                3.1    #1490      +/-   ##
============================================
- Coverage     81.45%   81.39%   -0.07%     
+ Complexity     5983     5975       -8     
============================================
  Files           536      536              
  Lines         24204    24204              
  Branches       2443     2443              
============================================
- Hits          19716    19701      -15     
- Misses         3278     3290      +12     
- Partials       1210     1213       +3     
Flag Coverage Δ
plugin 81.39% <50.00%> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
.../org/opensearch/forecast/model/ForecastResult.java 77.83% <ø> (ø)
...ava/org/opensearch/timeseries/util/ParseUtils.java 76.37% <100.00%> (ø)
...cast/transport/ForecastRunOnceTransportAction.java 51.97% <0.00%> (ø)

... and 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kaituo kaituo merged commit 6ad1d96 into 3.1 Jun 14, 2025
26 of 42 checks passed
@gaiksaya gaiksaya deleted the backport/backport-1489-to-3.1 branch October 27, 2025 20:46
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.

4 participants