Skip to content

CLI-1860: Updated response to include download links. - #2028

Draft
vishalkhode1 wants to merge 2 commits into
mainfrom
CLI-1860
Draft

CLI-1860: Updated response to include download links.#2028
vishalkhode1 wants to merge 2 commits into
mainfrom
CLI-1860

Conversation

@vishalkhode1

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

Try the dev build for this PR: https://acquia-cli.s3.amazonaws.com/build/pr/2028/acli.phar

curl -OL https://acquia-cli.s3.amazonaws.com/build/pr/2028/acli.phar
chmod +x acli.phar

@codecov

codecovBot commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.50%. Comparing base (b3ac77e) to head (1227526).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #2028 +/- ##
=========================================
Coverage 92.49% 92.50% - Complexity 1995 2000 +5 
=========================================
Files 123 123 Lines 7238 7246 +8 =========================================
+ Hits 6695 6703 +8 
Misses 543 543 

☔ View full report in Codecov by Harness.
📢 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.

@deepakmishra2deepakmishra2 changed the title CLI-1860: Updated resoponse to include download links.CLI-1860: Updated response to include download links.Jul 24, 2026

@deepakmishra2deepakmishra2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also add test for api:site-instances:database:backups with a _links.download fixture and asserts the download URL is preserved.

$this->assertArrayNotHasKey('_links', $decoded[0]);
$this->assertArrayNotHasKey('_links', $decoded[1]);
$this->assertArrayHasKey('_links', $decoded[0]);
$this->assertEmpty($decoded[0]['_links']);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and once we have the test we can change this assertion to assertArrayNotHasKey('_links', ...) for fixtures without a download key

@acquia-stalebot-platauto

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please remove the stale label to avoid it being closed. Thank you for your contributions. More info: https://github.com/acquia/devops-github-administration/blob/main/docs/operations_related_to_repositories.md#acquia-stale-bot

@acquia-stalebot-platauto

Copy link
Copy Markdown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please remove the stale label to avoid it being closed. Thank you for your contributions. More info: https://github.com/acquia/devops-github-administration/blob/main/docs/operations_related_to_repositories.md#acquia-stale-bot

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@vishalkhode1@deepakmishra2