Commit ffbf2a1
committed
Fix unreachable fallback values in resolveServerUrl and stale null cache in RepositoryIdentityResolver
- Remove dead-code fallback arguments in resolveServerUrl since
resolvePrimaryEnvironmentBootstrapUrl() already contains a complete
fallback chain and always returns a non-empty string.
- Skip caching null identity results in RepositoryIdentityResolver so
that directories without a git remote are re-resolved on subsequent
calls, allowing later-configured remotes to be picked up.1 parent 9ac4003 commit ffbf2a1
File tree
2 files changed
+9
-12
lines changed- apps
- server/src/project/Layers
- web/src/lib
2 files changed
+9
-12
lines changedLines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 56 | + | |
62 | 57 | | |
63 | 58 | | |
64 | 59 | | |
| |||
0 commit comments