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

and so it begins... #2

Merged
merged 1 commit into from
Aug 5, 2024
Merged

and so it begins... #2

merged 1 commit into from
Aug 5, 2024

Conversation

2lambda123
Copy link
Owner

@2lambda123 2lambda123 commented Aug 5, 2024

Description

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the Code of Conduct
  • I have updated the documentation accordingly.
  • All commits are GPG signed

Summary by Sourcery

Remove deprecated storage backend modules to clean up the codebase.

Chores:

  • Remove deprecated storage backend modules including storage.py, sqlite.py, lmdb.py, ram.py, postgres.py, and xact.py.

Copy link

cr-gpt bot commented Aug 5, 2024

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

Copy link

Processing PR updates...

Copy link

git-greetings bot commented Aug 5, 2024

Thanks @2lambda123 for opening this PR!

For COLLABORATOR only :

  • To add labels, comment on the issue
    /label add label1,label2,label3

  • To remove labels, comment on the issue
    /label remove label1,label2,label3

Copy link

Unable to locate .performanceTestingBot config file

Copy link

@gitginie gitginie bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@2lambda123
Thank you for your contribution to this repository! We appreciate your effort in opening pull request.
Happy coding!

Copy link

quine-bot bot commented Aug 5, 2024

👋 Figuring out if a PR is useful is hard, hopefully this will help.

  • @2lambda123 has been on GitHub since 2019 and in that time has had 2459 public PRs merged
  • They haven't contributed to this repo before
  • Here's a good example of their work: HeyGenClone
  • From looking at their profile, they seem to be good with Shell and Python.

Their most recently public accepted PR is: 2lambda123/NationalSecurityAgency-datawave#1

Copy link

git-greetings bot commented Aug 5, 2024

PR Details of @2lambda123 in darpa-i2o-synapse :

OPEN CLOSED TOTAL
2 0 2

@labels-and-badges labels-and-badges bot added NO JIRA This PR does not have a Jira Ticket PR:size/XXL Denotes a Pull Request that changes 1000+ lines. labels Aug 5, 2024
Copy link

codeautopilot bot commented Aug 5, 2024

PR summary

This pull request removes several files related to different storage backends (LMDB, PostgreSQL, RAM, SQLite) and their associated transaction management and storage handling functionalities. The primary implication of this change is the removal of support for these storage backends from the codebase.

Suggestion

If the intention is to deprecate these storage backends, it would be beneficial to provide a migration guide or alternative solutions for users who rely on these backends. Additionally, updating the documentation to reflect these changes would help users understand the new direction and available options.

Disclaimer: This comment was entirely generated using AI. Be aware that the information provided may be incorrect.

Current plan usage: 22.26%

Have feedback or need help?
Discord
Documentation
support@codeautopilot.com

Copy link

sourcery-ai bot commented Aug 5, 2024

Reviewer's Guide by Sourcery

This pull request removes several core storage-related files from the 'synapse' module. The deletions are likely part of a larger refactor or deprecation of old storage mechanisms.

File-Level Changes

Files Changes
synapse/cores/storage.py
synapse/cores/sqlite.py
synapse/cores/lmdb.py
synapse/cores/ram.py
synapse/cores/postgres.py
synapse/cores/xact.py
Removed all core storage-related files from the 'synapse' module.

Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • Continue your discussion with Sourcery by replying directly to review comments.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

Micro-Learning Topic: SQL injection (Detected by phrase)

Matched on "SQLi"

What is this? (2min video)

This is probably one of the two most exploited vulnerabilities in web applications and has led to a number of high profile company breaches. It occurs when an application fails to sanitize or validate input before using it to dynamically construct a statement. An attacker that exploits this vulnerability will be able to gain access to the underlying database and view or modify data without permission.

Try a challenge in Secure Code Warrior

Helpful references

@2lambda123 2lambda123 merged commit c052049 into master Aug 5, 2024
12 of 22 checks passed
Copy link

@gitginie gitginie bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@2lambda123
Thank you for your contribution to this repository! We appreciate your effort in closing pull request.
Happy coding!

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @2lambda123 - I've reviewed your changes - here's some feedback:

Overall Comments:

  • The PR lacks context and explanation for the removal of core storage components. Please provide detailed information about the motivation for these changes and the plan moving forward.
  • This appears to be a breaking change. Please update the PR template accordingly and explain the migration path for existing users.
  • We need more information about the testing strategy and performance implications of removing these core components. Please outline your test plan and any expected impacts on system functionality.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

Copy link

There was an issue running the performance test

2 similar comments
Copy link

There was an issue running the performance test

Copy link

There was an issue running the performance test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NO JIRA This PR does not have a Jira Ticket PR:size/XXL Denotes a Pull Request that changes 1000+ lines. size/XXL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants