BigFungus
BigFungus
CDCloudflare Developers
Created by BigFungus on 2/11/2025 in #general-help
Versioning and deployment endpoints not working for dispatch namespaces
While not a priority, we would like to eventually have both gradual deployments as well as saving multiple versions of a script in the future
4 replies
CDCloudflare Developers
Created by BigFungus on 2/11/2025 in #general-help
Versioning and deployment endpoints not working for dispatch namespaces
Response to GET /accounts/<account_id>/workers/dispatch/namespaces/<namespace>/scripts/my_script/deployments and GET /accounts/<account_id>/workers/dispatch/namespaces/<namespace>/scripts/my_script/versions are identical and not as expected:
{
"result": {
"dispatch_namespace": "<namespace>",
"created_on": "2025-01-22T09:24:56.551654Z",
"modified_on": "2025-01-22T09:24:56.551654Z",
"script": {
"created_on": "2025-02-10T09:36:32.507089Z",
"modified_on": "2025-02-10T09:37:56.902349Z",
"id": "my_script",
"tag": "<tag>",
"tags": [],
"deployment_id": "<deployment_id>",
"tail_consumers": null,
"logpush": false,
"has_assets": false,
"has_modules": true,
"etag": "26e4b92ff8d6752ef3cc367876c81681ccd76beafcd9a0fb95faa9d0880c27c0",
"handlers": [
"fetch"
],
"last_deployed_from": "api",
"usage_model": "standard"
}
},
"success": true,
"errors": [],
"messages": []
}
{
"result": {
"dispatch_namespace": "<namespace>",
"created_on": "2025-01-22T09:24:56.551654Z",
"modified_on": "2025-01-22T09:24:56.551654Z",
"script": {
"created_on": "2025-02-10T09:36:32.507089Z",
"modified_on": "2025-02-10T09:37:56.902349Z",
"id": "my_script",
"tag": "<tag>",
"tags": [],
"deployment_id": "<deployment_id>",
"tail_consumers": null,
"logpush": false,
"has_assets": false,
"has_modules": true,
"etag": "26e4b92ff8d6752ef3cc367876c81681ccd76beafcd9a0fb95faa9d0880c27c0",
"handlers": [
"fetch"
],
"last_deployed_from": "api",
"usage_model": "standard"
}
},
"success": true,
"errors": [],
"messages": []
}
4 replies
CDCloudflare Developers
Created by BigFungus on 12/13/2023 in #pages-help
Build error with simple ReactJS app on CF Pages
I have not found the root cause of the error but found a workaround: I set the hosting linux server with an earlier version of node 12.18.0 as opposed to node 18.17.1.
2 replies