Skip to content

Test var id attribute - #10243

Merged
abnegate merged 12 commits into
1.8.xfrom
test-var-id-attribute
Aug 5, 2025
Merged

Test var id attribute#10243
abnegate merged 12 commits into
1.8.xfrom
test-var-id-attribute

Conversation

@fogelito

@fogelitofogelito commented Jul 31, 2025

Copy link
Copy Markdown
Contributor

What does this PR do?

https://github.com/utopia-php/database/compare/0.74.3..0.75.2

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Screenshots may also be helpful.)

Related PRs and Issues

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

@fogelito
fogelito changed the base branch from main to 1.8.xJuly 31, 2025 14:01
…t-var-id-attribute
# Conflicts:
#	composer.json
#	composer.lock
@pkg-pr-new

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/appwrite/appwrite/@appwrite.io/console@10243

commit: d6b0d13

@coderabbitaicoderabbitaiBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
composer.json (1)

55-55: Switching to a dev branch alias is risky—pin to a commit or keep the stable tag.

Replacing 0.74.* with dev-primary-attribute as 0.73.2 silently downgrades the library while pointing to an unfrozen development branch.
Potential fallout:
• Loss of fixes/features added in 0.74.x.
• Builds become non-deterministic whenever the branch moves.
• Security tooling may miss the real version in use.

Strongly recommend one of:

- "utopia-php/database": "dev-primary-attribute as 0.73.2",+ # Option A – pin the exact commit+ "utopia-php/database": "dev-primary-attribute#<commit-sha> as 0.73.2",+ # Option B – stay on the stable line until the feature is tagged+ "utopia-php/database": "0.74.*",

Please confirm no 0.74-only APIs are used elsewhere and that CI covers this downgrade.
If the branch must stay, lock it to a commit to keep reproducible builds.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between de6ee12 and a54cf58.

⛔ Files ignored due to path filters (1)
  • composer.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • composer.json (1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (19)
  • GitHub Check: Benchmark
  • GitHub Check: E2E Shared Mode Service Test (VCS, Shared V1)
  • GitHub Check: E2E Shared Mode Service Test (Messaging, Shared V2)
  • GitHub Check: E2E Shared Mode Service Test (Realtime, Shared V2)
  • GitHub Check: E2E Shared Mode Service Test (Proxy, Shared V1)
  • GitHub Check: E2E Shared Mode Service Test (Projects, Shared V2)
  • GitHub Check: E2E Shared Mode Service Test (Locale, Shared V2)
  • GitHub Check: E2E Shared Mode Service Test (Sites, Shared V2)
  • GitHub Check: E2E Shared Mode Service Test (Databases/Grids, Shared V2)
  • GitHub Check: E2E Shared Mode Service Test (Account, Shared V1)
  • GitHub Check: E2E Shared Mode Service Test (Sites, Shared V1)
  • GitHub Check: E2E Shared Mode Service Test (FunctionsSchedule, Shared V2)
  • GitHub Check: E2E Shared Mode Service Test (Databases/Legacy, Shared V2)
  • GitHub Check: E2E Shared Mode Service Test (Avatars, Shared V2)
  • GitHub Check: E2E Shared Mode Service Test (Functions, Shared V1)
  • GitHub Check: E2E Shared Mode Service Test (Account, Shared V2)
  • GitHub Check: E2E Service Test (FunctionsSchedule)
  • GitHub Check: E2E Service Test (Databases/Grids)
  • GitHub Check: E2E Service Test (Databases/Legacy)

@appwriteappwrite deleted a comment from github-actionsBotAug 3, 2025
@appwriteappwrite deleted a comment from github-actionsBotAug 3, 2025
@appwriteappwrite deleted a comment from coderabbitaiBotAug 3, 2025
@github-actions

github-actionsBot commented Aug 3, 2025

Copy link
Copy Markdown

Security Scan Results for PR

Docker Image Scan Results

PackageVersionVulnerabilitySeverity
binutils2.42-r0CVE-2025-0840HIGH
git2.45.3-r0CVE-2025-48384HIGH
git2.45.3-r0CVE-2025-48385HIGH
git-init-template2.45.3-r0CVE-2025-48384HIGH
git-init-template2.45.3-r0CVE-2025-48385HIGH
icu74.2-r0CVE-2025-5222HIGH
icu-data-en74.2-r0CVE-2025-5222HIGH
icu-dev74.2-r0CVE-2025-5222HIGH
icu-libs74.2-r0CVE-2025-5222HIGH
libexpat2.6.4-r0CVE-2024-8176HIGH
libxml22.12.7-r0CVE-2024-56171HIGH
libxml22.12.7-r0CVE-2025-24928HIGH
libxml22.12.7-r0CVE-2025-27113HIGH
libxml22.12.7-r0CVE-2025-32414HIGH
libxml22.12.7-r0CVE-2025-32415HIGH
pyc3.12.9-r0CVE-2024-12718HIGH
pyc3.12.9-r0CVE-2025-4138HIGH
pyc3.12.9-r0CVE-2025-4330HIGH
pyc3.12.9-r0CVE-2025-4517HIGH
python33.12.9-r0CVE-2024-12718HIGH
python33.12.9-r0CVE-2025-4138HIGH
python33.12.9-r0CVE-2025-4330HIGH
python33.12.9-r0CVE-2025-4517HIGH
python3-pyc3.12.9-r0CVE-2024-12718HIGH
python3-pyc3.12.9-r0CVE-2025-4138HIGH
python3-pyc3.12.9-r0CVE-2025-4330HIGH
python3-pyc3.12.9-r0CVE-2025-4517HIGH
python3-pycache-pyc03.12.9-r0CVE-2024-12718HIGH
python3-pycache-pyc03.12.9-r0CVE-2025-4138HIGH
python3-pycache-pyc03.12.9-r0CVE-2025-4330HIGH
python3-pycache-pyc03.12.9-r0CVE-2025-4517HIGH
sqlite-libs3.45.3-r1CVE-2025-29087HIGH
xz5.6.2-r0CVE-2025-31115HIGH
xz-libs5.6.2-r0CVE-2025-31115HIGH
golang.org/x/cryptov0.31.0CVE-2025-22869HIGH
golang.org/x/oauth2v0.24.0CVE-2025-22868HIGH

Source Code Scan Results

🎉 No vulnerabilities found!

@github-actions

github-actionsBot commented Aug 3, 2025

Copy link
Copy Markdown

✨ Benchmark results

  • Requests per second: 1,317
  • Requests with 200 status code: 237,169
  • P99 latency: 0.144850978

⚡ Benchmark Comparison

MetricThis PRLatest version
RPS1,3171,029
200237,169185,326
P990.1448509780.190945812

@coderabbitai

coderabbitaiBot commented Aug 3, 2025

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

The changes update the version constraint for the "utopia-php/database" dependency in composer.json from "0.74." to "0.75.". In two PHP source files related to deployment duplication for functions and sites, the code now removes the '$sequence' attribute from deployment data before creating new deployment documents, instead of explicitly setting '$sequence' to an empty string. No changes were made to public entity declarations.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~7 minutes

Suggested reviewers

  • christyjacob4

Note

⚡️ Unit Test Generation is now available in beta!

Learn more here, or try it out under "Finishing Touches" below.


📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7d82d3d and fb69884.

⛔ Files ignored due to path filters (1)
  • composer.lock is excluded by !**/*.lock
📒 Files selected for processing (1)
  • composer.json (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • composer.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
  • GitHub Check: E2E Shared Mode Service Test (Site Screenshots) (Shared V1)
  • GitHub Check: E2E Shared Mode Service Test (Dev Keys) (Shared V2)
  • GitHub Check: E2E Shared Mode Service Test (Site Screenshots) (Shared V2)
  • GitHub Check: E2E Shared Mode Service Test (Dev Keys) (Shared V1)
  • GitHub Check: E2E General Test
  • GitHub Check: Unit Test
  • GitHub Check: Benchmark
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch test-var-id-attribute

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Comment threadcomposer.json Outdated
@abnegate
abnegate merged commit cb0a45e into 1.8.xAug 5, 2025
86 checks passed
@abnegate
abnegate deleted the test-var-id-attribute branch August 5, 2025 12:12
@coderabbitaicoderabbitaiBot mentioned this pull request Aug 6, 2025
2 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@fogelito@abnegate