-
Notifications
You must be signed in to change notification settings - Fork 17
Updates for recent Hubot #34
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
base: master
Are you sure you want to change the base?
Conversation
2216fa4
to
580a780
Compare
Currently, the bot seems to log in and sync, but fails to read from or write to the room. I had to disable presence feature entirely to get past being 429'd by matrix.org for too many updates.
This message above is expected, it's hubot-farewell doing as configured, so that a CI job can test posting to the room then exit. The bot should post two messages: one after it connects (hubot-startup), and one just before it exits (hubot-farewell). Neither appear. Here's the output of a test run:
|
I was also hitting rate limiting earlier. 580a780 was an attempt to handle this by reducing online presence announcements (which probably don't need to happen for each message as they did), but that didn't address the issue for me, so I disabled presence feature entirely in 6291a8f. We could use a flag to allow this to be adapter configurable via Here's the error I was seeing (now resolved, or worked around at least): 429 too many requests error
|
98966cd
to
12c24a5
Compare
49f5015
to
ac3728a
Compare
I got this to a point where I was happy to merge it in my own fork. Will be giving it a bit more testing, but seems to work. Now has integration tests so I can run a test from CI and see it log into a Matrix server (requires configuring a few secrets in the Github repo). |
Testing ESM update for recent Hubot
@davidar I see that this adapter has been unmaintained a while. If I can get this working with current Hubot, should we move it over to the
@hubot-friends/
group where some other adapters live?I'm happy to run it from a fork as well, no need for you to do anything at all 😄
Progress report / tasks
WIP, looks promising. I am building on existing work from other hubot-matrix forks, all credit to the contributors below.