-
Notifications
You must be signed in to change notification settings - Fork 15
test: add a systems integration test project + api daemon tests #1830
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
e5e7732
f6521d8
6d3d623
b35da13
d4f90d6
33e88bc
1d9c76f
9253250
a5e9b83
bec54e4
dc7a449
3462e76
fa837db
9ff6462
071efea
9ae3f3c
4c2e212
7197956
ca5e84f
6d9796a
f0cfdfc
7c0d42a
22bb548
e5abbcb
0d7bee2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| { | ||
| "version": "4.25.3", | ||
| "version": "4.27.2", | ||
| "extraOrigins": [], | ||
| "sandbox": true, | ||
| "ssoSubIds": [], | ||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| { | ||
| "watch": [ | ||
| "dist/main.js" | ||
| ], | ||
| "ignore": [ | ||
| "node_modules", | ||
| "src", | ||
| ".env.*" | ||
| ], | ||
| "exec": "node $UNRAID_API_SERVER_ENTRYPOINT", | ||
| "signal": "SIGTERM", | ||
| "ext": "js,json", | ||
| "restartable": "rs", | ||
| "env": { | ||
| "NODE_ENV": "production" | ||
| } | ||
| } | ||
|
Comment on lines
+1
to
+17
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: Short answer: nodemon’s --exec runs your command directly (no shell), so shell $VAR expansion won’t happen. Run a shell explicitly (sh -c or bash -c) or put the env on the same command line. Examples:
References: Node child_process (spawn vs exec) and common patterns showing sh -c and nodemon in containers. [1][2][3] Sources
🏁 Script executed: # Check the nodemon version used in the project
cd api && cat package.json | grep -A 5 -B 5 nodemon || echo "nodemon not found in api/package.json"Repository: unraid/api Length of output: 1091 🏁 Script executed: # Check if there's a main project package.json
cat package.json | grep -A 5 -B 5 nodemon || echo "nodemon not found in root package.json"Repository: unraid/api Length of output: 92 🏁 Script executed: # Look for any documentation or configuration examples in the repo
find . -type f \( -name "*.md" -o -name "*.txt" \) -exec grep -l "nodemon\|UNRAID_API_SERVER_ENTRYPOINT" {} \; 2>/dev/null | head -20Repository: unraid/api Length of output: 90 🏁 Script executed: # Double-check: Look at the actual nodemon.json file being reviewed
cat api/nodemon.jsonRepository: unraid/api Length of output: 355 Fix nodemon The 🤖 Prompt for AI Agents |
||
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reword pnpm arg-passing guidance (current phrasing is misleading). (pnpm.io)
📝 Committable suggestion
🤖 Prompt for AI Agents