Skip to content

Fix passing of client configs in settings#309

Merged
husseinmozannar merged 5 commits intomainfrom
more_settings_fix
Jul 31, 2025
Merged

Fix passing of client configs in settings#309
husseinmozannar merged 5 commits intomainfrom
more_settings_fix

Conversation

@husseinmozannar
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/magentic_ui/backend/teammanager/teammanager.py Outdated
Comment thread src/magentic_ui/backend/teammanager/teammanager.py Outdated
Copy link
Copy Markdown
Collaborator

@tylerpayne tylerpayne left a comment

Choose a reason for hiding this comment

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

Tests seemd to work but I did get this migration error:

2025-07-31 12:14:15.651 | INFO     | magentic_ui.backend.database.db_manager:initialize_database:134 - Checking database schema...
2025-07-31 12:14:15.652 | INFO     | magentic_ui.backend.database.schema_manager:ensure_schema_up_to_date:530 - Resetting migrations and updating to current schema...
2025-07-31 12:14:15.654 | INFO     | magentic_ui.backend.database.schema_manager:ensure_schema_up_to_date:535 - Cleared alembic directory
2025-07-31 12:14:15.654 | INFO     | magentic_ui.backend.database.schema_manager:ensure_schema_up_to_date:541 - Reset alembic version
2025-07-31 12:14:15.662 | INFO     | magentic_ui.backend.database.schema_manager:_initialize_alembic:130 - Alembic initialization complete
INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.autogenerate.compare] Detected added unique constraint None on '('user_id',)'
2025-07-31 12:14:15.692 | INFO     | magentic_ui.backend.database.schema_manager:ensure_schema_up_to_date:553 - Generated fresh migration: 10b1fe714ca7
INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
INFO  [alembic.runtime.migration] Running upgrade  -> 10b1fe714ca7, current_schema
2025-07-31 12:14:15.695 | ERROR    | magentic_ui.backend.database.schema_manager:upgrade_schema:442 - Schema upgrade failed: No support for ALTER of constraints in SQLite dialect. Please refer to the batch mode feature which allows for SQLite migrations using a copy-and-move strategy.

Comment thread src/magentic_ui/backend/teammanager/teammanager.py Outdated
Copy link
Copy Markdown
Collaborator

@cheng-tan cheng-tan left a comment

Choose a reason for hiding this comment

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

Also run into the migration error, and a small clean up

Comment thread src/magentic_ui/backend/teammanager/teammanager.py Outdated
@husseinmozannar husseinmozannar merged commit e2090fc into main Jul 31, 2025
9 checks passed
@husseinmozannar husseinmozannar deleted the more_settings_fix branch July 31, 2025 21:51
Sign up for free to 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.

3 participants