Skip to content

Conversation

MolotovCherry
Copy link
Contributor

@MolotovCherry MolotovCherry commented Mar 19, 2025

This is a follow up to #630 . After checking, flags indeed were causing the service start up fail. I have now tested them properly and fixed the issue.

The issue was that the rust binary expects the first arg to be the current exe, e.g. "C:\my-current-exe.exe", but I was not giving it.

This full expanded command now works (including profile too if specified).
R:\path\to\pueued.exe --config C:\path\to\pueue.yml service run

I did a small refactor in the process, cause why not

Checklist

Please make sure the PR adheres to this project's standards:

  • I included a new entry to the CHANGELOG.md.
  • I checked cargo clippy and cargo fmt. The CI will fail otherwise anyway.
  • (If applicable) I added tests for this feature or adjusted existing tests.
  • (If applicable) I checked if anything in the wiki needs to be changed.

- It needed the first arg to be the exe path.
- Did a refactor in the process to make things look nicer
Copy link

codecov bot commented Mar 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.01%. Comparing base (ea5c100) to head (d08eeaf).
Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #631   +/-   ##
=======================================
  Coverage   78.01%   78.01%           
=======================================
  Files          96       96           
  Lines        6786     6786           
=======================================
  Hits         5294     5294           
  Misses       1492     1492           

☔ 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.

@MolotovCherry MolotovCherry marked this pull request as draft March 19, 2025 04:09
@MolotovCherry
Copy link
Contributor Author

Still a draft at the moment. I'll mark it ready once I feel I'm good to proceed.

@MolotovCherry MolotovCherry marked this pull request as ready for review March 26, 2025 00:49
@MolotovCherry
Copy link
Contributor Author

I have done some testing, and it appears to work properly. Should be ready to go! 😄

@Nukesor
Copy link
Owner

Nukesor commented Mar 26, 2025

Awesome, thanks :)

In it goes.

@Nukesor Nukesor merged commit 96c29bb into Nukesor:main Mar 26, 2025
26 checks passed
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