tests fixes and sprints work
This commit is contained in:
@@ -331,7 +331,7 @@ Before running tests offline or during rate-limited periods, warm the NuGet cach
|
||||
```bash
|
||||
# Warm cache with throttled requests to avoid 429 errors
|
||||
export NUGET_MAX_HTTP_REQUESTS=4
|
||||
dotnet restore src/StellaOps.sln --disable-parallel
|
||||
dotnet restore src/<Module>/StellaOps.<Module>.sln --disable-parallel
|
||||
|
||||
# Verify cache is populated
|
||||
ls ~/.nuget/packages | wc -l
|
||||
@@ -340,12 +340,14 @@ ls ~/.nuget/packages | wc -l
|
||||
```powershell
|
||||
# PowerShell equivalent
|
||||
$env:NUGET_MAX_HTTP_REQUESTS = "4"
|
||||
dotnet restore src\StellaOps.sln --disable-parallel
|
||||
dotnet restore src\<Module>\StellaOps.<Module>.sln --disable-parallel
|
||||
|
||||
# Verify cache
|
||||
(Get-ChildItem "$env:USERPROFILE\.nuget\packages").Count
|
||||
```
|
||||
|
||||
See docs/dev/SOLUTION_BUILD_GUIDE.md for the module solution list.
|
||||
|
||||
### Rate Limiting Mitigation
|
||||
|
||||
If encountering NuGet 429 (Too Many Requests) errors from package sources:
|
||||
@@ -392,7 +394,7 @@ docker compose -f devops/compose/docker-compose.ci.yaml up -d
|
||||
./devops/scripts/local-ci.sh smoke --no-restore
|
||||
|
||||
# 4. Or run specific category offline
|
||||
dotnet test src/StellaOps.sln \
|
||||
dotnet test src/<Module>/StellaOps.<Module>.sln \
|
||||
--filter "Category=Unit" \
|
||||
--no-restore \
|
||||
--no-build
|
||||
|
||||
Reference in New Issue
Block a user