@smartsoft001-mobilems/claude-plugins 2.69.0 → 2.71.0
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/package.json
CHANGED
|
@@ -336,19 +336,76 @@ If user chooses not to verify, end the command here.
|
|
|
336
336
|
|
|
337
337
|
**If workflow FAILED**:
|
|
338
338
|
|
|
339
|
-
|
|
340
|
-
## ❌ CI Pipeline Failed
|
|
339
|
+
1. **Get failed job logs**:
|
|
341
340
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
341
|
+
```bash
|
|
342
|
+
gh run view <run-id> --log-failed 2>&1 | tail -100
|
|
343
|
+
```
|
|
345
344
|
|
|
346
|
-
|
|
345
|
+
2. **Revert Linear task to "To Do"**:
|
|
347
346
|
|
|
348
|
-
|
|
347
|
+
If Linear task was provided and status was changed to "In Review":
|
|
348
|
+
- Move the parent task back to "To Do" status
|
|
349
|
+
- For tasks with subtasks: Move all subtasks that were changed to "In Review" back to "To Do"
|
|
349
350
|
|
|
350
|
-
|
|
351
|
-
|
|
351
|
+
3. **Add error comment to Linear task**:
|
|
352
|
+
|
|
353
|
+
Create a comment on the **parent task** with CI error details:
|
|
354
|
+
|
|
355
|
+
```markdown
|
|
356
|
+
## ❌ CI Build Failed
|
|
357
|
+
|
|
358
|
+
### Branch
|
|
359
|
+
|
|
360
|
+
`<branch-name>`
|
|
361
|
+
|
|
362
|
+
### Workflow
|
|
363
|
+
|
|
364
|
+
**Name**: <workflow-name>
|
|
365
|
+
**Run ID**: <run-id>
|
|
366
|
+
**URL**: https://github.com/<owner>/<repo>/actions/runs/<run-id>
|
|
367
|
+
|
|
368
|
+
### Error Details
|
|
369
|
+
|
|
370
|
+
```
|
|
371
|
+
<last 50-100 lines of error logs from gh run view --log-failed>
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
### Status
|
|
375
|
+
|
|
376
|
+
Task przywrócony do "To Do" z powodu błędu CI.
|
|
377
|
+
|
|
378
|
+
---
|
|
379
|
+
|
|
380
|
+
_Raport wygenerowany przez Claude Code_
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
4. **Show error to user**:
|
|
384
|
+
|
|
385
|
+
```markdown
|
|
386
|
+
## ❌ CI Pipeline Failed
|
|
387
|
+
|
|
388
|
+
**Workflow**: <workflow-name>
|
|
389
|
+
**Run ID**: <run-id>
|
|
390
|
+
**Conclusion**: failure
|
|
391
|
+
|
|
392
|
+
### Linear Task Status
|
|
393
|
+
|
|
394
|
+
⚠️ Task [linearTaskId] przywrócony do "To Do"
|
|
395
|
+
✅ Komentarz z błędem dodany do taska
|
|
396
|
+
|
|
397
|
+
### View logs
|
|
398
|
+
|
|
399
|
+
Run `gh run view <run-id> --log-failed` to see error details.
|
|
400
|
+
|
|
401
|
+
Or visit: https://github.com/<owner>/<repo>/actions/runs/<run-id>
|
|
402
|
+
|
|
403
|
+
### Następne kroki
|
|
404
|
+
|
|
405
|
+
1. Przeanalizuj błędy w CI
|
|
406
|
+
2. Napraw problemy lokalnie
|
|
407
|
+
3. Uruchom `/push-local` ponownie
|
|
408
|
+
```
|
|
352
409
|
|
|
353
410
|
Stop here if workflow failed.
|
|
354
411
|
|
|
@@ -485,7 +542,8 @@ Show complete summary:
|
|
|
485
542
|
8. **Deployment verification is optional**: Always ask user before starting the 10-minute verification process
|
|
486
543
|
9. **Read SITE_URL from .env.dev**: Use the SITE_URL variable from `.env.dev` file for QA verification
|
|
487
544
|
10. **Version comparison**: Compare `package.json` version with `<meta name="app-version">` tag on QA site
|
|
488
|
-
11. **
|
|
545
|
+
11. **Revert on CI failure**: If CI pipeline fails, move task back to "To Do" and add error comment
|
|
546
|
+
12. **Branch-specific post-push actions**:
|
|
489
547
|
- **`development` branch**: Offer deployment verification (CI monitoring + QA version check)
|
|
490
548
|
- **Feature branch (e.g., `MOB-123`)**: Check/create PR to `development` when all subtasks are ready
|
|
491
549
|
|
|
@@ -90,16 +90,6 @@ Before creating the commit, **always** run the following commands:
|
|
|
90
90
|
source ~/.nvm/nvm.sh && nvm use 18
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
2. **Format the code**:
|
|
94
|
-
|
|
95
|
-
```bash
|
|
96
|
-
npm run format
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
3. **Stage any formatting changes**:
|
|
100
|
-
- If `npm run format` modified any files, stage them with `git add`
|
|
101
|
-
- This ensures all committed code is properly formatted
|
|
102
|
-
|
|
103
93
|
### Step 5: Create Commit
|
|
104
94
|
|
|
105
95
|
Execute the commit with the generated message:
|
|
@@ -159,4 +149,4 @@ For Linear task "ENG-123: Add dark mode toggle to settings":
|
|
|
159
149
|
|
|
160
150
|
---
|
|
161
151
|
|
|
162
|
-
**Important**: Before committing, show the generated commit message to the user for approval.
|
|
152
|
+
**Important**: Before committing, show the generated commit message to the user for approval.
|
|
@@ -337,19 +337,76 @@ If user chooses not to verify, end the command here.
|
|
|
337
337
|
|
|
338
338
|
**If workflow FAILED**:
|
|
339
339
|
|
|
340
|
-
|
|
341
|
-
## ❌ CI Pipeline Failed
|
|
340
|
+
1. **Get failed job logs**:
|
|
342
341
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
342
|
+
```bash
|
|
343
|
+
gh run view <run-id> --log-failed 2>&1 | tail -100
|
|
344
|
+
```
|
|
346
345
|
|
|
347
|
-
|
|
346
|
+
2. **Revert Linear task to "To Do"**:
|
|
348
347
|
|
|
349
|
-
|
|
348
|
+
If Linear task was provided and status was changed to "In Review":
|
|
349
|
+
- Move the parent task back to "To Do" status
|
|
350
|
+
- For tasks with subtasks: Move all subtasks that were changed to "In Review" back to "To Do"
|
|
350
351
|
|
|
351
|
-
|
|
352
|
-
|
|
352
|
+
3. **Add error comment to Linear task**:
|
|
353
|
+
|
|
354
|
+
Create a comment on the **parent task** with CI error details:
|
|
355
|
+
|
|
356
|
+
```markdown
|
|
357
|
+
## ❌ CI Build Failed
|
|
358
|
+
|
|
359
|
+
### Branch
|
|
360
|
+
|
|
361
|
+
`<branch-name>`
|
|
362
|
+
|
|
363
|
+
### Workflow
|
|
364
|
+
|
|
365
|
+
**Name**: <workflow-name>
|
|
366
|
+
**Run ID**: <run-id>
|
|
367
|
+
**URL**: https://github.com/<owner>/<repo>/actions/runs/<run-id>
|
|
368
|
+
|
|
369
|
+
### Error Details
|
|
370
|
+
|
|
371
|
+
```
|
|
372
|
+
<last 50-100 lines of error logs from gh run view --log-failed>
|
|
373
|
+
```
|
|
374
|
+
|
|
375
|
+
### Status
|
|
376
|
+
|
|
377
|
+
Task przywrócony do "To Do" z powodu błędu CI.
|
|
378
|
+
|
|
379
|
+
---
|
|
380
|
+
|
|
381
|
+
_Raport wygenerowany przez Claude Code (flow-legacy)_
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
4. **Show error to user**:
|
|
385
|
+
|
|
386
|
+
```markdown
|
|
387
|
+
## ❌ CI Pipeline Failed
|
|
388
|
+
|
|
389
|
+
**Workflow**: <workflow-name>
|
|
390
|
+
**Run ID**: <run-id>
|
|
391
|
+
**Conclusion**: failure
|
|
392
|
+
|
|
393
|
+
### Linear Task Status
|
|
394
|
+
|
|
395
|
+
⚠️ Task [linearTaskId] przywrócony do "To Do"
|
|
396
|
+
✅ Komentarz z błędem dodany do taska
|
|
397
|
+
|
|
398
|
+
### View logs
|
|
399
|
+
|
|
400
|
+
Run `gh run view <run-id> --log-failed` to see error details.
|
|
401
|
+
|
|
402
|
+
Or visit: https://github.com/<owner>/<repo>/actions/runs/<run-id>
|
|
403
|
+
|
|
404
|
+
### Następne kroki
|
|
405
|
+
|
|
406
|
+
1. Przeanalizuj błędy w CI
|
|
407
|
+
2. Napraw problemy lokalnie
|
|
408
|
+
3. Uruchom `/push` ponownie
|
|
409
|
+
```
|
|
353
410
|
|
|
354
411
|
Stop here if workflow failed.
|
|
355
412
|
|
|
@@ -416,7 +473,8 @@ Angular 14 (legacy patterns)
|
|
|
416
473
|
7. **Document incomplete subtasks**: Always explain WHY a subtask wasn't completed
|
|
417
474
|
8. **Deployment verification is optional**: Always ask user before starting the verification process
|
|
418
475
|
9. **Read SITE_URL from .env.dev**: Use the SITE_URL variable from `.env.dev` file for QA verification
|
|
419
|
-
10. **
|
|
476
|
+
10. **Revert on CI failure**: If CI pipeline fails, move task back to "To Do" and add error comment
|
|
477
|
+
11. **Branch-specific post-push actions**:
|
|
420
478
|
- **`development` branch**: Offer deployment verification (CI monitoring + QA version check)
|
|
421
479
|
- **Feature branch (e.g., `MOB-123`)**: Check/create PR to `development` when all subtasks are ready
|
|
422
480
|
|