aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-08-09 20:36:11 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-08-09 20:36:11 +0300
commite2aa86a9e8b6445488ef11b2c0a8b4c22a6f79ce (patch)
treeea3ea433fca073ae8e0636f42a4c4bf03ea87777 /justfile
parent4e31084495120674a0cf403a27d3d91c5efb34fe (diff)
test: guard pane-scaled render performance
refs #2550
Diffstat (limited to 'justfile')
-rw-r--r--justfile18
1 files changed, 17 insertions, 1 deletions
diff --git a/justfile b/justfile
index 4294d06f..f7a0e2e7 100644
--- a/justfile
+++ b/justfile
@@ -4,6 +4,7 @@
test:
cargo nextest run --locked --status-level fail --final-status-level fail --failure-output final --success-output never
python3 -m unittest scripts.test_agent_detection_manifest_check scripts.test_changelog scripts.test_config_reference_check scripts.test_docs_translation_parity scripts.test_hermes_integration_asset scripts.test_package_windows_conpty scripts.test_preview scripts.test_unix_installer scripts.test_vendor_libghostty_vt scripts.test_vendor_portable_pty
+ just ui-hot-path-architecture-test
just integration-assets-test
just plugin-marketplace-test
@@ -11,6 +12,10 @@ test:
test-one filter:
cargo nextest run --locked "{{filter}}" --status-level fail --final-status-level fail --failure-output final --success-output never
+# Enforce deterministic UI hot-path architecture boundaries
+ui-hot-path-architecture-test:
+ python3 -m unittest scripts.test_ui_hot_path_architecture
+
# Run fast local lint checks
[unix]
lint:
@@ -26,6 +31,7 @@ lint:
[unix]
ci filter='all()': lint
cargo nextest run --locked -E "{{filter}}" --status-level fail --final-status-level slow --failure-output final --success-output never
+ just ui-hot-path-architecture-test
just integration-assets-test
just plugin-marketplace-test
@@ -57,6 +63,10 @@ install-hooks:
build:
cargo build --release --locked
+# Non-gating full-render scaling profile for background workspaces and active panes
+bench-render-scale:
+ cargo test --release --locked --bin herdr render_scale_profile -- --ignored --nocapture --test-threads=1
+
# Build the website and documentation
website-build:
cd website && bun install --frozen-lockfile && bun run build
@@ -113,6 +123,12 @@ release-docs-check:
just website-build
cd website && bun run build:draft
+# Validate release docs and review full-render scaling before release preparation
+pre-release-check:
+ just release-docs-check
+ just bench-render-scale
+ @echo "release review required: investigate material render-scaling regressions before publishing."
+
# Prepare the release commit without tagging or pushing (usage: just release-prepare 0.1.1)
release-prepare version:
@printf '%s\n' '{{version}}' | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$' || { \
@@ -128,7 +144,7 @@ release-prepare version:
echo "error: tag v{{version}} already exists"; \
exit 1; \
fi
- just release-docs-check
+ just pre-release-check
python3 scripts/changelog.py prepare --version {{version}}
cp CHANGELOG.md docs/next/CHANGELOG.md
sed -i.bak 's/^version = ".*"/version = "{{version}}"/' Cargo.toml && rm -f Cargo.toml.bak