detached 9db7836

chore(dx): verify generated assets in check

commit
9db7836c6e1e307df22f75e01353bd40286abbfd
author
brice · · 2026-06-24 12:20 UTC
committer
brice · · 2026-06-24 12:43 UTC
parent
eba3182
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
3 files · +5 -2
M CONTRIBUTING.md +1 -1
@@ -36,7 +36,7 @@ git push origin my-fix
3636
3737 **Systemviews assets:**
3838 1. If you modified systemviews files such as `cmd/systemviews/` or `.templ` components, run `make build-systemviews` to regenerate embedded WASM assets
39-2. Run `make check` to verify build, tests, and tools before committing
39+2. Run `make check` to verify tool versions, build, generated assets, tests, and constraints before committing
4040
4141 Keep commits focused and use single-line commit messages.
4242
@@ -36,7 +36,7 @@ git push origin my-fix
36 36
37 **Systemviews assets:**37 **Systemviews assets:**
38 1. If you modified systemviews files such as `cmd/systemviews/` or `.templ` components, run `make build-systemviews` to regenerate embedded WASM assets38 1. If you modified systemviews files such as `cmd/systemviews/` or `.templ` components, run `make build-systemviews` to regenerate embedded WASM assets
39-2. Run `make check` to verify build, tests, and tools before committing39+2. Run `make check` to verify tool versions, build, generated assets, tests, and constraints before committing
40 40
41 Keep commits focused and use single-line commit messages.41 Keep commits focused and use single-line commit messages.
42 42
M Makefile +3 -1
@@ -189,7 +189,7 @@ init: install-tools ## Initialize project dependencies and tools
189189 @echo "Project initialized! Run 'make help' for available commands."
190190
191191 # Check setup
192-check: ## Check that all tools and dependencies are working
192+check: ## Run local all-clear checks (tools, build, generated assets, tests, constraints)
193193 @echo "Checking project setup..."
194194 @echo "Go version:"
195195 @go version
@@ -199,6 +199,8 @@ check: ## Check that all tools and dependencies are working
199199 @golangci-lint version
200200 @echo "\nBuilding project..."
201201 @$(MAKE) build-quick
202+ @echo "\nVerifying generated systemviews artifacts..."
203+ @$(MAKE) verify-generated
202204 @echo "\nRunning tests..."
203205 @$(MAKE) test
204206 @echo "\nVerifying purego-only constraints..."
@@ -189,7 +189,7 @@ init: install-tools ## Initialize project dependencies and tools
189 @echo "Project initialized! Run 'make help' for available commands."189 @echo "Project initialized! Run 'make help' for available commands."
190 190
191 # Check setup191 # Check setup
192-check: ## Check that all tools and dependencies are working192+check: ## Run local all-clear checks (tools, build, generated assets, tests, constraints)
193 @echo "Checking project setup..."193 @echo "Checking project setup..."
194 @echo "Go version:"194 @echo "Go version:"
195 @go version195 @go version
@@ -199,6 +199,8 @@ check: ## Check that all tools and dependencies are working
199 @golangci-lint version199 @golangci-lint version
200 @echo "\nBuilding project..."200 @echo "\nBuilding project..."
201 @$(MAKE) build-quick201 @$(MAKE) build-quick
202+ @echo "\nVerifying generated systemviews artifacts..."
203+ @$(MAKE) verify-generated
202 @echo "\nRunning tests..."204 @echo "\nRunning tests..."
203 @$(MAKE) test205 @$(MAKE) test
204 @echo "\nVerifying purego-only constraints..."206 @echo "\nVerifying purego-only constraints..."
M README.md +1 -0
@@ -227,6 +227,7 @@ make build
227227 |--------|-------------|
228228 | `make build` | Build systemviews assets and binary |
229229 | `make build-quick` | Build binary only, skipping systemviews assets |
230+| `make check` | Run local all-clear checks for tools, build, generated assets, tests, and constraints |
230231 | `make dev` | Run with `go run` |
231232 | `make test` | Run tests |
232233 | `make lint` | Run the pinned golangci-lint version |
@@ -227,6 +227,7 @@ make build
227 |--------|-------------|227 |--------|-------------|
228 | `make build` | Build systemviews assets and binary |228 | `make build` | Build systemviews assets and binary |
229 | `make build-quick` | Build binary only, skipping systemviews assets |229 | `make build-quick` | Build binary only, skipping systemviews assets |
230+| `make check` | Run local all-clear checks for tools, build, generated assets, tests, and constraints |
230 | `make dev` | Run with `go run` |231 | `make dev` | Run with `go run` |
231 | `make test` | Run tests |232 | `make test` | Run tests |
232 | `make lint` | Run the pinned golangci-lint version |233 | `make lint` | Run the pinned golangci-lint version |

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close