Skip to content

test(cssc): 30926545 add Scenario test for extension, fix style issues (2/n)#25

Merged
cegraybl merged 9 commits into
feature/cssc_extfrom
cegraybl/cssc_30926545_unittest_2
Mar 10, 2025
Merged

test(cssc): 30926545 add Scenario test for extension, fix style issues (2/n)#25
cegraybl merged 9 commits into
feature/cssc_extfrom
cegraybl/cssc_30926545_unittest_2

Conversation

@cegraybl
Copy link
Copy Markdown

@cegraybl cegraybl commented Mar 4, 2025

  • Add ScenarioTest for the extension and the recording
  • Fix remaining style and lint issues
  • Fix README file to reflect basic usage
  • Fix HISTORY and setup.py to have the final release version for private preview

@cegraybl cegraybl force-pushed the cegraybl/cssc_30926545_unittest_2 branch from e892deb to 509c158 Compare March 6, 2025 00:07
@cegraybl cegraybl changed the title test(cssc): 30926545 add unit test for workflow status, fix style issues (2/n) test(cssc): 30926545 add Scenario test for extension, fix style issues (2/n) Mar 7, 2025
@cegraybl cegraybl force-pushed the cegraybl/cssc_30926545_unittest_2 branch from 2ff7690 to 1a5143a Compare March 7, 2025 22:51
@cegraybl cegraybl marked this pull request as ready for review March 7, 2025 22:53
@cegraybl cegraybl requested review from Ruchii-27, Copilot and huanwu March 7, 2025 22:54
Copy link
Copy Markdown

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.

PR Overview

This PR adds a new scenario test for the CSSC extension while addressing remaining style, lint, and versioning issues for a private preview release.

  • Added scenario and unit tests for CSSC functionality
  • Updated parameter handling and user confirmation in delete commands
  • Adjusted version and metadata details in setup.py

Reviewed Changes

File Description
tests/latest/test_cssc_scenario.py Added new scenario test for CSSC workflow
tests/latest/test_cssc.py Added unit tests for CSSC operations
_params.py Updated argument context for delete command with user confirmation flag
tests/latest/test_helper_taskoperations.py Updated test cases to use class-level cmd and registry
setup.py Updated version number and metadata details
cssc.py Added new parameter 'yes' to delete command and updated confirmation call
helper/_ociartifactoperations.py Improved temporary file cleanup check
helper/_workflow_status.py Refactored function signatures and formatting in log polling
helper/_taskoperations.py Removed redundant cmd argument from update functions

Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/acrcssc/azext_acrcssc/helper/_taskoperations.py:135

  • If one task deletion fails, subsequent deletions will be skipped. Consider wrapping each _delete_task call inside its own try/except block to ensure all deletions are attempted.
            # bug: if one of the deletion fails, the others will not be attempted, we need to attempt to delete all of them

Comment thread src/acrcssc/azext_acrcssc/helper/_workflow_status.py
Comment thread src/acrcssc/README.rst Outdated
Comment thread src/acrcssc/README.rst Outdated
@cegraybl cegraybl merged commit 9c7761b into feature/cssc_ext Mar 10, 2025
@cegraybl cegraybl deleted the cegraybl/cssc_30926545_unittest_2 branch April 23, 2025 17:12
cegraybl added a commit that referenced this pull request Apr 23, 2025
…s (2/n) (#25)

- Add ScenarioTest for the extension and the recording
- Fix remaining style and lint issues
- Fix README file to reflect basic usage
- Fix HISTORY and setup.py to have the final release version for private
preview
cegraybl added a commit that referenced this pull request Apr 24, 2025
…s (2/n) (#25)

- Add ScenarioTest for the extension and the recording
- Fix remaining style and lint issues
- Fix README file to reflect basic usage
- Fix HISTORY and setup.py to have the final release version for private
preview
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