shun
shun
CDCloudflare Developers
Created by shun on 1/23/2025 in #workers-help
Why does worker build detect that you are using npm for repositories that use bun?
I didn't have to do anything special to fix it. Originally, bun.lockb was not detected with bun present in the root of the project, but now it is.
6 replies
CDCloudflare Developers
Created by shun on 1/23/2025 in #workers-help
Why does worker build detect that you are using npm for repositories that use bun?
oh.. fixed now ?
6 replies
CDCloudflare Developers
Created by shun on 1/23/2025 in #workers-help
Why does worker build detect that you are using npm for repositories that use bun?
I would like to know what you are looking at to identify the runtime and package manager, is there any documentation?
6 replies
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