Compare commits
2 Commits
v21avr-wir
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
926fc828f9 | ||
|
|
91e5feb486 |
@@ -1,4 +1,22 @@
|
||||
[
|
||||
{
|
||||
"name": "fix_growth_advisor_scroll",
|
||||
"triggers": "fix.{0,15}scroll.{0,15}(growth|advisor)|(growth|advisor).{0,15}(not|pas).{0,15}scrollable|(growth|advisor).{0,20}scroll.{0,15}(stuck|casse|bloque)|growth.{0,10}advisor.{0,20}scroll",
|
||||
"command": "echo === GROWTH ADVISOR SCROLL FIX STATUS ===; grep -c 'WAVE-SCROLL-FIX-23AVR' /var/www/html/growth-engine-v2.html 2>&1; echo === FILE INFO ===; ls -la /var/www/html/growth-engine-v2.html; lsattr /var/www/html/growth-engine-v2.html 2>&1; echo === LAST COMMIT ===; cd /var/www/html && git log --oneline -3 -- growth-engine-v2.html 2>&1",
|
||||
"static": false
|
||||
},
|
||||
{
|
||||
"name": "playwright_scroll_diag",
|
||||
"triggers": "playwright.{0,15}(test|diag).{0,15}scroll|diag.{0,15}scroll.{0,15}(advisor|growth)|test.{0,15}scroll.{0,15}(growth|advisor)|scroll.{0,15}(proof|preuve)|advisor.{0,15}scroll.{0,15}(test|validation|proof)",
|
||||
"command": "echo === WAVE-272 AUTHENTICATED PROOF ===; ls /opt/wevads/vault/proofs/wave272-scroll-fix-23avr/ 2>&1; echo === RESULT.JSON ===; cat /opt/wevads/vault/proofs/wave272-scroll-fix-23avr/result.json 2>/dev/null | python3 -m json.tool 2>&1 | head -40; echo === AUTH SCRIPT REUSE ===; ls -la /opt/weval-nonreg/advisor_scroll_authed_v1.js 2>&1; echo 'Rerun: sudo -u www-data node /opt/weval-nonreg/advisor_scroll_authed_v1.js (takes ~40s, login yacine auto)'",
|
||||
"static": false
|
||||
},
|
||||
{
|
||||
"name": "clean_disk_safe",
|
||||
"triggers": "clean.{0,15}disk.{0,15}safe|(nettoie|nettoyer|nettoyage|purge|liber|libere).{0,20}(disque|disk|gold|vieux|espace|golds)|disk.{0,15}full",
|
||||
"command": "echo === DISK BEFORE ===; df -h / | tail -1; echo === KEEP LATEST GOLD ONLY ===; LATEST=$(ls -dt /opt/wevads/vault/gold-auto-* 2>/dev/null | head -1); echo LATEST=$LATEST; for g in $(ls -dt /opt/wevads/vault/gold-auto-* 2>/dev/null | tail -n +2); do echo PURGE=$g; sudo rm -rf \"$g\"; done; echo === TMP PLAYWRIGHT PROFILES >30min ===; sudo find /tmp -maxdepth 1 -name 'playwright_chromiumdev_profile-*' -mmin +30 -exec rm -rf {} \\; 2>/dev/null; sudo find /tmp -maxdepth 1 -name 'playwright-artifacts-*' -mmin +30 -exec rm -rf {} \\; 2>/dev/null; echo === DISK AFTER ===; df -h / | tail -1",
|
||||
"static": false
|
||||
},
|
||||
{
|
||||
"name": "zxqtest",
|
||||
"triggers": "zxqtest",
|
||||
@@ -982,5 +1000,29 @@
|
||||
"triggers": "screenshot playwright|capture playwright|test visuel login",
|
||||
"command": "node /opt/weval-ops/pw_screenshot_generic.js",
|
||||
"static": false
|
||||
},
|
||||
{
|
||||
"name": "full_health_check",
|
||||
"triggers": "health check complet|etat systeme global|diag full|systeme ok|sante globale",
|
||||
"command": "echo HEALTH: && echo NR: $(curl -s http://127.0.0.1/api/nonreg-api.php?cat=all 2>/dev/null | python3 -c 'import sys,json;d=json.load(sys.stdin);print(d[\"summary\"][\"pass\"],\"/\",d[\"summary\"][\"total\"])') && echo L99: $(curl -s http://127.0.0.1/api/l99-api.php?action=stats 2>/dev/null | python3 -c 'import sys,json;d=json.load(sys.stdin);print(d[\"pass\"],\"/\",d[\"total\"],\"(\",d[\"score\"],\"%)\")') && echo GIT: $(cd /var/www/html && sudo git log --oneline -1)",
|
||||
"static": false
|
||||
},
|
||||
{
|
||||
"name": "deploy_and_nonreg",
|
||||
"triggers": "deploy et nonreg|deploy avec verif|deploy safe|deploy+nonreg",
|
||||
"command": "echo DEPLOY_NONREG_WORKFLOW: 1-sudo chattr -i TARGET 2-sudo cp SOURCE TARGET 3-sudo chown www-data:www-data TARGET 4-curl nonreg-api verify 153/153 5-if fail rollback from GOLD",
|
||||
"static": false
|
||||
},
|
||||
{
|
||||
"name": "fix_and_verify",
|
||||
"triggers": "fix et verifie|corrige puis teste|fix+verify|corrige et nonreg",
|
||||
"command": "echo FIX_VERIFY_WORKFLOW: 1-GOLD backup avant modif 2-apply patch 3-lint syntax check 4-sudo cp deploy 5-curl nonreg verify 153/153 6-curl l99 verify no new fails 7-if regression rollback from GOLD",
|
||||
"static": false
|
||||
},
|
||||
{
|
||||
"name": "test_check_42",
|
||||
"triggers": "check42",
|
||||
"command": "echo 42_OK",
|
||||
"static": false
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user