Add --timings phase logs and named-env deploys #3

Merged
benvin merged 21 commits from benvin/timings into main 2026-11-08 21:55:08 +11:00

21 Commits

Author SHA1 Message Date
unkin-agent df0d8ff9f3 Merge remote-tracking branch 'origin/benvin/timings' into benvin/timings
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
# Conflicts:
#	internal/deploy/deploy.go
2026-11-08 21:47:44 +11:00
benvin 00199db589 Merge pull request 'Scope named deploys to their environments' (#4) from benvin/named-deploy into benvin/timings
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
Reviewed-on: #4
2026-11-08 21:46:15 +11:00
unkin-agent 94c73ed1e1 Merge remote-tracking branch 'origin/main' into benvin/timings 2026-11-08 21:43:24 +11:00
unkin-agent 11b89d6d5d Count worktree lock waits and assert timing counts, labels and --timings 2026-11-08 21:43:22 +11:00
unkin-agent d7369850db Keep in-flight work across concurrent Deploys 2026-11-08 21:40:33 +11:00
unkin-agent 6cadcbbf0e Merge remote-tracking branch 'origin/benvin/generate-types' into benvin/timings
# Conflicts:
#	internal/deploy/deploy.go
#	internal/deploy/forge.go
2026-11-08 21:40:03 +11:00
unkin-agent 260dd4fc78 Warn about corrected branch names only for envs being deployed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
2026-11-08 21:06:28 +11:00
unkin-agent 503db52306 Resolve named deploys over all branches and sources before filtering
- pick env winners over every branch, then select, so a named deploy matches a full deploy
- match env names across sources first, raw branch names only when no env matches
- report collision and invalid-name errors only for the named args
- add tests for collision losers, all-corrected collisions, prefixed sources and unrelated invalid branches
2026-11-08 21:04:45 +11:00
unkin-agent 3c43222238 Merge remote-tracking branch 'origin/benvin/timings' into benvin/named-deploy
# Conflicts:
#	internal/deploy/deploy_test.go
2026-11-08 21:03:29 +11:00
unkin-agent 5e468b2e8e Merge remote-tracking branch 'origin/benvin/scaffold' into benvin/named-deploy
# Conflicts:
#	internal/deploy/deploy.go
#	internal/deploy/forge.go
2026-11-08 21:02:45 +11:00
unkin-agent 4edc42329c Label waiters on in-flight work cache=shared and count panics as failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
- report cache=shared for callers that waited on another's once work
- drop the git module.resolve cache label
- recover deployEnv panics before its outcome is recorded
- count source fetch and branch errors as failed
2026-11-08 21:02:23 +11:00
unkin-agent 94bcdc19f4 Merge remote-tracking branch 'origin/benvin/timings' into benvin/named-deploy
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
# Conflicts:
#	internal/deploy/deploy.go
2026-11-08 20:49:07 +11:00
unkin-agent ba06c3bae7 Merge remote-tracking branch 'origin/benvin/generate-types' into benvin/timings
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
# Conflicts:
#	internal/deploy/deploy.go
#	internal/gentypes/generate.go
#	internal/gentypes/generate_test.go
2026-11-08 20:47:56 +11:00
unkin-agent 09f84fd752 Merge remote-tracking branch 'origin/benvin/timings' into benvin/named-deploy
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
2026-11-08 20:34:09 +11:00
unkin-agent 2e7644e2fa Merge remote-tracking branch 'origin/benvin/generate-types' into benvin/timings
# Conflicts:
#	internal/deploy/deploy.go
#	internal/deploy/deploy_test.go
#	internal/deploy/git.go
2026-11-08 20:33:44 +11:00
unkin-agent 7d457a89cf Clear GC marks for worktrees and modules a named deploy swaps in
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
2026-11-08 20:32:25 +11:00
unkin-agent cee4a1fb8d Scope named deploys to their envs and complete env args 2026-11-08 20:31:06 +11:00
unkin-agent 55224fd9f7 Report wait on leaf phases only and include it in module.download
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
2026-11-08 20:30:31 +11:00
unkin-agent dd1421f77c Drop named-deploy scoping and env completion 2026-11-08 20:30:31 +11:00
unkin-agent e7c72ed2d7 Test named deploys and timing phase keys
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
2026-11-08 20:20:22 +11:00
unkin-agent 1d4b995e1c Add --timings phase logs and scope named deploys to their environments 2026-11-08 20:18:44 +11:00