Skip to content

Conversation

@kcantrel
Copy link
Collaborator

No description provided.

@kcantrel kcantrel requested a review from Copilot December 13, 2025 16:58
@github-actions
Copy link
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@kcantrel kcantrel requested a review from nichollri December 13, 2025 16:58
Copy link

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 fixes null handling issues in AWS CLI scripts and API utilities. The primary focus is replacing brittle region extraction logic with the recommended AWS CLI command and handling null values in API responses.

Key changes:

  • Replaces aws configure list | egrep | awk pattern with aws configure get region for more reliable region extraction
  • Adds null-safety check for cloudResourceId in jq query processing
  • Fixes argument handling in run_curl function to prevent shift errors
  • Removes overly strict file system validation that could cause false failures

Reviewed changes

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

Show a summary per file
File Description
list_fsxn_volumes Simplified region extraction and removed strict fileSystemName validation
list_fsxn_svms Simplified region extraction command
list_fsxn_filesystems Simplified region extraction command
delete_fsxn_volume Simplified region extraction command
delete_fsxn_svm Simplified region extraction command
delete_fsxn_filesystem Simplified region extraction command
create_fsxn_volume Simplified region extraction command
create_fsxn_svm Simplified region extraction command
create_fsxn_filesystem Simplified region extraction command
wf_utils Fixed parameter shift logic to handle variable argument counts
list_links Added null check for cloudResourceId before string splitting
link_associate Added explicit content-type parameter to run_curl invocation
.github/CODEOWNERS Added code ownership entries for new/existing directories

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Collaborator

@nichollri nichollri left a comment

Choose a reason for hiding this comment

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

Looks good

@nichollri nichollri merged commit 725a67c into main Dec 15, 2025
14 checks passed
@nichollri nichollri deleted the fix_null_issue branch December 15, 2025 14:42
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