Skip to content

Conversation

jfroche
Copy link
Collaborator

@jfroche jfroche commented Oct 10, 2025

Integrate bashlog framework throughout the test harness to provide better visibility and reduce default log output noise.

  • Add log_cmd function to capture command execution, stdout, and stderr to debug.log
  • Replace raw echo statements with structured log info/error/debug calls
  • Extract check_postgres_ready function to eliminate code duplication
  • Improve error handling with proper trap handling via on_exit function
  • Show debug logs only on test failures to reduce noise
  • Switch from 'set -e' to 'set -uo pipefail' for better error control
  • Migrate test harness to use writeShellApplication for better shell script handling, fix shellcheck warnings.
Integrate bashlog framework throughout the test harness to provide better visibility and debuggability: - Add log_cmd function to capture command execution, stdout, and stderr to debug.log - Replace raw echo statements with structured log info/error/debug calls - Extract check_postgres_ready function to eliminate code duplication - Improve error handling with proper trap handling via on_exit function - Show debug logs only on test failures to reduce noise - Switch from 'set -e' to 'set -uo pipefail' for better error control
@jfroche jfroche requested review from a team as code owners October 10, 2025 13:55
…lApplication Migrate test harness to use writeShellApplication for better shell script handling, fix shellcheck warnings.
@jfroche jfroche force-pushed the chore/harness-less-verbose branch from 4fc1725 to a80b66c Compare October 10, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant