Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ coverage-report/
**/test-migrate.db
**/test-migrate.db-*

# dev-reset.ps1 transient logs (build/test/start output, kept locally for debugging)
# dev-reset.ps1 transient logs (build/start output, kept locally for debugging)
.dev-logs/

# Local artefact + backup folders produced by Build-Artifact.ps1 / manual zips
Expand Down
7 changes: 4 additions & 3 deletions docs/custom-activities.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ Audit codes: `CUSTOM_ACTIVITY_CREATED|UPDATED|DELETED|ENABLED|DISABLED|IMPORTED|
`activityCatalog.generated.ts` and its parity test are **untouched** — custom activities are a
runtime catalog, never the static one.
- Consumers wired via `isCustomActivityType` + runtime facts: palette (`activityCategories.ts`),
labels/icons (`shared.tsx`, `NodeLibrary.tsx`), node visuals (`nodes/activityConfig.ts`),
config form (`DynamicActivityConfig`), output variables (`upstreamVariables.ts`), and
PropertiesPanel remote/timeout gating.
labels (`shared.tsx`), node visuals (`nodes/activityConfig.ts` — `getActivityVisual` is also the
single source for the palette/picker glyph in `NodeLibrary.tsx`, which therefore carries no icon
or colour table of its own), config form (`DynamicActivityConfig`), output variables
(`upstreamVariables.ts`), and PropertiesPanel remote/timeout gating.

## System-configuration backup (ADR 0001)

Expand Down
42 changes: 9 additions & 33 deletions scripts/dev-reset.ps1
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
<#
.SYNOPSIS
Kill -> Build -> Test -> Start (NodePilot dev reset)
Kills all running backend/frontend processes, builds both, runs all tests,
then starts backend (http://localhost:5000) and frontend (http://localhost:5173).

.PARAMETER SkipTests
Skip all test runs and go straight to start.
Kill -> Build -> Start (NodePilot dev reset)
Kills all running backend/frontend processes, builds both, then starts
backend (http://localhost:5000) and frontend (http://localhost:5173).
Tests are not run here -- use scripts/nightly-tests.ps1 or a scoped
dotnet test / vitest run.

.PARAMETER SkipBuild
Skip the build step (still runs tests and restarts processes).
Skip the build step (still restarts processes).
#>
param(
[switch]$SkipTests = $true,
[switch]$SkipBuild = $false
)

Expand Down Expand Up @@ -121,29 +119,7 @@ if (-not $SkipBuild) {
}

# ---------------------------------------------------------------------------
# 3. Tests
# ---------------------------------------------------------------------------

if (-not $SkipTests) {

Invoke-Checked "Backend tests (dotnet test)" {
Set-Location $root
$log = Join-Path $logDir "test-backend-$ts.log"
dotnet test --logger "console;verbosity=normal" | Tee-Object -FilePath $log
if ($LASTEXITCODE -ne 0) { throw "Backend tests failed -- see $log" }
}

Invoke-Checked "Frontend tests (npm run test:run)" {
Set-Location $uiDir
$log = Join-Path $logDir "test-frontend-$ts.log"
cmd /c "npm run test:run" | Tee-Object -FilePath $log
if ($LASTEXITCODE -ne 0) { throw "Frontend tests failed -- see $log" }
}

}

# ---------------------------------------------------------------------------
# 4. Start backend
# 3. Start backend
# ---------------------------------------------------------------------------

Write-Step "Starting backend --> http://localhost:5000"
Expand All @@ -163,7 +139,7 @@ $beProc = Start-Process `
Write-Ok "Backend PID $($beProc.Id) -> $beOut"

# ---------------------------------------------------------------------------
# 5. Start frontend
# 4. Start frontend
# ---------------------------------------------------------------------------

Write-Step "Starting frontend --> http://localhost:5173"
Expand All @@ -182,7 +158,7 @@ $feProc = Start-Process `
Write-Ok "Frontend PID $($feProc.Id) -> $feOut"

# ---------------------------------------------------------------------------
# 6. Wait for backend to be ready
# 5. Wait for backend to be ready
# ---------------------------------------------------------------------------

Write-Step "Waiting for backend on :5000 ..."
Expand Down
274 changes: 0 additions & 274 deletions scripts/stress-test-100-executions.py

This file was deleted.

Loading
Loading