-
Notifications
You must be signed in to change notification settings - Fork 3
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
Improve Cloudflare Worker postComment
metadata
#34
Comments
gentlementlegen
changed the title
@whilefoo A thing we could do for Workers is to put the url to the logs, that would look like
Improve Cloudflare Worker Oct 30, 2024
postComment
metadata
/help |
Available Commands
|
Available Commands
|
This was referenced Nov 5, 2024
/start @Keyrxng |
Tip
|
@Keyrxng Tried to start it for you but something didn't go as expected, maybe because you're not part of this repository, please start when you can. |
/start |
Tip
|
Passed the deadline and no activity is detected, removing assignees: @Keyrxng. |
This should be transferred into https://github.com/ubiquity-os/plugin-sdk Also when this is labelled I'm happy to re-sub the PR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://dash.cloudflare.com/${env.CLOUDFLARE_ACCOUNT_ID}/workers/services/view/${env.CLOUDFLARE_WORKER_NAME}/production/observability/logs?granularity=0&time=${timeParam}
However this would require worker deployments to upload these values as they are not accessible through a worker by default. What do you think?
If yes, it should be its own task I believe.
Originally posted by @gentlementlegen in ubiquity-os/ubiquity-os-kernel#169 (comment)
postComment
can post the url for an Action worker, but doesn't not have context for a Worker run. What could be done is adding a url to the dashboard with the time of the run as a filter so that we instantly have the related logs displayed.Code snippet:
This would imply uploading
CLOUDFLARE_ACCOUNT_ID
andCLOUDFLARE_WORKER_NAME
during worker deployment as these values are not available by default.To achieve this, a new reusable GitHub action could be created to avoid having to modify each upload script from every worker plugin. This would greatly benefit all the projects and make deployment simpler.
The text was updated successfully, but these errors were encountered: