-
Notifications
You must be signed in to change notification settings - Fork 4
fix: update functions templates with functions-core 0.2.8 #403
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
|
Git2Gus App is installed but the |
* main: fix: update functions templates with functions-core 0.2.8 (#403) # Conflicts: # package.json # test/commands/run/function/start.test.ts # yarn.lock
|
@joshwlewis Hi! Why was the The commit message gives no reason other than: The shortened path is harder to grep when doing eg GitHub code search, and is inconsistent with all other packages in this project and how people typically use |
|
The commit previous to that failed CI: https://circleci.com/gh/salesforcecli/plugin-functions/8514?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link. There's a check that ensures no file paths are beyond a certain length to prevent compatibility issues on Windows. ¯_(ツ)_/¯ |
|
@edmorley - Here's a related PR in which I shortened the paths in sf-functions-core for the same reason: https://github.com/heroku/sf-functions-core/pull/22 |
In #403 and heroku/sf-functions-core#22 various measures were taken to try and shorten the maximum on-disk filepath of files in the two packages, so as to prevent the CI failures seen in: https://app.circleci.com/pipelines/github/salesforcecli/plugin-functions/2415/workflows/510a1bac-1a64-4a1b-a5a5-e765100b08d2/jobs/8514 One of these measure was to use a package alias of `@hk/functions-core` for the `@heroku/functions-core` package, so the on-disk directory path was 4 characters shorter. However, this change stops Dependabot from working, and looking at recent tarfile verification logs in CI, it appears we might not need to save these four characters any more - since none of the salesforce-core dep paths appear in the "close to the limit" warnings. As such, we can undo this aliasing, to fix Dependabot for this package.
…ency name In #403 and heroku/sf-functions-core#22 various measures were taken to try and shorten the maximum on-disk filepath of files in the two packages, so as to prevent the CI failures seen in: https://app.circleci.com/pipelines/github/salesforcecli/plugin-functions/2415/workflows/510a1bac-1a64-4a1b-a5a5-e765100b08d2/jobs/8514 One of these measure was to use a package alias of `@hk/functions-core` for the `@heroku/functions-core` package, so the on-disk directory path was 4 characters shorter. However, this change stops Dependabot from working, and looking at recent tarfile verification logs in CI, it appears we might not need to save these four characters any more - since none of the salesforce-core dep paths appear in the "close to the limit" warnings. As such, we can undo this aliasing, to fix Dependabot for this package.
…ency name In #403 and heroku/sf-functions-core#22 various measures were taken to try and shorten the maximum on-disk filepath of files in the two packages, so as to prevent the CI failures seen in: https://app.circleci.com/pipelines/github/salesforcecli/plugin-functions/2415/workflows/510a1bac-1a64-4a1b-a5a5-e765100b08d2/jobs/8514 One of these measure was to use a package alias of `@hk/functions-core` for the `@heroku/functions-core` package, so the on-disk directory path was 4 characters shorter. However, this change stops Dependabot from working, and looking at recent tarfile verification logs in CI, it appears we might not need to save these four characters any more - since none of the salesforce-core dep paths appear in the "close to the limit" warnings. As such, we can undo this aliasing, to fix Dependabot for this package. @W-12466399@
…ency name (#595) In #403 and heroku/sf-functions-core#22 various measures were taken to try and shorten the maximum on-disk filepath of files in the two packages, so as to prevent the CI failures seen in: https://app.circleci.com/pipelines/github/salesforcecli/plugin-functions/2415/workflows/510a1bac-1a64-4a1b-a5a5-e765100b08d2/jobs/8514 One of these measure was to use a package alias of `@hk/functions-core` for the `@heroku/functions-core` package, so the on-disk directory path was 4 characters shorter. However, this change stops Dependabot from working, and looking at recent tarfile verification logs in CI, it appears we might not need to save these four characters any more - since none of the salesforce-core dep paths appear in the "close to the limit" warnings. As such, we can undo this aliasing, to fix Dependabot for this package. @W-12466399@
What does this PR do?
Updates
@salesforce/functions-coreto 0.2.8. Which includes some function template updates: https://github.com/heroku/sf-functions-core/pull/46 and https://github.com/heroku/sf-functions-core/pull/43.What issues does this PR fix or reference?
@W-10728914@