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

QA: Local development issue #54

Open
web4er opened this issue Aug 2, 2023 · 17 comments
Open

QA: Local development issue #54

web4er opened this issue Aug 2, 2023 · 17 comments

Comments

@web4er
Copy link
Owner

web4er commented Aug 2, 2023

There is not much to show here related to local development issues. However, we will test things fixed after fixing local development issue which were broken.

We will run random commands in this QA. Some commands will be written invalid on purpose to test the correct response.

First, tests will be performed in a single yarn build && yarn start with disable-analytics": false.
The reason is testing previously failing analytics functions on localhost:

await htmlImage(summaryInfo);
await compositeImage();
await processTelegram(dataPadded);

After this, some tests will be performed with disable-analytics": true

@web4er
Copy link
Owner Author

web4er commented Aug 2, 2023

/help

@web4er-ubiquibot
Copy link

Available commands

- /start: Assign the origin sender to the issue automatically.
- /stop: Unassign the origin sender from the issue automatically.
- /help: List all available commands.
- /query: Comments the users multiplier and address
- /multiplier: Set the bounty payout multiplier for a specific contributor, and provide the reason for why. 
  example usage: "/wallet @user 0.5 'Multiplier reason'"
- /allow: Set access control. (Admin Only)
- /wallet: <WALLET_ADDRESS | ENS_NAME>: Register the hunter's wallet address. 
  ex1: /wallet 0x0000000000000000000000000000000000000000
  ex2: /wallet vitalik.eth

@web4er
Copy link
Owner Author

web4er commented Aug 2, 2023

/wallet

@web4er-ubiquibot
Copy link

Please include your wallet or ENS address.
usage: /wallet 0x0000000000000000000000000000000000000000

@web4er
Copy link
Owner Author

web4er commented Aug 2, 2023

/wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2

@web4er-ubiquibot
Copy link

Updated the wallet address for @web4er successfully! Your new address: 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2

@web4er
Copy link
Owner Author

web4er commented Aug 2, 2023

Previously failing functions working on localhost. The image is being generated and sent to the telegram chat.

Screenshot_20230802-224509(1)

@web4er
Copy link
Owner Author

web4er commented Aug 2, 2023

/start

@web4er-ubiquibot
Copy link

Deadline Wed, 02 Aug 2023 18:47:03 UTC
Registered Wallet 0x1F9FCc0E84dc2094499b848AE37Cd6a51db03Ff2
Payment Multiplier 0.70
Multiplier Reason testing
Total Bounty 13.125 USD
Tips:
  • Use /wallet 0x0000...0000 if you want to update your registered payment wallet address @user.
  • 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 bounty.

    @web4er
    Copy link
    Owner Author

    web4er commented Aug 2, 2023

    /stop

    @web4er-ubiquibot
    Copy link

    You have been unassigned from the bounty @web4er

    @web4er
    Copy link
    Owner Author

    web4er commented Aug 2, 2023

    Let's change it back to default options and run some commands

    setting disable-analytics: true

    @web4er
    Copy link
    Owner Author

    web4er commented Aug 2, 2023

    /allow set-multiplier @web4er true

    @web4er-ubiquibot
    Copy link

    Updated access for @web4er successfully! Access: multiplier for "web4er/ubiquibot"

    @web4er
    Copy link
    Owner Author

    web4er commented Aug 2, 2023

    /multiplier 0.7 @web4er "testing"

    @web4er-ubiquibot
    Copy link

    Successfully changed the payout multiplier for @web4er to 0.7. The reason provided is "testing ".

    @web4er
    Copy link
    Owner Author

    web4er commented Aug 4, 2023

    I realized that it was not processing events for analytics of non-org users. Also fixed that. Here are the results.

    Screenshot_20230804-161019(1)

    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

    1 participant