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

chore: enforce limit on storage key to be maximum 128 #3979

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

abuaboud
Copy link
Contributor

What does this PR do?

Fixes # (issue)

@abuaboud abuaboud force-pushed the enforce/store-key-limiit branch 2 times, most recently from 8117785 to 82877a1 Compare February 21, 2024 14:25
Copy link
Contributor

@khaledmashaly khaledmashaly left a comment

Choose a reason for hiding this comment

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

Good! Here are some points for your reference:

  • I think it would be better to add a constant in shared/store-entry named sth like STORE_ENTRY_KEY_LIMIT instead of hard-coding 128 everywhere
  • If SQLite doesn't enforce key length, then there's no need to drop keys with length larger than 128, right?

Copy link

nx-cloud bot commented Feb 21, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 1aa5df3. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 3 targets

Sent with 💌 from NxCloud.

@abuaboud abuaboud force-pushed the enforce/store-key-limiit branch 2 times, most recently from 222ba38 to cf78bb7 Compare February 21, 2024 15:35
@abuaboud abuaboud merged commit 1c2da48 into main Feb 21, 2024
12 checks passed
@khaledmashaly khaledmashaly deleted the enforce/store-key-limiit branch February 21, 2024 16:52
@abuaboud abuaboud added the 🐛 bug Something isn't working label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-deploy 🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants