Comments (2)
Hey :)
I implemented points 1. and 2. in the linked PR.
- If a task gets removed or doesn't exist in the first place, the exit code is now
1
. - If a task exists but didn't start yet, the client will wait for the task to start/finish instead of immediately exiting.
I see how this is an obvious UX improvement.
I'll have to write a few tests for this, since there're a few edge-case scenarios that I want test coverage for, but as far as I can see, it seems to work as expected. Feel free to check the branch.
from pueue.
I added some tests and I'm pretty confident that your requested change works as expected.
I'll go ahead and merge in the next few days, but it would be great if you could give this a test run.
from pueue.
Related Issues (20)
- Support Display the status of the waiting task only while waiting. HOT 14
- add task reading from stdin via pipe HOT 5
- Enqueue task with guaranteed execution after delay HOT 2
- Allow to disable parallel taks limit HOT 3
- [Bug] The coloum width of the `pueue status` output table is fixed to 1 HOT 2
- Edit task environment variables HOT 9
- [Bug] pueue log for a specific group fails with an obscure error HOT 4
- Make 'pueue add -g Group' add the Group if it doesn't exist HOT 3
- [Bug] Limiting status output falsly claims "Task list is empty" HOT 5
- Allow filtering task logs by groups via a `-g` flag HOT 1
- [Bug] HOT 6
- queue task killed HOT 2
- feat: use S3 to save std output and error HOT 1
- [Bug] Cannot specify stashed tasks as dependencies for the new tasks HOT 3
- [Bug] Pre built binary doesn't work on macOS HOT 1
- Install fails without `--locked` HOT 2
- Filter by `command %=` HOT 1
- OK to rename `Miscellaenous`? HOT 2
- Compiling from Git repo fails on Windows HOT 2
- Able to remove queued tasks from a group or clean/reset a specific group HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pueue.