Skip to content

Conversation

Wwwsylvia
Copy link
Member

@Wwwsylvia Wwwsylvia commented Aug 21, 2025

What this PR does / why we need it:

This PR removes the [Preview] label on the include-subject flag for the oras pull command. This means to promote this flag from preview level to stable.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #1811

Please check the following list:

  • Does the affected code have corresponding tests, e.g. unit test, E2E test?
  • Does this change require a documentation update?
  • Does this introduce breaking changes that would require an announcement or bumping the major version?
  • Do all new files have an appropriate license header?

Signed-off-by: Lixia (Sylvia) Lei <lixlei@microsoft.com>
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR promotes the --include-subject flag for the oras pull command from preview status to stable by removing the [Preview] label from its help text and associated test expectations.

  • Removes [Preview] label from the --include-subject flag description
  • Updates corresponding end-to-end test to no longer expect the preview marking

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
cmd/oras/root/pull.go Removes [Preview] label from --include-subject flag description
test/e2e/suite/command/pull.go Removes test assertion that checked for preview marking on --include-subject flag

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

codecov bot commented Aug 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.25%. Comparing base (096274d) to head (1b15dde).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1821      +/-   ##
==========================================
- Coverage   85.27%   85.25%   -0.03%     
==========================================
  Files         143      143              
  Lines        6739     6739              
==========================================
- Hits         5747     5745       -2     
- Misses        704      706       +2     
  Partials      288      288              

☔ 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.

@Wwwsylvia Wwwsylvia changed the title chore(ux): remove [Preview] lable on --include-subject for oras pull chore(ux): remove [Preview] label on --include-subject for oras pull Aug 21, 2025
@Wwwsylvia Wwwsylvia changed the title chore(ux): remove [Preview] label on --include-subject for oras pull chore: remove [Preview] label on --include-subject for oras pull Aug 21, 2025
Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM

@Wwwsylvia Wwwsylvia merged commit f23ac77 into oras-project:main Aug 21, 2025
8 checks passed
@Wwwsylvia Wwwsylvia deleted the label_include_subject branch August 21, 2025 07:21
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.

Promote the "--include-subject" flag from Preview to Stable
2 participants