cli
cli copied to clipboard
fix: allows env var to override linked project id
What kind of change does this PR introduce?
Bug fix
What is the new behavior?
Setting SUPABASE_PROJECT_ID env var should override any linked project.
Additional context
Blocked on further testing.
Pull Request Test Coverage Report for Build 9757976962
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
- For more information on this, see Tracking coverage changes with pull request builds.
- To avoid this issue with future PRs, see these Recommended CI Configurations.
- For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
Details
- 10 of 10 (100.0%) changed or added relevant lines in 1 file are covered.
- 8 unchanged lines in 3 files lost coverage.
- Overall coverage decreased (-0.03%) to 61.383%
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| internal/utils/flags/project_ref.go | 1 | 85.71% |
| internal/storage/rm/rm.go | 2 | 89.53% |
| internal/gen/keys/keys.go | 5 | 11.76% |
| <!-- | Total: | 8 |
| Totals | |
|---|---|
| Change from base Build 9754745155: | -0.03% |
| Covered Lines: | 7021 |
| Relevant Lines: | 11438 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 9758923763
Details
- 10 of 10 (100.0%) changed or added relevant lines in 1 file are covered.
- 1 unchanged line in 1 file lost coverage.
- Overall coverage remained the same at 61.192%
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| internal/utils/flags/project_ref.go | 1 | 85.71% |
| <!-- | Total: | 1 |
| Totals | |
|---|---|
| Change from base Build 9757998779: | 0.0% |
| Covered Lines: | 7053 |
| Relevant Lines: | 11526 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 11739516067
Details
- 14 of 15 (93.33%) changed or added relevant lines in 2 files are covered.
- 8 unchanged lines in 3 files lost coverage.
- Overall coverage decreased (-0.04%) to 59.788%
| Changes Missing Coverage | Covered Lines | Changed/Added Lines | % |
|---|---|---|---|
| internal/unlink/unlink.go | 4 | 5 | 80.0% |
| <!-- | Total: | 14 | 15 |
| Files with Coverage Reduction | New Missed Lines | % |
|---|---|---|
| internal/utils/flags/project_ref.go | 1 | 85.71% |
| internal/storage/rm/rm.go | 2 | 89.53% |
| internal/gen/keys/keys.go | 5 | 12.9% |
| <!-- | Total: | 8 |
| Totals | |
|---|---|
| Change from base Build 11737033340: | -0.04% |
| Covered Lines: | 6383 |
| Relevant Lines: | 10676 |