shun
shun
CDCloudflare Developers
Created by shun on 12/12/2024 in #workers-help
Unable to delete cache inside caches.default via Queue
I see. Thank you very much. So, in order to delete the cache done in Asia/Tokyo, I have to run it from the region that invokes the worker running in Asia/Tokyo? If so, does that mean that if the cache has already been cached worldwide, we need to do a cache delete for each worker running in each datacenter?
3 replies
CDCloudflare Developers
Created by shun on 12/12/2024 in #workers-help
Unable to delete cache inside caches.default via Queue
By the way, I was able to set up a delete-cache endpoint for WorkersA and delete a specific cache to it. The only difference is the requestor information. Any hints would be appreciated.
3 replies
CDCloudflare Developers
Created by shun on 11/11/2024 in #workers-help
Can i handle cache in dashboard?
@Hello, I’m Allie! Yes, I understand! Thank you for the reply.
3 replies
CDCloudflare Developers
Created by shun on 10/31/2024 in #general-help
I can't open cloudflare dashboard in Google Chrome Browser.
Thank you very much! The system is now restored!
3 replies
CDCloudflare Developers
Created by shun on 10/15/2024 in #workers-help
Workers build unstable?
@Maximo The build has been waiting for a long time. It seems to be waiting for another build, but I don't see any running builds when I visually check. Please check.
15 replies
CDCloudflare Developers
Created by shun on 10/15/2024 in #workers-help
Workers build unstable?
@Maximo Thanks for the reply! Best regards!
15 replies
CDCloudflare Developers
Created by shun on 10/22/2024 in #workers-help
How do you execute D1 migration with Worker Build?
I'm separating workers by env (staging, production, etc..). so arguments in ./misc/scripts/deploy.sh is ok for fixed value.
5 replies
CDCloudflare Developers
Created by shun on 10/22/2024 in #workers-help
How do you execute D1 migration with Worker Build?
My deploy command in Cloudflara Workers Build menu is below. chmod +x ./misc/scripts/deploy.sh && ./misc/scripts/deploy.sh "staging" "my-d1-database-name"
5 replies
CDCloudflare Developers
Created by shun on 10/22/2024 in #workers-help
How do you execute D1 migration with Worker Build?
#!/bin/bash

WORKER_ENV=$1
DATABASE_NAME=$2

chmod +x ./misc/scripts/slack-notification.sh

bunx wrangler d1 migrations apply $DATABASE_NAME --remote
MIGRATION_RESULT=$?
if [ $MIGRATION_RESULT -ne 0 ]; then
./misc/scripts/slack-notification.sh "$WORKER_ENV" "failed"
exit 1
fi

bunx wrangler deploy
DEPLOY_RESULT=$?

if [ $DEPLOY_RESULT -eq 0 ]; then
./misc/scripts/slack-notification.sh "$WORKER_ENV" "success"
else
./misc/scripts/slack-notification.sh "$WORKER_ENV" "failed"
fi
#!/bin/bash

WORKER_ENV=$1
DATABASE_NAME=$2

chmod +x ./misc/scripts/slack-notification.sh

bunx wrangler d1 migrations apply $DATABASE_NAME --remote
MIGRATION_RESULT=$?
if [ $MIGRATION_RESULT -ne 0 ]; then
./misc/scripts/slack-notification.sh "$WORKER_ENV" "failed"
exit 1
fi

bunx wrangler deploy
DEPLOY_RESULT=$?

if [ $DEPLOY_RESULT -eq 0 ]; then
./misc/scripts/slack-notification.sh "$WORKER_ENV" "success"
else
./misc/scripts/slack-notification.sh "$WORKER_ENV" "failed"
fi
5 replies
CDCloudflare Developers
Created by shun on 10/22/2024 in #workers-help
How do you execute D1 migration with Worker Build?
@PatrickJ Yes. I am also able to perform migration by running the following shell.
5 replies
CDCloudflare Developers
Created by shun on 10/15/2024 in #workers-help
Workers build unstable?
@Maximo We are working with Github, but it times out every time, so we would like to get this resolved as soon as possible. Thank you in advance.
15 replies
CDCloudflare Developers
Created by shun on 10/15/2024 in #workers-help
Workers build unstable?
Is my building completed? or failed?
15 replies
CDCloudflare Developers
Created by shun on 10/15/2024 in #workers-help
Workers build unstable?
my deploying (id: daf829b8-99b4-4626-9f67-1c1ce92fba4b) was failed with multiple timeout after build completed...
...
13:50:15.348 ✨ Success! Build completed.
14:09:35.576 Build was timed out
14:09:38.949 Build was timed out
14:09:44.124 Build was timed out
14:09:53.468 Build was timed out
14:10:12.912 Build was timed out
14:10:50.001 Build was timed out
14:11:59.855 Build was timed out
...
13:50:15.348 ✨ Success! Build completed.
14:09:35.576 Build was timed out
14:09:38.949 Build was timed out
14:09:44.124 Build was timed out
14:09:53.468 Build was timed out
14:10:12.912 Build was timed out
14:10:50.001 Build was timed out
14:11:59.855 Build was timed out
15 replies
CDCloudflare Developers
Created by shun on 10/15/2024 in #workers-help
How can I access the encrypted build variables inside the shell?
Yes.
5 replies
CDCloudflare Developers
Created by shun on 10/15/2024 in #workers-help
How can I access the encrypted build variables inside the shell?
@Walshy | Out of office Thanks for the reply. Here is the build ID. 49a5582d-8776-424b-8185-8b62d83bbb44 However, I have created wrangler.toml from template and am running shell. When I try to access the encrypted variables from inside that shell, it comes up empty.
5 replies
CDCloudflare Developers
Created by shun on 10/15/2024 in #workers-help
Workers build unstable?
@Maximo Hi. The build has stopped with the following error.
21:51:10.538 Initializing build environment...
21:51:20.256 Success: Finished initializing build environment
21:51:20.259 Cloning repository...
21:51:21.370 Detected the following tools from environment: [email protected], [email protected]
21:51:21.371 Installing project dependencies: bun install --frozen-lockfile
21:51:21.671 bun install v1.1.28 (cf4e9cb6)
22:11:09.371 Build was timed out
21:51:10.538 Initializing build environment...
21:51:20.256 Success: Finished initializing build environment
21:51:20.259 Cloning repository...
21:51:21.370 Detected the following tools from environment: [email protected], [email protected]
21:51:21.371 Installing project dependencies: bun install --frozen-lockfile
21:51:21.671 bun install v1.1.28 (cf4e9cb6)
22:11:09.371 Build was timed out
deploy code is 2ff2529f-a1fe-47ef-a10c-57942d6d976c
15 replies
CDCloudflare Developers
Created by shun on 10/15/2024 in #workers-help
Workers build unstable?
@Maximo Thank you very much! Best regards!
15 replies
CDCloudflare Developers
Created by Stockton on 4/5/2024 in #workers-help
✘ [ERROR] Failed to register worker in local service registry TypeError: fetch failed
Me too. using wrangler 3.80.4 and Hono.
5 replies