Commit graph

72 commits

Author SHA1 Message Date
Peter Steinberger
f3a98ee058
feat: add comprehensive Git worktree management with follow mode and enhanced UI (#452) 2025-07-26 15:06:18 +02:00
Peter Steinberger
9e825ff21e Improve release scripts and fix Node.js detection issues
- Fix unbound variable errors in install-node.sh and node-path-setup.sh
- Add release-progress.sh for visual release monitoring
- Add release-health-check.sh for comprehensive pre-release validation
- Add check-node-simple.sh as a simpler, more robust Node.js checker
- Create release-improved.sh with better state tracking and progress indicators
- Update release-state.sh with better timestamp tracking

These improvements address issues encountered during beta.13 release:
- Node.js detection failures due to unbound variables
- Lack of visibility into release progress
- No clear way to resume interrupted releases
- Missing pre-flight validation
2025-07-19 02:30:26 +02:00
Peter Steinberger
bc9f505026
Fix Ghostty terminal spawn issues with dynamic delays (#408)
* Fix Ghostty terminal spawn issues with dynamic delays

- Add isTerminalRunning() helper to check if terminal app is running
- Implement dynamic delays for Ghostty based on running state
  - 0.5s delay for warm start (already running)
  - 2.0s delay for cold start (needs to launch)
- Add window count checking to ensure UI is ready
- Fix issue where commands weren't executed when Ghostty had no windows

Fixes #371

* Fix CI: Skip Node.js check when using pre-built web artifacts

- Add SKIP_NODE_CHECK=true environment variable to Mac CI build step
- Prevents install-node.sh from failing when pnpm is not available
- CI downloads pre-built web artifacts, so Node.js/pnpm are not needed

* Fix CI: Properly handle pre-built web artifacts in Mac build

- Add early exit in build-web-frontend.sh when CI has pre-built artifacts
- Set CI=true environment variable in all Xcode build steps
- Update node-path-setup.sh to skip Node.js check in CI
- Copy pre-built artifacts directly without attempting rebuild
- This prevents pnpm dependency errors in CI environment

* Fix SwiftFormat modifier order issue

- Change 'static weak' to 'weak static' in AppDelegate
- SwiftFormat requires consistent modifier ordering

* Fix CI: Include native binaries in web artifacts

- Add web/native/ directory to uploaded artifacts
- Add web/bin/vt script to uploaded artifacts
- This ensures Mac tests can find the vibetunnel executable
- Fixes test failures due to missing server binary

* Fix CI: Copy native binaries from web artifacts in Mac CI

- Update artifact extraction to copy web/native/ directory
- Also copy web/bin/ directory for vt script
- Add debugging output to show native contents
- This ensures tests can find the vibetunnel executable
2025-07-18 17:24:30 +02:00
Peter Steinberger
bf65e7275b Improve release process and remove stray node folder 2025-07-17 02:34:59 +02:00
Peter Steinberger
d40a78b4f2
Synchronize repository base path from Mac app to web UI (#358) 2025-07-16 03:09:19 +02:00
Peter Steinberger
4cacb251b3 feat: normalize release titles to "VibeTunnel X.Y.Z Beta N" format
- Created normalize-release-titles.sh script to update existing releases
- Updated all 9 beta releases to use consistent title format
- Modified release.sh to use normalized format for future releases
- Changed from "VibeTunnel 1.0.0-beta.10" to "VibeTunnel 1.0.0 Beta 10"

This makes release titles more readable and consistent across all releases.
2025-07-15 19:41:49 +02:00
Peter Steinberger
7ba1ebbc38 feat: ensure releases show only per-version changelog
- Updated release.md documentation to emphasize per-release changelog behavior
- Added fix-release-changelogs.sh script to update existing releases
- Clarified that release script already extracts only specific version changes
- Script can fix releases that incorrectly show full changelog history

The release system already works correctly - it extracts only the specific
version's changelog. The issue was with some existing releases that somehow
got the full CHANGELOG.md content instead of the extracted version.
2025-07-15 19:29:26 +02:00
Peter Steinberger
8543d4b1e1 chore: move .github-config to mac/ directory
- Move .github-config from project root to mac/
- Update generate-appcast.sh to reference new location
- Keeps all Mac-specific configuration together
2025-07-15 19:22:50 +02:00
Peter Steinberger
68e6456aef
docs: Add Linux setup instructions and authentication documentation (#344)
Co-authored-by: Claude <noreply@anthropic.com>
2025-07-15 02:47:25 +02:00
Peter Steinberger
982c1ff927 Improve release scripts based on beta 9 lessons learned
- Add state tracking and resume capability to release process
- Create release-state.sh for tracking 9 major release steps
- Add --resume and --status flags to release.sh
- Fix private key format handling for sign_update tool
- Create clean key file (sparkle_ed_private_key) automatically
- Handle missing custom Node.js builds gracefully
- Add DerivedData app location fallback
- Create comprehensive release-checklist.sh script
- Update release documentation with critical learnings
- Enhance Stats.store documentation with setup instructions
- Add troubleshooting for 'Application not found' error
- Document fallback options for direct GitHub URLs
- Update all scripts to handle clean key file format

These improvements make the release process more reliable and
resilient to interruptions, with better error handling throughout.
2025-07-11 11:29:49 +02:00
Peter Steinberger
8538b499db Fix release script to handle app in DerivedData directory 2025-07-11 10:40:09 +02:00
Peter Steinberger
2bf9f8f8d5 Fix release script to handle missing custom Node.js build 2025-07-11 10:38:22 +02:00
Peter Steinberger
2dc37db0bb
Extract mobile detection to shared utility and reduce mobile font size (#310) 2025-07-11 10:24:06 +02:00
Peter Steinberger
015c9ca828 Add safeguards to prevent Sparkle signature key mismatches
- Updated generate-appcast.sh with prominent warnings about using -f flag
- Added critical warnings to release documentation (RELEASE.md and release-guide.md)
- Created validate-sparkle-signature.sh script to verify signatures before release
- Added pre-release checklist items for signature validation
- Documented the beta 8 incident and resolution

This ensures we always use the correct file-based private key and never accidentally use the keychain key that produces incompatible signatures.
2025-07-08 22:25:32 +02:00
Peter Steinberger
9c81ed9969 Fix unbound variable error in node-path-setup.sh
The script was failing with "VIBETUNNEL_BUILD_CLEAN_ENV: unbound variable"
when running under strict bash error checking (set -u). Fixed by using
parameter expansion with default value ${VAR:-} to handle cases where
the variable is not set.
2025-07-08 10:10:42 +01:00
Peter Steinberger
6b93fdbf41
Fix Homebrew library dependencies in release builds (#269) 2025-07-08 09:55:52 +01:00
Peter Steinberger
35cb3c3b3c Fix generate-appcast.sh to correctly parse repository name from git remote URL
- Strip .git suffix from repository name when parsing git remote URL
- This fixes the issue where gh api calls were failing with 404
2025-07-08 02:41:58 +01:00
Peter Steinberger
8c2fcc7488 Improve release process and fix configuration issues
- Add proper --dry-run support to release.sh that prevents file modifications
- Fix iOS Info.plist to use $(MARKETING_VERSION) and $(CURRENT_PROJECT_VERSION)
- Update CHANGELOG.md lookup to prefer project root location
- Add comprehensive RELEASE_PROCESS.md documentation
- Improve error messages and parameter validation in release script
- Fix confusing warnings about CHANGELOG.md location

These changes make the release process more robust and less error-prone.
2025-07-08 02:08:23 +01:00
Peter Steinberger
53b4aff571 Fix build warnings
- Fix 'variable was never mutated' warning in ScreencapService.swift
- Fix fnm env command syntax error in node-path-setup.sh
- Remove incorrect --use-on-cd flag usage

The duplicate rpath warning remains (needs Xcode project fix)
2025-07-08 01:16:42 +01:00
Peter Steinberger
1f1ca110dc Preserve Swift package resolution in build.sh
- Use Xcode's default derived data path by default
- Only use custom derived data in CI or when explicitly requested
- Prevents Swift packages from being re-resolved after each build
- No more need to close/reopen Xcode after building

Set USE_CUSTOM_DERIVED_DATA=YES to use the old behavior
2025-07-08 01:13:54 +01:00
Raghav Sethi
48ea8898fa
fix: resolve Xcode Node.js detection issues with fnm/homebrew conflicts (#246) (#253) 2025-07-08 00:44:05 +01:00
Peter Steinberger
85d9f3d17a
Unified control protocol and deferred screen recording permissions (#239) 2025-07-08 00:42:13 +01:00
Peter Steinberger
2f829215bc fix: correct SCRIPT_DIR detection for zsh compatibility in install-node.sh
The redundant SCRIPT_DIR assignment on line 20 used ${BASH_SOURCE[0]:-} which
would expand to an empty string in zsh, causing dirname "" to return the current
directory instead of the script's directory. This led to script failures when
not run from its own directory.

Since SCRIPT_DIR is already correctly set earlier (lines 11-15) with proper
zsh handling, the redundant line has been removed.
2025-07-06 03:38:47 +01:00
Tao Xu
c8389850a2
Merge branch 'main' into node-path-setup 2025-07-06 11:32:53 +09:00
hewigovens
89240a09a9
cleanup 2025-07-06 11:32:16 +09:00
Helmut Januschka
f3b2022d48
Integrate screencap functionality for remote screen sharing (#209)
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2025-07-06 03:31:34 +01:00
hewigovens
826d8de4c1
refactor: consolidate Node.js path setup into shared script and add fnm support 2025-07-06 11:09:32 +09:00
Peter Steinberger
45d8f97a30
Improve release scripts and add git app integration (#208) 2025-07-03 12:40:09 +01:00
devin-ai-integration[bot]
1d9112b9d3
Add SwiftLint and SwiftFormat Husky pre-commit hooks for iOS and mac (#165)
Co-authored-by: Peter Steinberger <steipete@gmail.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-07-01 06:24:59 +01:00
Peter Steinberger
8bc6e81549
feat: add comprehensive terminal title management (#124) 2025-06-30 04:15:09 +01:00
Billy Irwin
aeaecf9882
fix: handle missing .node-builds directory in build script (#142)
Check if .node-builds directory exists before attempting to find Node.js builds
to prevent errors when the directory hasn't been created yet.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-06-29 18:02:43 -07:00
Chris Reynolds
13b98308c9
fix: remove double shell-wrapping for aliases in vt script (#132) 2025-06-29 21:52:52 +01:00
Peter Steinberger
7f3fbe164a
feat: Add build output filtering to remove non-actionable warnings (#136) 2025-06-29 19:36:40 +01:00
Peter Steinberger
c3ad47baa4 fish hashing 2025-06-25 05:14:16 +02:00
Peter Steinberger
d1ed650261 igore file mod dates, just size 2025-06-25 04:46:04 +02:00
Peter Steinberger
f766efad82 improve stability 2025-06-25 04:32:21 +02:00
Peter Steinberger
b59a3808d7 unfuck build 2025-06-25 03:36:20 +02:00
Peter Steinberger
6dfc1eb7f4 re-patching somehow corrupts my build 2025-06-25 02:11:51 +02:00
Peter Steinberger
33abf13431 brute force clean 2025-06-25 02:11:51 +02:00
Peter Steinberger
a507376596 Modify Xcode script to be reliable on recompiles 2025-06-25 02:11:51 +02:00
Peter Steinberger
dd83acc575 use tar to speed up hash calculation by 10x 2025-06-25 02:11:51 +02:00
Peter Steinberger
b22d8995dd
Add comprehensive server tests and switch to Biome linter (#73) 2025-06-24 18:51:38 +02:00
Peter Steinberger
45fd5c476e Fixes SPA build 2025-06-24 02:07:25 +02:00
Peter Steinberger
b363355543 recompile native authenticate_pam for custom node 2025-06-24 01:16:38 +02:00
Peter Steinberger
5f6fad840b CI should never build node 2025-06-23 05:51:23 +02:00
Peter Steinberger
83b586f6f6 Improve release scripts based on beta 3 lessons learned
- Always use --account VibeTunnel for Sparkle signing
- Add automatic DMG volume cleanup to prevent resource errors
- Better handling of CHANGELOG.md location (check both mac/ and root)
- Add comprehensive RELEASE-LESSONS.md with all gotchas
- Add signature verification step to release process
- Improve error messages and debugging output
- Pass SPARKLE_ACCOUNT environment variable through scripts
2025-06-23 04:57:35 +02:00
Peter Steinberger
78251f72d2 Update scripts to look for appcast files in project root, not mac directory 2025-06-23 04:45:29 +02:00
Peter Steinberger
bafe06119b Improve release scripts with better error handling and key detection 2025-06-23 04:40:49 +02:00
Peter Steinberger
acdadc71d3 Fix project path in preflight check script 2025-06-23 04:26:53 +02:00
Peter Steinberger
3bc0e4de08 Update scripts for VibeTunnel-Mac.xcodeproj rename and add Sparkle key to gitignore 2025-06-23 04:25:29 +02:00