-
Notifications
You must be signed in to change notification settings - Fork 54
Mongo ttl index support #779
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
Open
ArnabChatterjee20k
wants to merge
21
commits into
main
Choose a base branch
from
mongo-ttl
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
5f637cb
feat: add support for TTL indexes in database adapters and validation
ArnabChatterjee20k 321a4c5
refactor: standardize method formatting and improve TTL index validat…
ArnabChatterjee20k 151703f
updated adapters with the support method for the ttl index support
ArnabChatterjee20k cc63ade
fix: update TTL index validation messages and conditions for shared t…
ArnabChatterjee20k ed322e6
typo
ArnabChatterjee20k 8fa2454
added ttl index in the missing index message
ArnabChatterjee20k 07ccad8
Refactor SchemalessTests to improve datetime handling and add new tests
ArnabChatterjee20k 9a21ce2
Update src/Database/Validator/Index.php
ArnabChatterjee20k 6fd965d
fix: update TTL index default value to 1 and adjust related methods f…
ArnabChatterjee20k 8e4e208
Merge remote-tracking branch 'upstream/mongo-ttl' into mongo-ttl
ArnabChatterjee20k affc6a1
test: implement retry logic for TTL expiration checks in SchemalessTests
ArnabChatterjee20k 3cbc6f6
linting
ArnabChatterjee20k 41ea5ca
updated waiting in ttl test
ArnabChatterjee20k 06e8d08
updated expiry tests
ArnabChatterjee20k 4cb6863
enforced one ttl index per collection
ArnabChatterjee20k cc7fca3
removed empty orders from the ttl index validator
ArnabChatterjee20k 3b388c8
changed ttl check
ArnabChatterjee20k e90b89d
updated ttl attribute support in the get document
ArnabChatterjee20k d641084
Merge remote-tracking branch 'upstream/main' into mongo-ttl
ArnabChatterjee20k 92aeef9
linting
ArnabChatterjee20k 68beab1
updated composer
ArnabChatterjee20k File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🧩 Analysis chain
🏁 Script executed:
Repository: utopia-php/database
Length of output: 3223
🌐 Web query:
utopia-php/pools 1.0 release changelog breaking changes💡 Result:
I couldn't find a utopia-php/pools v1.0 release or a 1.0 changelog. The latest released tag listed on Packagist is v0.8.2 (last updated Sep 26, 2025). [1]
If you want, I can check the GitHub releases/tags page or repository commit history for any unpublished v1.0 notes—shall I do that?
Sources:
🏁 Script executed:
Repository: utopia-php/database
Length of output: 2404
🌐 Web query:
utopia-php/pools repository github tags releases dev-master 1.0💡 Result:
The utopia-php/pools package's latest released version on Packagist is 0.8.2 (no 1.0 release listed). Packagist/Libraries.io show current published versions (no 1.0). [1][2]
If you need the repository's branch names (e.g., dev-master) or Git tags directly, check the GitHub repo tags/releases page (github.com/utopia-php/pools) — Packagist reflects published Composer versions. [1][2]
Sources:
🏁 Script executed:
Repository: utopia-php/database
Length of output: 2369
🌐 Web query:
utopia-php/pools GitHub repository tags releases main dev-main💡 Result:
Summary I found on the package registry:
The package source is on GitHub (github.com/utopia-php/pools). Would you like me to open the GitHub repo now and list its tags/releases and branches (main, dev-main) directly?
Fix invalid dependency constraint for utopia-php/pools.
The version
1.*does not exist on Packagist or in any public repository. The latest available release is0.8.2. This constraint will causecomposer installto fail.Either correct the version to
0.8.*if the code is compatible with the current release, or verify this PR should only be merged after utopia-php/pools v1.0 is officially released.🤖 Prompt for AI Agents