- Sidebar.svelte: defer healthStore.refresh() until feature flags confirm health_monitor is enabled; skip entirely when disabled - health.js: remove throw error from catch block — log and return null instead, preventing 'Uncaught (in promise)' on expected 404 - test_report_audit_immutability.py: fix mock assertions — audit_service uses logger.reason/reflect/explore, not logger.info - HealthStore and Sidebar now produce zero network noise when FEATURES__HEALTH_MONITOR=false
15 lines
424 B
Bash
Executable File
15 lines
424 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# An example hook script to verify what is about to be committed
|
|
# by applypatch from an e-mail message.
|
|
#
|
|
# The hook should exit with non-zero status after issuing an
|
|
# appropriate message if it wants to stop the commit.
|
|
#
|
|
# To enable this hook, rename this file to "pre-applypatch".
|
|
|
|
. git-sh-setup
|
|
precommit="$(git rev-parse --git-path hooks/pre-commit)"
|
|
test -x "$precommit" && exec "$precommit" ${1+"$@"}
|
|
:
|