You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Three independent, verified changes (goal-scoped work, tasks #1/#4/#6):
- task build/package/build:server now echo their real output path on
success, and task run's darwin/linux/windows tasks gained a missing
deps: on build:native -- previously `task run` assumed a binary
already existed and would fail on a fresh clone, despite its name and
summary implying it's a standalone build+launch command (run:server
already had this right; desktop run: didn't).
- internal/adapters/execution.New now takes a full DSN (databaseURL)
instead of hardcoding "sqlite:"+dbPath internally. DBOS itself already
accepts Postgres/CockroachDB DSNs; the scheme choice moves to the
caller (main.go), which now reads MILL_EXECUTION_DATABASE_URL as an
override, falling back to the existing MILL_EXECUTION_DB_PATH/default
sqlite path unchanged. A regulated deployment needing an externally
managed audit database gets there via config, not an adapter rewrite.
- The three ADR-0006/ADR-0015 self-registration registries
(RegisterNodeType, RegisterTrigger, RegisterAuthStrategy) have two
different duplicate-key behaviors (panic vs silent overwrite),
undocumented until now. Recorded on all three functions plus a
SPEC.md cross-reference -- not a decision, just making a real,
previously-invisible inconsistency visible.
Verified: go vet, golangci-lint (0 issues), go test ./internal/...
-race -cover (all pass), go build for both desktop and
CGO_ENABLED=0-equivalent server tags, check-loc.sh,
check-rules-frontmatter.sh. Frontend checks skipped -- zero frontend
files touched, matching lefthook.yml's own glob scoping. Taskfile
run: fix verified via `task --dry` (confirms build:native now runs
before launch) plus one live task package run earlier in the session;
full live task run execution was blocked by resource contention with
an unrelated, pre-existing `task dev` session on this machine and
deliberately not forced.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FYwojT8GdUbYSoggbvEFft
Copy file name to clipboardExpand all lines: Taskfile.yml
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,11 +38,13 @@ tasks:
38
38
deps: [clean]
39
39
cmds:
40
40
- task: "{{.GOOS}}:build"
41
+
- 'echo "Built raw binary: {{.BIN_DIR}}/{{.APP_NAME}}{{exeExt}} -- this is NOT a launchable app bundle. Run `task package` to produce one, or `task run` to build and launch in one step."'
41
42
42
43
package:
43
44
summary: Packages a production build of the application
44
45
cmds:
45
46
- task: "{{.GOOS}}:package"
47
+
- '{{if eq .GOOS "darwin"}}echo "Packaged app: {{.BIN_DIR}}/{{.APP_NAME}}.app -- launch with: open {{.BIN_DIR}}/{{.APP_NAME}}.app"{{else if eq .GOOS "windows"}}echo "Packaged app: {{.BIN_DIR}}/{{.APP_NAME}}.exe"{{else}}echo "Packaged app: see {{.BIN_DIR}}/ for output"{{end}}'
46
48
47
49
run:
48
50
summary: Runs the application
@@ -70,6 +72,7 @@ tasks:
70
72
deps: [clean]
71
73
cmds:
72
74
- task: common:build:server
75
+
- 'echo "Built server binary: {{.BIN_DIR}}/{{.APP_NAME}}-server{{exeExt}} -- run with: ./{{.BIN_DIR}}/{{.APP_NAME}}-server{{exeExt}}"'
0 commit comments