Skip to content

Conversation

tender-barbarian
Copy link

@tender-barbarian tender-barbarian commented Sep 24, 2025

Description

If index has only a single alias that has been rolled over on, copyAlias() throws exception, becuse it tries to call Alias API with empty actions param.

Related Issues

Resolves #1488

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

If index has only a single alias that has been rolled over on, copyAlias() throws exception, becuse it tries to call Alias API with empty actions param.

Signed-off-by: tender_barbarian <[email protected]>
@Hailong-am
Copy link
Collaborator

could you check the ci failure?

@tender-barbarian
Copy link
Author

could you check the ci failure?

Yeah I'm not sure what's that about. Doesn't seem to be related to my change...

@tender-barbarian
Copy link
Author

Indeed looks like main branch pipeline is failing. I've executed a test branch with just a change to readme and it's failing as well: tender-barbarian#1

An upstream issue perhaps?

Copy link

codecov bot commented Sep 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.11%. Comparing base (f67a308) to head (e893a35).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1489      +/-   ##
==========================================
- Coverage   76.22%   76.11%   -0.11%     
==========================================
  Files         375      375              
  Lines       18773    18775       +2     
  Branches     2366     2367       +1     
==========================================
- Hits        14310    14291      -19     
- Misses       3225     3253      +28     
+ Partials     1238     1231       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

[BUG] copyAlias() throws exception

3 participants