-
Notifications
You must be signed in to change notification settings - Fork 178
fix(deps): update dependency @supabase/supabase-js to v2.58.0 #3559
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
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
🤖 Agent Deep Modeling ExecutionProcessing time: 3m 48s Command Output
RUN v3.2.4 /home/runner/work/liam/liam/frontend/internal-packages/agent (node:7660) ExperimentalWarning: WASI is an experimental feature and might change at any time ✅ [INFO] 2025-10-09T16:04:56.500Z 🧠 Thinking (pm)... Creating a BRD Document I need to produce a Business Requirements Document (BRD) with several key sections: Business Context, Goals, Scope (In/Out), Personas & User Stories, and so on. I'll include important details like Functional and Non-Functional Requirements, a Data Model Overview, and Security & Compliance information. I'll also map out test cases for QA across various categories, ensuring to cover both positive and negative scenarios. It’s also crucial to think about database design constraints, like unique emails and password security. Designing a Simple User Management System I need to outline features for a simple user management system, including user registration, login, profile management, password reset, and role-based access. For the database design, I should include key tables like users, roles, and session management, while keeping it straightforward. I must ensure QA can verify that the database design meets requirements, providing a data dictionary, even though the current schema is blank, so I'll design from scratch. Finally, I'll call the saveRequirementsToArtifactTool with our goal and test cases to confirm successful completion. Crafting the BRD After the tool call, I’ll confirm with a message like "Saved requirements." I need to start the BRD with a checklist of 3–7 bullet points, leading into sections like Business Context and Objectives. For the scope, I’ll include user registration and an optional email verification workflow. It’s important for the database design to have an email_verified_at field. I’ll cover authentication methods, the profile structure, roles, and the account status lifecycle, along with relevant security and compliance measures. Finally, I’ll summarize the data model overview with necessary entity details. Defining Database Structure I’m deciding on the database structure, opting for a soft-delete with a Defining Scope and Test Cases I’m outlining the scope for the user management system. In-scope features include account creation, authentication, profile management, role assignment, and account status updates. Out-of-scope features will include things like OAuth SSO and password resets via email. I’ll also address non-functional requirements, focusing on security, performance, and compliance. Next, I need to create test cases categorized by areas like User Registration and Security. These should include positive and negative scenarios to ensure everything functions as expected. Finally, I’ll prepare to save the requirements and test cases with a clear purpose statement before making the tool call. ⏺ (pm): Planned checklist:
Business Requirements Document (BRD): Simple User Management System
Purpose: Save analyzed requirements and QA testcases to artifact. Inputs: goal, testcases. 🔧 saveRequirementsToArtifactTool() ⎿ unknown: Requirements saved successfully to artifact 🧠 Thinking (db)... Preparing audit operations I'm focused on setting up audit logs that include actions, with actor_id being optional and details stored in jsonb format. I'll prepare the necessary operations and then call the appropriate tool. After that, I'll validate the success of the tool call and report back. First, I need to make sure to include minimal inputs before the tool call and validate the results concisely. I'll start building tables like enums, users, roles, user_roles, sessions, and audit_logs, ensuring my comments are descriptive and adding a unique index on users.email_normalized. 🔧 schemaDesignTool() 🔧 saveTestcase() 🔧 saveTestcase() 🔧 saveTestcase() 🔧 saveTestcase() 🔧 saveTestcase() 🔧 saveTestcase() 🔧 saveTestcase() 🔧 saveTestcase() 🔧 saveTestcase() 🔧 saveTestcase() 🔧 saveTestcase() 🔧 saveTestcase() ⏺ (qa): { 🔧 saveTestcase() ⏺ (qa): { 🔧 saveTestcase()_time,\n al.target_user_id,\n u.email AS target_user_email,\n a.email AS actor_email\nFROM\n audit_logs al\numptions:\n-- - Use soft delete: deleted_at IS NULL means active. Exclude non-null deleted_at.\n-- - Implement pagination with limit/offset parameters via bind variables :limit and :offset\n-- - Return a stable ordering: newest first, then id to break ties\n\nSELECT\n u.id,\n u 🔧 saveTestcase() ⏺ (qa): { 🔧 saveTestcase() ⏺ (qa): { 🔧 saveTestcase() ⏺ (qa): { 🔧 saveTestcase() 🔧 saveTestcase() 🔧 saveTestcase() email\n-- IF EXISTS (SELECT 1 FROM users WHERE email_normalized = p_normalized_email AND id <> p_user_id) THEN\n-- RAISE EXCEPTION 'Email already in use';\n-- END IF;\n--\n-- -- Perform the update: email, email_normalized, updated_at, optionally display_name if derived\n-- UPDATE users\n-- SET email = p_new_email,\n-- email_normalized = p_normalized_email,\n-- updated_at = v_now\n-- WHERE id = p_user_id;\n--\n-- -- Insert audit log for profile change\n-- INSERT INTO audit_logs (id, action, details, actor_id, created_at, target_user_id)\n-- VALUES (gen_random_uuid(), 'user.update_profile', jsonb_build_object('field','email','new_value', p_normalized_email), NULL, v_now, p_user_id);\n-- END;\n-- $$;\n\nCOMMIT;\n" 🔧 saveTestcase()(node:7660) Warning: The 'import-in-the-middle' hook has already been initialized ⏺ (qa): { 🔧 saveTestcase() 🔧 saveTestcase() 🔧 saveTestcase()(node:7660) Warning: The 'import-in-the-middle' hook has already been initialized ⏺ (qa): { 🔧 saveTestcase() ⏺ (qa): {"sql":"-- Test Case: Admin revokes a user's role\n-- Scenario: An admin revokes a previously granted role from a user. We delete the user_roles assignment entry,\n-- and record an audit log and optionally remove access implications via business logic represented here.\n\n-- Assumptions:\n-- - Roles and users exist.\n-- - We revoke by deleting the user_roles row for given user_id and role_id.\n-- - We insert an audit_log capturing the action.\n-- - We do not cascade delete; soft constraints ensure referential integrity.\n\n-- Parameters for the test (placeholders to be replaced by actual IDs in test harness):\n-- Replace with actual IDs from test environment or generate UUIDs using gen_random_uuid().\n\n-- Example values (use gen_random_uuid() in actual run):\n-- select gen_random_uuid(node:7660) Warning: The 'import-in-the-middle' hook has already been initialized ⏺ (qa): {"sql":"-- Test Case: Profile Management - Password change rejected when current password is incorrect\n-- This UPDATE simulates a password change request where the provided current_password_hash does not match the stored password_hash.\n-- Assumptions: Password verification would normally happen in application logic; here we(node:7660) Warning: The 'import-in-the-middle' hook has already been initialized 🔧 saveTestcase(): policy If no: revoke row sessions when role removed was updated, raise a controlled notice. Here we to clear indicate rejection sessions due to as part of incorrect current password\nDO test.\n $$UPDATE\ sessionsnBEGIN\n\nSET IF revoked NOT_at EXISTS (\ =n clock SELECT_timestamp 1 FROM()\nWHERE users u WHERE user_id u.id = uuid = (SELECT current '{{USER_ID_setting('test_user_id}}' AND '{{')CURRENT::uuid)_PASSWORDn_HASH AND NOT EXISTS (}}' =n u.password_hash\n SELECT ) 1 THEN\n\n R FROM userAI_roles urSE NOTICE\n WHERE ur.user_id = 'Password update (SELECT current_setting('test_user_id rejected: current'):: password isuuid)\ incorrect for usern % AND', ur '{{.role_id =USER_ID}} (';SELECT\ currentn _setting(' ENDtest IF_role_id');\nEND::uuid)\ $$n;\ );\n\nCOMnMIT;"}n"} ⎿ unknown: 19/33 test cases passed, 14 failed ❌ Test Case: Register a new user with unique email succeedsError:
|
96e57ac
to
c3f623c
Compare
c3f623c
to
6977926
Compare
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Note Free review on us!CodeRabbit is offering free reviews until Wed Oct 08 2025 to showcase some of the refinements we've made. Comment |
6977926
to
2769f84
Compare
e6bb550
to
0bab57d
Compare
0bab57d
to
d930854
Compare
d930854
to
b6f9cf7
Compare
This PR contains the following updates:
2.49.8
->2.58.0
Release Notes
supabase/supabase-js (@supabase/supabase-js)
v2.58.0
Compare Source
Bug Fixes
Features
v2.57.4
Compare Source
Bug Fixes
v2.57.3
Compare Source
Bug Fixes
v2.57.2
Compare Source
Bug Fixes
v2.57.1
Compare Source
Bug Fixes
v2.57.0
Compare Source
Features
userStorage
option to facilitate lower cookie sizes (#1545) (4ae856c)v2.56.1
Compare Source
Bug Fixes
v2.56.0
Compare Source
Features
v2.55.0
Compare Source
Features
v2.54.0
Compare Source
Features
v2.53.1
Compare Source
Bug Fixes
v2.53.0
Compare Source
Features
v2.52.1
Compare Source
Bug Fixes
v2.52.0
Compare Source
Features
v2.51.0
Compare Source
Features
v2.50.5
Compare Source
Bug Fixes
v2.50.4
Compare Source
Bug Fixes
v2.50.3
Compare Source
Bug Fixes
v2.50.2
Compare Source
Bug Fixes
v2.50.1
Compare Source
Bug Fixes
v2.50.0
Compare Source
Bug Fixes
Features
v2.49.10
Compare Source
Bug Fixes
v2.49.9
Compare Source
Bug Fixes
Configuration
📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.