-
Notifications
You must be signed in to change notification settings - Fork 106
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
[ASI-1013] Remove remaining IPFS from creator-node #2825
Conversation
* Add linting flake8 plugin to ensure decorator order and route params in API declarations * Remove __init__.py * Revert "Remove __init__.py" This reverts commit 2bd9b80. * Modify visitor to make testing easier * Disable plugin test, rely on visitor test instead * Move to using local plugin * Disable rule temporarily * Fix bugs, add new rule, solve edge cases * Enable linter * add default case * Add tests to vscode test config * Made plugin more readable * Move to subfolder * Move to plugin.py * Split to several files * Update setup.cfg to point to plugin * Make readme * Fix order config * Fix README typo * Fix lint errors * Use absolute imports * Set root correctly
…o theo-remove-ipfs3
…rotocol into theo-remove-ipfs3
verified that test-creator-node is passing locally (it fails on Circle because Circle doesn't have libs linked). also verified upload flow and ran the full mad dog suite without any regressions so this is ready for review! |
test-creator-node is passing on CI as well now that I got the libs PR through and consumed that version (mad dog is still passing locally), so this should be ready to go pending a review from any one of @SidSethi @dmanjunath @vicky-g |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice work! looks great to me, will let @SidSethi give the green light as well since he's primary reviewer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fantastic work once again! changes look great. only note is to make sure you run all maddog tests (not just the default one) and manually test against client locally. i'll send you a QA checklist to go against (we actually should have done this on the earlier IPFS commit since that included the majority of the changes)
thanks for adding the detail in PR description as well. one thing i think would be good to have is a documented release plan, listing out all the tests we will run on staging to ensure thorough coverage of every edge case. we want to cover read and write flows for metadata, images, track segments, and track 320kbps copy. i'm assuming you don't know what this means haha, any of dheeraj, vicky, or me can help out
but great job!
|
GitGuardian id | Secret | Commit | Filename | |
---|---|---|---|---|
3086103 | Generic High Entropy Secret | 032096e | discovery-provider/integration_tests/tasks/test_anchor_program_indexer.py | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!
thanks @SidSethi! I addressed your and Dheeraj's comments and re-ran mad dog (results pasted below and follow up card here). there are a number of pre-existing mad dog issues, but should I merge anyway since this branch isn't causing any new issues? Updated Testing Plan
Before releasing to prod: push to staging and repeat steps 3-5 there Mad Dog ResultsRan the following tests (in order) on master in one box and this branch on another box:
Building creator-node
Creating cn7_creator-node-db_1 ... done
Creating cn7_creator-node-redis_1 ... done
Creating cn7_creator-node_1 ...
ERROR: for cn7_creator-node_1 UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=200)
ERROR: for creator-node UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=200)
An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 200).
Error: creator-node failed to start for the command: cd /home/ubuntu/audius-protocol; cd creator-node; mkdir -p compose/env/tmp/file-storage-7; . compose/env/tmp/shellEnv7.sh; docker-compose -f compose/docker-compose.yml up --build -d
at ChildProcess.<anonymous> (/home/ubuntu/audius-protocol/service-commands/src/setup.js:85:11)
Error across multiple tests on both master and my branch (maybe this file was accidentally deleted at some point?): |
amazing, good to merge 👍 |
Description
Tests
Make sure you can manually access content from /content (I confirmed this locally). Automated tests are updated to pass as well.
How will this change be monitored? Are there sufficient logs?
Search logs for:
File contents don't their expected CID
[fileHasher - convertToBuffer()] Could not convert content into buffer