Skip to content

Fix GCS trailing slash directory checking issue in filesystem wrapper#620

Open
yiyche wants to merge 2 commits into
datacommonsorg:masterfrom
yiyche:feature/gcs-slash-fix
Open

Fix GCS trailing slash directory checking issue in filesystem wrapper#620
yiyche wants to merge 2 commits into
datacommonsorg:masterfrom
yiyche:feature/gcs-slash-fix

Conversation

@yiyche

@yiyche yiyche commented Jul 8, 2026

Copy link
Copy Markdown
Member

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics -5 complexity

Metric Results
Complexity -5

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request modifies simple/util/filesystem.py to skip directory creation and validation checks when working with Google Cloud Storage (GCS) paths, and removes the _fix_gcsfs_storage utility. The feedback suggests using the normalized self.path instead of the raw path parameter when determining the parent directory path to prevent potential path resolution issues.

Comment thread simple/util/filesystem.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
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.

1 participant