Skip to content
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

Interactive setup #171

Open
whilefoo opened this issue Oct 27, 2024 · 22 comments
Open

Interactive setup #171

whilefoo opened this issue Oct 27, 2024 · 22 comments

Comments

@whilefoo
Copy link
Contributor

The goal of this task is to simplify developer experience when setting up the kernel.
To do this we need to create an interactive CLI tool that will help with setting up the Github App and preparing Cloudflare for deployment of the kernel

This setup tool should be inspired by Probot's setup flow

1. Setup Cloudflare and Wrangler

  • Make the user login with Wrangler
  • Create a KV namespace and put the ID in wrangler.toml (we already have a script that can be used and/or modified)

2. GitHub App Setup Automation

This can be done with Github App Manifest

  • Automate creation of a GitHub App
  • Subscribe to all required GitHub events
  • Set necessary permissions for the App
  • Convert the private key to PKCS#8
  • Populate App ID, private key and webhook secret into .dev.vars file and in Cloudflare Worker secrets.

Additionally we can make an option in the SDK to disable signature verification in order to ease the development of new plugins.

@0x4007
Copy link
Member

0x4007 commented Oct 27, 2024

Time estimate please

@whilefoo
Copy link
Contributor Author

I think a week would be fine

@zugdev
Copy link

zugdev commented Nov 1, 2024

@vichydra 👀

Copy link

! Error: HttpError: Resource not accessible by integration - https://docs.github.com/rest/issues/comments#create-an-issue-comment

@hhio618
Copy link

hhio618 commented Nov 2, 2024

/start

Copy link

Deadline Sat, Nov 9, 3:25 PM UTC
Beneficiary 0x6321286F9B73f427C72e1f9F1bC6b3d25eF06605

Tip

  • Use /wallet 0x0000...0000 if you want to update your registered payment wallet address.
  • Be sure to open a draft pull request as soon as possible to communicate updates on your progress.
  • Be sure to provide timely updates to us when requested, or you will be automatically unassigned from the task.

Copy link

Passed the deadline and no activity is detected, removing assignees: @hhio618.

@vichydra
Copy link

vichydra commented Nov 3, 2024

/start

@0x4007
Copy link
Member

0x4007 commented Nov 3, 2024

/start

This again @gentlementlegen 👀

Copy link

@vichydra the deadline is at Sun, Nov 10, 4:20 PM UTC

Copy link

A new workroom has been created for this task. Join chat

Copy link

Passed the deadline and no activity is detected, removing assignees: @vichydra.

@Keyrxng
Copy link
Member

Keyrxng commented Nov 5, 2024

@0x4007 You can check the logs: https://dash.cloudflare.com/5c0228bee348f4cf48829ffe21b61fe9/workers/services/view/ubiquity-os-kernel-development/production/observability/logs?granularity=0&time=%7B%22type%22%3A%22absolute%22%2C%22to%22%3A1730648160000%2C%22from%22%3A1730648040000%7D

The fetch hung and failed from Cloudflare when invoking the plugin.

Tail workers seem like a solid solution to this sort of thing.

One worker to catch all exceptions in other workers; it could then ping via TG the exception that happened, where, when, who and how straight into a private chat filled with proactive trusted contributors.

Requires a paid plan, something we have avoided but eventually we are going to have to bite that bullet I think.

@0x4007
Copy link
Member

0x4007 commented Nov 5, 2024

@0x4007 You can check the logs: https://dash.cloudflare.com/5c0228bee348f4cf48829ffe21b61fe9/workers/services/view/ubiquity-os-kernel-development/production/observability/logs?granularity=0&time=%7B%22type%22%3A%22absolute%22%2C%22to%22%3A1730648160000%2C%22from%22%3A1730648040000%7D

The fetch hung and failed from Cloudflare when invoking the plugin.

It's too tedious to do from mobile unfortunately

@whilefoo
Copy link
Contributor Author

whilefoo commented Nov 8, 2024

/start

Copy link

Deadline Fri, Nov 15, 9:18 PM UTC
Beneficiary 0xA0B11F474d8ECE1205d38c66d5F2bE8917675d60

Tip

  • Use /wallet 0x0000...0000 if you want to update your registered payment wallet address.
  • Be sure to open a draft pull request as soon as possible to communicate updates on your progress.
  • Be sure to provide timely updates to us when requested, or you will be automatically unassigned from the task.

@ariesgun
Copy link

ariesgun commented Nov 8, 2024

/start

Copy link

! This issue is already assigned. Please choose another unassigned task.

Copy link

Passed the deadline and no activity is detected, removing assignees: @whilefoo.

@zugdev
Copy link

zugdev commented Nov 10, 2024

@whilefoo can I start on this one?

@whilefoo
Copy link
Contributor Author

@whilefoo can I start on this one?

sorry, I'm already working on it, deadlines seem to be broken so maybe you can solve that task?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants