Skip to content

Comments

feat:add BUILD_SYNC_ONLY variable to makefile#540

Closed
0xbrayo wants to merge 1 commit intoActivityWatch:masterfrom
0xbrayo:update-makefile
Closed

feat:add BUILD_SYNC_ONLY variable to makefile#540
0xbrayo wants to merge 1 commit intoActivityWatch:masterfrom
0xbrayo:update-makefile

Conversation

@0xbrayo
Copy link
Member

@0xbrayo 0xbrayo commented Jul 24, 2025

Important

Add SKIP_RUST_SERVER variable to Makefile to conditionally skip building and packaging aw-server.

  • Build Process:
    • Introduces SKIP_RUST_SERVER variable in Makefile to conditionally skip building aw-server.
    • Modifies aw-webui build condition to skip if SKIP_RUST_SERVER is true.
  • Packaging:
    • Updates package target to conditionally copy aw-server binary based on SKIP_RUST_SERVER.

This description was created by Ellipsis for 5b9c3e9. You can customize this summary. It will automatically update as commits are pushed.

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

Looks good to me! 👍

Reviewed everything up to 5b9c3e9 in 58 seconds. Click for details.
  • Reviewed 34 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 4 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. Makefile:1
  • Draft comment:
    PR title mentions BUILD_SYNC_ONLY variable but no related logic is present in the diff. Please update the title/description or include the variable implementation.
  • Reason this comment was not posted:
    Comment was not on a location in the diff, so it can't be submitted as a review comment.
2. Makefile:34
  • Draft comment:
    The compound condition 'ifneq ($(or $(filter true,$(SKIP_WEBUI)),$(filter true,$(SKIP_RUST_SERVER))),)' is valid but a brief inline comment explaining its intent would improve maintainability.
  • Reason this comment was not posted:
    Confidence changes required: 50% <= threshold 50% None
3. Makefile:95
  • Draft comment:
    In the package target, the conditional check for SKIP_RUST_SERVER is correct, but adding an inline comment to clarify that the server binary is omitted from the package when SKIP_RUST_SERVER is true would be beneficial.
  • Reason this comment was not posted:
    Confidence changes required: 30% <= threshold 50% None
4. Makefile:24
  • Draft comment:
    The conditional check styles differ across targets (aw-server uses 'ifeq' while aw-webui uses a compound 'ifneq'). Consider unifying these for consistency and readability.
  • Reason this comment was not posted:
    Confidence changes required: 33% <= threshold 50% None

Workflow ID: wflow_SdY8nlmn9tz3M9CD

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@codecov
Copy link

codecov bot commented Jul 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.15%. Comparing base (656f3c9) to head (5b9c3e9).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #540      +/-   ##
==========================================
- Coverage   70.81%   70.15%   -0.66%     
==========================================
  Files          51       51              
  Lines        2916     2939      +23     
==========================================
- Hits         2065     2062       -3     
- Misses        851      877      +26     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@0xbrayo
Copy link
Member Author

0xbrayo commented Jul 24, 2025

This for packaging with aw-tauri since it doesn't need the rust server but requires the aw-sync binary.

@ErikBjare
Copy link
Member

This is a build: not feat:

Just to note when squash merging

@ErikBjare
Copy link
Member

Maybe just create a different Makefile target to build aw-sync? I don't really think it makes sense to skip building the server for "make build" in the server.

Maybe add a Makefile to the aw-sync subdir with such a target.

@0xbrayo
Copy link
Member Author

0xbrayo commented Jul 25, 2025

I think I'll do make aw-sync instead. I missed it at first initially.

@0xbrayo 0xbrayo closed this Jul 25, 2025
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.

2 participants