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

Supabase Logger #5

Closed
0x4007 opened this issue Jan 15, 2024 · 63 comments · Fixed by #16
Closed

Supabase Logger #5

0x4007 opened this issue Jan 15, 2024 · 63 comments · Fixed by #16

Comments

@0x4007
Copy link
Member

0x4007 commented Jan 15, 2024

  1. Allow configuration in the UbiquiBot Logger npm module to interface with our Supabase key and URL.
  2. Enable logging in this repository (just log some runtime event successfully.)
@gitcoindev
Copy link
Contributor

Pull request should be ready by tomorrow EOD.

@gitcoindev
Copy link
Contributor

I had a delay on this one, will continue on Sunday.

@0x4007
Copy link
Member Author

0x4007 commented Jan 29, 2024

@gitcoindev any update

@gitcoindev
Copy link
Contributor

@pavlovcik thank you for reminding me, I left it half-baked last week. I am on it and will try to finish today.

@gitcoindev gitcoindev self-assigned this Jan 29, 2024
gitcoindev referenced this issue in gitcoindev/ubiquibot-kernel Jan 30, 2024
The ubiquibot-logger integration enables supabase logging for
ubiquibot-kernel.

On top of SUPABASE_KEY and SUPABASE_URL environment variables,
LOG_RETRY_LIMIT and LOG_LEVEL must be specified.

Example:

LOG_RETRY_LIMIT=3
LOG_LEVEL=DEBUG

Resolves: #5
@gitcoindev
Copy link
Contributor

Pull request #16 ready for review.

Copy link

ubiquibot bot commented Jan 31, 2024

! No price label has been set. Skipping permit generation.

@0x4007 0x4007 added help wanted Extra attention is needed Time: <4 Hours Priority: 2 (Medium) and removed help wanted Extra attention is needed labels Jan 31, 2024
@0x4007
Copy link
Member Author

0x4007 commented Jan 31, 2024

I'll try and replace the X25519 key tonight to the correct wallet to roll out GitHub incentives/payments again.

@0x4007 0x4007 reopened this Jan 31, 2024
@0x4007 0x4007 closed this as completed Feb 2, 2024
Copy link

ubiquibot bot commented Feb 2, 2024

+ Evaluating results. Please wait...

Copy link

ubiquibot bot commented Feb 2, 2024

[ 17 WXDAI ]

@pavlovcik
Contributions Overview
ViewContributionCountReward
IssueSpecification18.4
IssueComment24.6
ReviewComment14
Conversation Incentives
CommentFormattingRelevanceReward
1. Allow configuration in the `UbiquiBot Logger` npm module to i...
8.4
li:
  count: 2
  score: "2"
  words: 29
code:
  count: 1
  score: "1"
  words: 2
18.4
@gitcoindev any update...
0.6-0.6
I'll try and replace the X25519 key tonight to the correct walle...
40.014
> Also tested at https://github.com/gitcoindev/ubiquibot/issues/...
40.634

[ 259.9 WXDAI ]

@gitcoindev
Contributions Overview
ViewContributionCountReward
IssueTask1.00200
IssueComment40
IssueComment45.5
ReviewComment327.2
ReviewComment327.2
Conversation Incentives
CommentFormattingRelevanceReward
Pull request should be ready by tomorrow EOD....
-0.05-
I had a delay on this one, will continue on Sunday....
-0.06-
@pavlovcik thank you for reminding me, I left it half-baked last...
-0.3-
Pull request https://github.com/ubiquity/ubiquibot-kernel/pull/1...
-0.08-
Pull request should be ready by tomorrow EOD....
0.80.050.8
I had a delay on this one, will continue on Sunday....
1.10.061.1
@pavlovcik thank you for reminding me, I left it half-baked last...
2.30.32.3
Pull request https://github.com/ubiquity/ubiquibot-kernel/pull/1...
1.30.081.3
This is still a draft pull request. I have to rebase to current ...
2.30.442.3
Hi @pavlovcik @whilefoo I seem to got it right this time -) I re...
20.6
code:
  count: 1
  score: "1"
  words: 0
0.5720.6
> > Also tested at [gitcoindev/ubiquibot#10 (comment)](https://g...
4.3
a:
  count: 1
  score: "1"
  words: 4
code:
  count: 1
  score: "1"
  words: 1
0.834.3
This is still a draft pull request. I have to rebase to current ...
2.30.442.3
Hi @pavlovcik @whilefoo I seem to got it right this time -) I re...
20.6
code:
  count: 1
  score: "1"
  words: 0
0.5720.6
> > Also tested at [gitcoindev/ubiquibot#10 (comment)](https://g...
4.3
a:
  count: 1
  score: "1"
  words: 4
code:
  count: 1
  score: "1"
  words: 1
0.834.3

@gitcoindev
Copy link
Contributor

/help

Copy link

ubiquibot bot commented Feb 5, 2024

Available Commands

Command Description Example
/start Assign yourself to the issue. /start
/stop Unassign yourself from the issue. /stop
/help List all available commands. /help
/query Returns the user's wallet, access, and multiplier information. /query @user
/ask Ask a context aware question. /ask is x or y the best approach?
/multiplier Set the task payout multiplier for a specific contributor, and provide a reason for why. /multiplier @user 0.5 "multiplier
reason"
/labels Set access control, for admins only. /labels @user priority time
price
/authorize Approve a label change, for admins only. /authorize
/wallet Register your wallet address for payments. /wallet ubq.eth

@gitcoindev
Copy link
Contributor

/query @gitcoindev

Copy link

ubiquibot bot commented Feb 5, 2024

Property Value
Wallet 0x4D0704f400D57Ba93eEa88765C3FcDBD826dCFc4

@gitcoindev
Copy link
Contributor

/wallet 0x7e92476D69Ff1377a8b45176b1829C4A5566653a

Copy link

ubiquibot bot commented Feb 5, 2024

+ Successfully registered wallet address

@gitcoindev
Copy link
Contributor

/query @gitcoindev

@gitcoindev
Copy link
Contributor

/start

@gitcoindev
Copy link
Contributor

Please ignore the comments below, I am debugging the root cause.

@gitcoindev
Copy link
Contributor

/help

Copy link

ubiquibot bot commented Feb 8, 2024

Available Commands

Command Description Example
/start Assign yourself to the issue. /start
/stop Unassign yourself from the issue. /stop
/help List all available commands. /help
/query Returns the user's wallet, access, and multiplier information. /query @user
/ask Ask a context aware question. /ask is x or y the best approach?
/multiplier Set the task payout multiplier for a specific contributor, and provide a reason for why. /multiplier @user 0.5 "multiplier
reason"
/labels Set access control, for admins only. /labels @user priority time
price
/authorize Approve a label change, for admins only. /authorize
/wallet Register your wallet address for payments. /wallet ubq.eth

@gitcoindev
Copy link
Contributor

/start

Copy link

ubiquibot bot commented Feb 8, 2024

! action has an uncaught error

@gitcoindev
Copy link
Contributor

/query @gitcoindev

Copy link

ubiquibot bot commented Feb 8, 2024

Property Value
Wallet 0x7e92476D69Ff1377a8b45176b1829C4A5566653a

@gitcoindev
Copy link
Contributor

/start

Copy link

ubiquibot bot commented Feb 8, 2024

DeadlineThu, Feb 8, 4:24 PM UTC
Registered Wallet 0x7e92476D69Ff1377a8b45176b1829C4A5566653a
Tips:
  • 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.

@gitcoindev
Copy link
Contributor

/query @gitcoindev

Copy link

ubiquibot bot commented Feb 8, 2024

Property Value
Wallet 0x7e92476D69Ff1377a8b45176b1829C4A5566653a

@Abuchtela

This comment was marked as abuse.

Copy link
Contributor

ubiquity-os bot commented Sep 29, 2024

! Please set your wallet address with the /wallet command first and try again.

Copy link
Contributor

ubiquity-os bot commented Sep 29, 2024

! No wallet address found

@Abuchtela

This comment was marked as abuse.

Copy link
Contributor

ubiquity-os bot commented Sep 29, 2024

+ Successfully registered wallet address

@Abuchtela

This comment was marked as abuse.

Copy link
Contributor

ubiquity-os bot commented Sep 29, 2024

Warning! This task was created over 257 days ago. Please confirm that this issue specification is accurate before starting.
Deadline Sun, Sep 29, 8:29 AM UTC
Beneficiary 0x0B58857708a6f84e7EE04BEAEF069a7E6D1D4A0b

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.

@0x4007
Copy link
Member Author

0x4007 commented Sep 29, 2024

@gentlementlegen with your new cloudflare logging idea should we close this?

@gentlementlegen
Copy link
Member

I think that we should be fine for now yes. Maybe we should focus on improving the log formatting instead because sometimes errors are not clear enough. 200k messages will allow us to retain few past days of activity surely.

@0x4007 0x4007 closed this as not planned Won't fix, can't repro, duplicate, stale Sep 29, 2024
@Abuchtela

This comment was marked as abuse.

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

Successfully merging a pull request may close this issue.

4 participants