-
Notifications
You must be signed in to change notification settings - Fork 2
fix(deps): update dependency @adobe/fastly-native-promises to v1.19.6 #97
Conversation
This PR will trigger a patch release when merged. |
Codecov Report
@@ Coverage Diff @@
## main #97 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 60 60
=========================================
Hits 60 60 Continue to review full report at Codecov.
|
@trieloff I don't know why this fails .. when I run the postdeploy locally, it works. |
$ curl "https://adobeioruntime.net/api/v1/web/helix/helix-services/purge@ci577?host=theblog--adobe.hlx.page&xfh=blog.adobe.com&path=/en/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic.html"
[{
"status": "error",
"url": "https://theblog--adobe.hlx.page/en/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic.html"
}, {
"status": "ok",
"url": "https://blog.adobe.com/en/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic.html"
}] |
$ curl -X PURGE "https://theblog--adobe.hlx.page/en/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic.html"
{ "status": "ok", "id": "5521-1611857609-4795673" } |
Maybe it is the missing curl "https://adobeioruntime.net/api/v1/web/helix/helix-services/purge@ci577?host=theblog--adobe.hlx.page&xfh=blog.adobe.com&path=/en/publish/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic.html"
[{
"status": "ok",
"url": "https://theblog--adobe.hlx.page/en/publish/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic.html"
}, {
"status": "ok",
"url": "https://blog.adobe.com/en/publish/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic.html"
}] |
$ curl "https://adobeioruntime.net/api/v1/web/helix/helix-services/purge@ci579?host=theblog--adobe.hlx.page&xfh=blog.adobe.com&path=/en/publish/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic.html"
[{
"status": "error",
"url": "https://theblog--adobe.hlx.page/en/publish/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic.html"
}, {
"status": "ok",
"url": "https://blog.adobe.com/en/publish/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic.html"
}]%
$ curl "https://adobeioruntime.net/api/v1/web/helix/helix-services/purge@ci579?host=theblog--adobe.hlx.page&xfh=blog.adobe.com&path=/en/publish/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic.html"
[{
"status": "ok",
"url": "https://theblog--adobe.hlx.page/en/publish/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic.html"
}, {
"status": "ok",
"url": "https://blog.adobe.com/en/publish/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic.html"
}]%
try enough, and it works. |
The successful and unsuccessful traces on Epsagon look different. It seems that some requests might be cached, so this could be related to the helix-fetch version mismatch. |
Interesting log message:
|
Forcing HTTP1 6730314 makes no difference https://app.circleci.com/pipelines/github/adobe/helix-purge/415/workflows/b0b8810a-4851-4265-8f3b-13d4a5a6077a/jobs/587 |
With added logging (956fee0), two things become visible:
{
"logs": [
"2021-02-01T11:49:59.738Z stderr: [INFO] instrumenting epsagon.",
"2021-02-01T11:49:59.741Z stderr: [INFO] action-status-begin { container: { uuid: 'e53d5bdcb68f684c19e1ec24d780ea93', numInvocations: 2, begin: { mem: 65429504, age: 28020, concurrency: 1 } } }",
"2021-02-01T11:49:59.747Z stderr: [INFO] Purging inner CDN with surrogate key yWVgkTXSpkMMxPok",
"2021-02-01T11:49:59.749Z stdout: making HTTP request https://api.fastly.com/service/1McGRQOYFuABWBHyD8D4Ux/purge {\n method: 'post',\n headers: {\n 'Fastly-Key': 'XXXXXX',\n 'content-type': 'application/json',\n 'Content-Type': 'application/json'\n },\n cache: 'no-store',\n signal: AbortSignal {\n [Symbol(AbortSignal internals)]: { eventEmitter: [EventEmitter], onabort: null, aborted: false }\n },\n body: '{\"surrogate_keys\":[\"yWVgkTXSpkMMxPok\"]}'\n}",
"2021-02-01T11:49:59.771Z stderr: [INFO] Purging https://blog.adobe.com/en/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic.html",
"2021-02-01T11:49:59.787Z stderr: [INFO] Purging https://blog.adobe.com/en/2020/08/14/6-ways-ta-adapt-advance-your-business-during-pandemic",
"2021-02-01T11:49:59.797Z stderr: [INFO] action-status-end { container: { uuid: 'e53d5bdcb68f684c19e1ec24d780ea93', numInvocations: 2, begin: { mem: 65429504, age: 28020, concurrency: 1 }, end: { mem: 65761280, age: 28076, concurrency: 1 }, delta: { mem: 331776, age: 56 } } }"
]
} i.e. the body is clearly there. |
Fastly Support Thread: https://fastly-guests.slack.com/archives/C0145H64N4W/p1612181159011900 |
v1.5.10 is working consistently, since v1.5.11 it's failing occasionally - always the same error. The biggest change: switch to node 12. |
馃帀 This issue has been resolved in version 1.5.13 馃帀 The release is available on:
Your semantic-release bot 馃摝馃殌 |
FWIW: It can't be a cache issue. Only |
This PR contains the following updates:
1.19.5
->1.19.6
Release Notes
adobe/fastly-native-promises
v1.19.6
Compare Source
Bug Fixes
Renovate configuration
馃搮 Schedule: At any time (no schedule defined).
馃殾 Automerge: Enabled.
鈾伙笍 Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
馃敃 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.