Skip to content

fix: honor non-interactive template defaults and Windows paths - #71

Merged
KofTwentyTwo merged 2 commits into
mainfrom
fix/native-noninteractive-init
Oct 30, 2026
Merged

KofTwentyTwo merged 2 commits into
mainfrom
fix/native-noninteractive-init

Conversation

@KofTwentyTwo

@KofTwentyTwo KofTwentyTwo commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

Non-interactive qqq init ignored manifest defaults and could wait for input when a template was unknown. On Windows, backslashes escaped Velocity path placeholders, and parsing an HTTPS template URL as a filesystem path stopped template downloads.

Apply and validate manifest defaults with explicit overrides, return NOT_FOUND for unknown templates without prompting, normalize template separators before interpolation, and let invalid local-path probes continue through the supported Git URL validation. Interactive template fallback remains covered.

Validation at a779db2c517f293beb0fa93b5b0f2b99847758a5:

  • Four non-interactive regressions and one Windows path regression failed before their fixes. The real Windows native initialization failure reproduced the HTTPS colon error.
  • Gitea Mac ARM64 run138 and Windows AMD64 run140 each pass the full Maven lifecycle, native build, then235 tests across26 reports with zero failures/errors/skips. Downloaded artifacts were independently checked for source, checksums, native architecture and test totals.
  • Hosted unit/build and CodeQL checks pass. This branch contains only the native fixes on top of main.

This qualifies CLI builds and native behavior; it does not publish a release or claim signing/notarization or Intel macOS coverage.

@KofTwentyTwo
KofTwentyTwo force-pushed the fix/native-noninteractive-init branch from a9ad139 to 3955dd8 Compare October 30, 2026 15:24
KofTwentyTwo and others added 2 commits October 30, 2026 10:46
Return NOT_FOUND for unknown templates without prompting. Preserve interactive fallback and validate non-interactive overrides.

Co-Authored-By: Codex (GPT-6) <noreply@openai.com>
Windows rejects HTTPS URLs as filesystem paths before Git can clone them. Fall through to supported Git URL validation when the local path probe is invalid.

Co-Authored-By: Codex <noreply@openai.com>
@KofTwentyTwo
KofTwentyTwo force-pushed the fix/native-noninteractive-init branch from d890d43 to a779db2 Compare October 30, 2026 15:47
@KofTwentyTwo
KofTwentyTwo marked this pull request as ready for review October 30, 2026 15:54
@KofTwentyTwo
KofTwentyTwo merged commit 74f4b88 into main Oct 30, 2026
11 checks passed
@KofTwentyTwo
KofTwentyTwo deleted the fix/native-noninteractive-init branch October 30, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant