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

Create on assignment #8

Conversation

Keyrxng
Copy link
Collaborator

@Keyrxng Keyrxng commented Oct 21, 2024

Resolves #6

  • createchat runs on issues.assigned
  • we look for an existing chat using the node_id and skip if it exists

QA:

view the payload event for issues.assigned and confirm chat via logs or join here

Chat creation:
https://github.com/ubq-testing/telegram--bot/actions/runs/11447419429/job/31848699310

Skipping creation if exists:
https://github.com/ubq-testing/telegram--bot/actions/runs/11447435712/job/31848754535

Cloudflare deployed and operational:
image

image

@Keyrxng Keyrxng changed the base branch from development to feat/create-on-assignment October 21, 2024 20:34
@Keyrxng Keyrxng merged commit 1710ede into ubiquity-os-marketplace:feat/create-on-assignment Oct 21, 2024
2 checks passed
@Keyrxng
Copy link
Collaborator Author

Keyrxng commented Oct 21, 2024

Bot is deployed to a ubiquity CF worker and is responding on TG.

ubiquity/.ubiquity-os@c9852df I just tried to install in Ubiquity in the prod config but no response and I don't have access to debug.

I think I need access to a .dev config, @gentlementlegen @0x4007 rfc? I saw your QA runs were from this repo and I do not have access to this org' config repo so I cannot update it here and test.

Please allow me access or lmk if you can update it for me, using the config that I tried to install above ^

image

@Keyrxng
Copy link
Collaborator Author

Keyrxng commented Oct 21, 2024

Just labeled an issue to see if the config holds a setup right now and it doesn't and/or the dev kernel is not active?

Held back until I can get access or help updating configs

#7

@gentlementlegen
Copy link
Member

The current configuration on this repository looks like

  - uses:
      - plugin: ubiquity-os-marketplace/ubiquity-os-kernel-telegram@development
        with:
          botId: 7543249164
  - uses:
      - plugin: https://ubiquity-os-telegram-bridge-development.ubiquity.workers.dev
        with:
          botId: 7543249164

@Keyrxng
Copy link
Collaborator Author

Keyrxng commented Oct 23, 2024

https://github.com/ubiquity-os-marketplace/ubiquity-os-kernel-telegram/actions/workflows/compute.yml

I don't understand why there are no workflows being dispatched to this repo at all and I have made a couple of attempts over the past 2-3 days.

The botfather bot https://t.me/UbiquityOS_Beta_Bot is responding via the worker.

Ubiquity-os-beta[bot] is clearly repling to me in this repo.

Could you take a peak at the kernel worker logs and try to kick off a run for me when you have a minute please? Config is the same as mine

   - uses:
     - plugin: https://ubiquity-os-telegram-bridge-create-on-assignment.keyrxng7749.workers.dev 
       with:
         botId: 7543249164
   - uses:
     - plugin: ubq-testing/telegram--bot:compute.yml@create-on-assignment
       with: 
         botId: 7543249164

I've never had issues like this and I don't with interactions between my kernel and workflow. My #3 is fully operational with private DMs and GH storage, not once did this happen across my development so without seeing the prod logs I'm stumped.

@Keyrxng
Copy link
Collaborator Author

Keyrxng commented Oct 23, 2024

https://github.com/ubiquity-os-marketplace/command-ask/actions/runs/11474342941

LMAO. I just installed Ubiquity-os-beta[bot] github app to my org and it won't dispatch from org to the ubiquity kernel either but command-ask is running a workflow every time a comment hits

@Keyrxng
Copy link
Collaborator Author

Keyrxng commented Oct 23, 2024

@gentlementlegen @rndquu Can one of you install my kernel to this org for me please? I will uninstall it after I am finished which will be tonight.

It's only this repo I'm asking installing it to

image

@rndquu
Copy link
Member

rndquu commented Oct 23, 2024

@gentlementlegen @rndquu Can one of you install my kernel to this org for me please? I will uninstall it after I am finished which will be tonight.

It's only this repo I'm asking installing it to

image

I don't have much context regarding this PR, so I can't install a new app with pretty sensitive permissions without any context, I'll check the PR today

@Keyrxng
Copy link
Collaborator Author

Keyrxng commented Oct 23, 2024

I'm admin on this repo if that helps I have all of the same permissions that the app will request pretty much.

but sure thing, thank you. Also it's not related to just this PR it's related to the entire plugin running so both this and #2.

I'm just trying to debug whatever error the kernel is producing that's all

@Keyrxng
Copy link
Collaborator Author

Keyrxng commented Oct 23, 2024

The issue was that the kernel wasn't responding because it is now looking to accept a signature, which is why the runs were not kicking off.

@gentlementlegen made that change (I wasn't aware we were going back passing sigs) and everything is working fine

@ubiquity-os-beta ubiquity-os-beta bot mentioned this pull request Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

First Assignment
3 participants