flingit 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -21
- package/dist/cli/commands/logs.d.ts.map +1 -1
- package/dist/cli/commands/logs.js +7 -2
- package/dist/cli/commands/logs.js.map +1 -1
- package/dist/cli/commands/onboard.d.ts +11 -3
- package/dist/cli/commands/onboard.d.ts.map +1 -1
- package/dist/cli/commands/onboard.js +148 -51
- package/dist/cli/commands/onboard.js.map +1 -1
- package/dist/cli/commands/tun.d.ts +13 -0
- package/dist/cli/commands/tun.d.ts.map +1 -0
- package/dist/cli/commands/tun.js +188 -0
- package/dist/cli/commands/tun.js.map +1 -0
- package/dist/cli/deploy/bundler.d.ts.map +1 -1
- package/dist/cli/deploy/bundler.js +1 -0
- package/dist/cli/deploy/bundler.js.map +1 -1
- package/dist/cli/index.js +2 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/loaders/register-wasm.d.ts +12 -0
- package/dist/cli/loaders/register-wasm.d.ts.map +1 -0
- package/dist/cli/loaders/register-wasm.js +19 -0
- package/dist/cli/loaders/register-wasm.js.map +1 -0
- package/dist/cli/loaders/wasm-hooks.d.ts +54 -0
- package/dist/cli/loaders/wasm-hooks.d.ts.map +1 -0
- package/dist/cli/loaders/wasm-hooks.js +56 -0
- package/dist/cli/loaders/wasm-hooks.js.map +1 -0
- package/dist/cli/utils/onboarding-io-impl.d.ts +12 -0
- package/dist/cli/utils/onboarding-io-impl.d.ts.map +1 -0
- package/dist/cli/utils/onboarding-io-impl.js +85 -0
- package/dist/cli/utils/onboarding-io-impl.js.map +1 -0
- package/dist/cli/utils/onboarding-io.d.ts +60 -0
- package/dist/cli/utils/onboarding-io.d.ts.map +1 -0
- package/dist/cli/utils/onboarding-io.js +9 -0
- package/dist/cli/utils/onboarding-io.js.map +1 -0
- package/package.json +2 -1
- package/templates/default/skills/fling/SKILL.md +15 -0
|
@@ -108,6 +108,21 @@ npm exec fling cron history <name> # View invocation history
|
|
|
108
108
|
npm exec fling cron trigger <name> # Manually trigger a cron job
|
|
109
109
|
```
|
|
110
110
|
|
|
111
|
+
### Debugging Cron Jobs in Production
|
|
112
|
+
|
|
113
|
+
Each cron invocation logs "Running cron job <name>" at the start. To see all logs from a specific cron invocation:
|
|
114
|
+
|
|
115
|
+
1. **Find the invocation** by searching for the cron job name:
|
|
116
|
+
```bash
|
|
117
|
+
npm exec fling -- --prod logs --search "Running cron job daily-cleanup"
|
|
118
|
+
```
|
|
119
|
+
This shows log entries with Ray IDs like `[ray:abc12345]`.
|
|
120
|
+
|
|
121
|
+
2. **Filter by that Ray ID** to see all logs from that invocation:
|
|
122
|
+
```bash
|
|
123
|
+
npm exec fling -- --prod logs --ray abc12345
|
|
124
|
+
```
|
|
125
|
+
|
|
111
126
|
### Local vs Production (`--prod`)
|
|
112
127
|
|
|
113
128
|
Commands default to local environment. Use `--prod` for production:
|