-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
feat(core): Remove storeMetadata
and getSize
from binary data manager interface (no-changelog)
#7195
feat(core): Remove storeMetadata
and getSize
from binary data manager interface (no-changelog)
#7195
Conversation
`LogCatch` was merged into master at a different file: `/packages/core/binaryData/index.ts`, which is now at `BinaryData.service.ts`
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.
LGTM.
I fear this part of the code is untested, but it's something we should be tackling maybe as a separate PR, like tech debt. Especially the service should be tested once we settle on how it should look like so we avoid breaking it.
2 flaky tests on run #2258 ↗︎
Details:
12-canvas.cy.ts • 1 flaky test
24-ndv-paired-item.cy.ts • 1 flaky test
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
✅ All Cypress E2E specs passed |
Great PR! Please pay attention to the following items before merging: Files matching
Files matching
Make sure to check off this list before asking for review. |
✅ All Cypress E2E specs passed |
…og) (#7220) Depends on: #7195 | Story: [PAY-837](https://linear.app/n8n/issue/PAY-837/implement-object-store-manager-for-binary-data) This PR includes `workflowId` in binary data writes so that the S3 manager can support this filepath structure `/workflows/{workflowId}/executions/{executionId}/binaryData/{binaryFilename}` to easily delete binary data for workflows. Also all binary data service and manager methods that take `workflowId` and `executionId` are made consistent in arg order. Note: `workflowId` is included in filesystem mode for compatibility with the common interface, but `workflowId` will remain unused by filesystem mode until we decide to restructure how this mode stores data. --------- Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
Got released with |
Depends on: #7164 | Story: PAY-838
This PR removes
storeMetadata
andgetSize
from the binary data manager interface, as these are specific to filesystem mode. Also this disambiguates identifiers:Note: The object store changes originally in this PR were extracted out into the final PR.