Skip to content

fix(ci): skip auto-assign for Dependabot bot users#15

Merged
arthur2jolly merged 5 commits intomainfrom
feat/tenant-22-update-tests
Mar 22, 2026
Merged

fix(ci): skip auto-assign for Dependabot bot users#15
arthur2jolly merged 5 commits intomainfrom
feat/tenant-22-update-tests

Conversation

@arthur2jolly
Copy link
Copy Markdown
Owner

Summary

Test plan

Add tenant_id to all factory creations across unit and feature tests.
Replace local createAuth/setupProject helpers with global Pest helpers.
Fix CL17 stranger to share tenant with owner. Update MigrationTest unique
index assertions to reflect composite (tenant_id, code/identifier) indexes.
Set TenantManager in test setups that mix factory creates with HTTP calls
to prevent UNIQUE constraint violations on artifact sequence numbers.
  - Add Tenant model, factory, and management commands (create, list, enable, disable, delete)
  - Add BelongsToTenant concern and TenantManager service
  - Add EnsureTenantActive middleware
  - Add tenant migrations (tenants table, tenant_id columns, unique constraints, superadmins)
  - Rename role to position in project_members table
  - Update existing models, controllers, and commands for tenant scoping
  - Update tests for multi-tenancy compatibility
@arthur2jolly arthur2jolly merged commit daddf77 into main Mar 22, 2026
6 checks passed
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.

1 participant