Skip to content

Fix secrets check in release workflow#5

Merged
forketyfork merged 2 commits into
mainfrom
sign-macos-release
Dec 27, 2025
Merged

Fix secrets check in release workflow#5
forketyfork merged 2 commits into
mainfrom
sign-macos-release

Conversation

@forketyfork
Copy link
Copy Markdown
Owner

No description provided.

@forketyfork forketyfork merged commit 7715dde into main Dec 27, 2025
4 checks passed
@forketyfork forketyfork deleted the sign-macos-release branch December 27, 2025 07:35
forketyfork added a commit that referenced this pull request Jan 5, 2026
This commit addresses all review comments from Copilot and fixes the GitHub Actions build failure:

Build Fix:
- Made cwd.zig macOS-only with comptime check to prevent Linux build failures
- Added conditional import of cwd_mod in state.zig (struct{} for non-macOS)
- Added early return in updateCwd for non-macOS platforms

Review #1 - Ping-pong animation:
- Replaced sawtooth animation with smooth ping-pong pattern
- Animation now includes forward scroll, backward scroll, and idle at both ends
- Eliminates jarring jump back to start

Review #2 - Fade conditions:
- Fixed inverted fade logic
- fade_left now correctly triggers when scroll_offset > 0
- fade_right now correctly triggers when scroll_offset < scroll_range

Review #3 - Documentation:
- Added documentation clarifying cwd_basename is a subslice of cwd_path
- Documents lifetime dependency between the two fields

Review #4 & #5 - Silent failure logging:
- Added log warnings for basename buffer overflow
- Added log warnings for parent path buffer overflow
- Helps debugging when paths exceed buffer limits

Review #6 - Remove unused field:
- Removed cwd_marquee_offset field (animation uses current_time instead)
- Cleaned up unused code

All fixes tested with:
- zig build: Success
- zig build test: All tests pass
- zig fmt src/: Code formatted
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