trackslash
VAULT-162 P2 For an agent

Make `make validate` build the Release configuration

0
All issues

Description

Found 2026-11-15, releasing 2.3 (VAULT-160).

What happened

#770 passed make validate and merged, but the iOS app didn't compile in Release. VaultMainNavigationView read ScreenshotMode and UITestVaultStorage outside #if DEBUG, and both exist only in debug builds. The release lane stopped at the archive, so nothing was uploaded, and the fix is its own PR.

make validate builds and tests the Debug configuration only. Nothing before the release lane compiles Release, so code that only breaks there reaches main.

Change

  • Add a check to local-check.config.ts that compiles the iOS app and the Mac app in Release, without signing or archiving (for example xcodebuild build -configuration Release with CODE_SIGNING_ALLOWED=NO, on the simulator for iOS).
  • Measure what it adds to a run, and say so in the README's Validation section.
  • If it adds too much, compile only the package's app modules in Release rather than both apps.

Done when

A commit that uses a debug-only symbol outside #if DEBUG fails make validate.

Sub-issues

0

Linked issues

0

GitHub

0

No branches or pull requests linked.

Comments

0
No comments.