Skip to content

fix(cssc): 31250186 address partial comments in public repo PR 20250415#46

Merged
cegraybl merged 11 commits into
feature/cssc_extfrom
cegraybl/pr_comments_1
Apr 15, 2025
Merged

fix(cssc): 31250186 address partial comments in public repo PR 20250415#46
cegraybl merged 11 commits into
feature/cssc_extfrom
cegraybl/pr_comments_1

Conversation

@cegraybl
Copy link
Copy Markdown

Address a partial list of PR comments on the public PR: Azure#8530
Rest of comments require additional consideration.

@cegraybl cegraybl requested a review from Copilot April 15, 2025 18:48
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.

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

Files not reviewed (3)
  • src/acrcssc/README.rst: Language not supported
  • src/acrcssc/azext_acrcssc/azext_metadata.json: Language not supported
  • src/acrcssc/azext_acrcssc/templates/acrcli/artifact.json: Language not supported
Comments suppressed due to low confidence (3)

src/acrcssc/azext_acrcssc/helper/_workflow_status.py:207

  • [nitpick] Verify that 'repository' and 'patched_tag' are not empty strings in addition to being non-null. If empty strings are valid inputs, consider using an explicit check to avoid unexpected behavior.
if repository and patched_tag:

src/acrcssc/azext_acrcssc/helper/_workflow_status.py:288

  • Ensure that the '_latest_task' function returns exactly two values for proper tuple unpacking. Adjust the return values or unpacking logic if this assumption does not hold.
all_status[image].scan_task, all_status[image].scan_logs = WorkflowTaskStatus._latest_task(...

src/acrcssc/azext_acrcssc/helper/_ociartifactoperations.py:95

  • Ensure that 'oras_client' is defined before reaching the 'finally' block to avoid a potential NameError if an exception occurs prior to its initialization.
if oras_client:

@cegraybl cegraybl merged commit 04ae146 into feature/cssc_ext Apr 15, 2025
Copy link
Copy Markdown

@huanwu huanwu left a comment

Choose a reason for hiding this comment

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

LGTM

@cegraybl cegraybl deleted the cegraybl/pr_comments_1 branch April 23, 2025 17:11
cegraybl added a commit that referenced this pull request Apr 23, 2025
…15 (#46)

Address a partial list of PR comments on the public PR:
Azure#8530
Rest of comments require additional consideration.
cegraybl added a commit that referenced this pull request Apr 24, 2025
…15 (#46)

Address a partial list of PR comments on the public PR:
Azure#8530
Rest of comments require additional consideration.
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.

3 participants