feat: dev-template configure verbose output + v1.7.36 - #92
Merged
Conversation
Rewrite dev-template-configure's output to be observable end-to-end. Every step prints what it's doing with a ✓ marker, so when something hangs or fails the user can see exactly which step bit them. Changes to dev-template-configure.sh: - Startup checks: 🔌 UIS bridge, 🔍 git identity, 📄 template-info.yaml each print their results before proceeding - Per-service section now shows the full resolved config (Database, K8s namespace, K8s secret prefix, Env var) before calling UIS - 📄 Init file: shows path, size, line count - 📡 Calling UIS: prints the literal copy-pasteable docker exec command with multi-line continuation, so users can reproduce calls outside DCT for debugging - Timing: each UIS call is timed; total time printed in summary box - 📦 UIS created: shows database, username, *** (hidden) password - 🔌 Port forward stacked diagram showing the full path: DCT → host.docker.internal → uis-provision-host → K8s pod with the "lives inside uis-provision-host" troubleshooting hint - 💾 Writing local URL to .env: shows file/key/masked-value - 🔐 K8s Secret report includes a Verify: kubectl... command - Summary box: counts (N configured, N skipped, N failed) + total time - 📋 Next steps: dynamic command list pulled from the last service's database name + secret + namespace Changes to lib/uis-bridge.sh: - Parses new fields from UIS JSON response: local.host, local.port, cluster.host, cluster.port, database, username, password - Resets all output globals at the start of each call to prevent stale data leaking between calls Also adds INVESTIGATE-host-identity-and-template-defaults.md to the backlog. Captures three related bugs (initializeCommand doesn't capture host git identity; templates don't default to repo name; dev-check doesn't know about host capture) and the design questions that need answering before they can become a plan. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dev-template configure— every step prints what it's doing with a ✓ marker, so when something hangs or fails the user can pinpoint exactly which step bit themWhat changes
.devcontainer/manage/dev-template-configure.shVerify: kubectl ...command(N configured, N skipped, N failed).devcontainer/manage/lib/uis-bridge.shlocal.host,local.port,cluster.host,cluster.port,database,username,passwordNew:
INVESTIGATE-host-identity-and-template-defaults.mdBacklog investigation capturing three related bugs that surfaced during the v1.7.35 E2E testing:
initializeCommanddoesn't capture host git identity (only hostname)my-appdefaults instead of using{{REPO_NAME}}dev-checkdoesn't know about host capture, reports git as NOT_CONFIGURED on fresh clonesInvestigation status: documents the problems + design questions, no plan yet.
Test plan
:1.7.36and:latestdev-template configurein a fresh container shows the new verbose output(0 configured, 1 skipped, 0 failed)with same password🤖 Generated with Claude Code