-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[BUG] SFTP: behavior has not changed according to user #15010
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
WalkthroughThis pull request involves version updates for SFTP-related components. Specifically, the version numbers have been incremented for two packages ( Changes
Assessment against linked issues
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
✅ Files skipped from review due to trivial changes (3)
🔇 Additional comments (2)components/sftp/sources/watch-remote-directory/watch-remote-directory.mjs (2)
The minor version increment (0.1.0 → 0.1.1) aligns with the nature of the bug fix and maintains consistency with related package updates.
While the simplified ID generation is more efficient, this change modifies the event ID format which could affect:
Let's verify the usage of these event IDs: For future consideration:
getEventId(event) {
- return createHash("md5")
+ return "v2_" + createHash("sha256")
.update(event.path + event.modifyTime)
.digest("hex");
}✅ Verification successfulEvent ID changes are safe to proceed The simplified event ID implementation is safe because:
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Search for any direct references to or parsing of event IDs
rg -l "getEventId|emit.*id:|id.*:.*digest" --type js --type ts
# Search for potential ID format dependencies
rg -l "\.digest\(.*\)" --type js --type ts
Length of output: 211 Script: #!/bin/bash
# Let's check the actual implementation and usage of getEventId in the file
rg -A 5 -B 5 "getEventId" components/sftp/sources/watch-remote-directory/watch-remote-directory.mjs
# Check if there are any event emitters or consumers in the SFTP component
rg -A 3 "emit\(" components/sftp/sources/watch-remote-directory/watch-remote-directory.mjs
# Check how the event ID is used in deduplication
rg -A 3 "dedup" components/sftp/sources/watch-remote-directory/watch-remote-directory.mjs
Length of output: 1289 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
luancazarine
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jcortes, LGTM! Ready for QA!
WHY
Resolves #15005
Summary by CodeRabbit
New Features
Bug Fixes
Chores
@pipedream/sftpand@pipedream/sftp_password_based_authpackages.