Skip to content

Prevent runtime deletion when configured as primary runtime#872

Merged
Taucher2003 merged 2 commits intomainfrom
852-change-foreign-key-from-namespace_projectsprimary_runtime_id-to-runtimesid-from-cascade-to-restrict
Mar 8, 2026
Merged

Prevent runtime deletion when configured as primary runtime#872
Taucher2003 merged 2 commits intomainfrom
852-change-foreign-key-from-namespace_projectsprimary_runtime_id-to-runtimesid-from-cascade-to-restrict

Conversation

@Taucher2003
Copy link
Member

Closes #852

@Taucher2003 Taucher2003 self-assigned this Mar 7, 2026
@Taucher2003 Taucher2003 force-pushed the 852-change-foreign-key-from-namespace_projectsprimary_runtime_id-to-runtimesid-from-cascade-to-restrict branch from 1c7223b to a90a38a Compare March 7, 2026 23:38
@github-actions
Copy link

github-actions bot commented Mar 7, 2026

GitLab Pipeline Action

General information

Link to pipeline: https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/2370740001

Status: Passed
Duration: 4 minutes

Job summaries

rspec: [ee]

Coverage report available at https://code0-tech.gitlab.io/-/development/sagittarius/-/jobs/13398709058/artifacts/tmp/coverage/index.html
Test summary available at https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/2370740001/test_report
Finished in 25.84 seconds (files took 10.76 seconds to load)
1350 examples, 0 failures
Line Coverage: 91.64% (4759 / 5193)
[TEST PROF INFO] Time spent in factories: 00:14.041 (43.59% of total time)

rspec: [ce]

Coverage report available at https://code0-tech.gitlab.io/-/development/sagittarius/-/jobs/13398709057/artifacts/tmp/coverage/index.html
Test summary available at https://gitlab.com/code0-tech/development/sagittarius/-/pipelines/2370740001/test_report
Finished in 24.8 seconds (files took 13.86 seconds to load)
1303 examples, 0 failures
Line Coverage: 91.13% (4591 / 5038)
[TEST PROF INFO] Time spent in factories: 00:13.184 (40.03% of total time)

rubocop

766 files inspected, no offenses detected

@Taucher2003 Taucher2003 merged commit 239aeb8 into main Mar 8, 2026
1 check passed
@Taucher2003 Taucher2003 deleted the 852-change-foreign-key-from-namespace_projectsprimary_runtime_id-to-runtimesid-from-cascade-to-restrict branch March 8, 2026 01:13
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.

Change foreign key from namespace_projects(primary_runtime_id) to runtimes(id) from cascade to restrict

1 participant