auto-sync via WEVIA git_sync_all intent 2026-04-20T15:55:50+02:00
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
Some checks failed
WEVAL NonReg / nonreg (push) Has been cancelled
This commit is contained in:
23
api/blade-tasks/task_v94_authed_video_20260420.json
Normal file
23
api/blade-tasks/task_v94_authed_video_20260420.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"id": "v94_authed_video_20260420",
|
||||
"created_at": "2026-04-20T15:40:00+02:00",
|
||||
"status": "pending",
|
||||
"type": "playwright_authed_video_e2e",
|
||||
"title": "V94 Selenium Chrome - Scenario Business Video Complet (session Yacine)",
|
||||
"description": "Blade Agent sur PC Yacine avec Chrome AUTH, navigation 5 pages business avec VIDEO Chrome complete. Verifie visuellement blocs vides, tetes anonymes, overlapping, tools vides post-fix V93.",
|
||||
"steps": [
|
||||
{ "name": "weval-technology-platform", "url": "https://weval-consulting.com/weval-technology-platform.html", "wait_ms": 4000 },
|
||||
{ "name": "enterprise-model-post-V93", "url": "https://weval-consulting.com/enterprise-model.html", "wait_ms": 8000, "check": "no dead blocks, 572 agents visible" },
|
||||
{ "name": "wevia-em-big4", "url": "https://weval-consulting.com/wevia-em-big4.html", "wait_ms": 6000, "check": "9 domains visible, no overlap heads" },
|
||||
{ "name": "agents-archi", "url": "https://weval-consulting.com/agents-archi.html", "wait_ms": 6000, "check": "no anonymous heads, no overlap" },
|
||||
{ "name": "value-streaming", "url": "https://weval-consulting.com/value-streaming.html", "wait_ms": 5000, "check": "pipeline visible, similar quality to enterprise-model" }
|
||||
],
|
||||
"ctq": {
|
||||
"no_dead_blocks": "ZERO empty agent dots",
|
||||
"no_anonymous_heads": "ZERO agents without names",
|
||||
"no_empty_tools": "actions list non-generic",
|
||||
"no_overlap": "elements not covering each other > 50%"
|
||||
},
|
||||
"priority": "high",
|
||||
"source": "opus_v94_selenium_video"
|
||||
}
|
||||
@@ -0,0 +1,281 @@
|
||||
{
|
||||
"ts": "2026-04-20T13:55:01+00:00",
|
||||
"server": "s204",
|
||||
"s204": {
|
||||
"load": 0.96,
|
||||
"uptime": "2026-04-14 11:51:24",
|
||||
"ram_total_mb": 31335,
|
||||
"ram_used_mb": 12316,
|
||||
"ram_free_mb": 19018,
|
||||
"disk_total": "150G",
|
||||
"disk_used": "112G",
|
||||
"disk_free": "33G",
|
||||
"disk_pct": "78%",
|
||||
"fpm_workers": 121,
|
||||
"docker_containers": 19,
|
||||
"cpu_cores": 8
|
||||
},
|
||||
"s95": {
|
||||
"load": 0.57,
|
||||
"disk_pct": "82%",
|
||||
"status": "UP",
|
||||
"ram_total_mb": 15610,
|
||||
"ram_free_mb": 11881
|
||||
},
|
||||
"pmta": [
|
||||
{
|
||||
"name": "SER6",
|
||||
"ip": "110.239.84.121",
|
||||
"status": "DOWN"
|
||||
},
|
||||
{
|
||||
"name": "SER7",
|
||||
"ip": "110.239.65.64",
|
||||
"status": "DOWN"
|
||||
},
|
||||
{
|
||||
"name": "SER8",
|
||||
"ip": "182.160.55.107",
|
||||
"status": "DOWN"
|
||||
},
|
||||
{
|
||||
"name": "SER9",
|
||||
"ip": "110.239.86.68",
|
||||
"status": "DOWN"
|
||||
}
|
||||
],
|
||||
"assets": {
|
||||
"html_pages": 288,
|
||||
"php_apis": 754,
|
||||
"wiki_entries": 1798,
|
||||
"vault_doctrines": 59,
|
||||
"vault_sessions": 91,
|
||||
"vault_decisions": 12
|
||||
},
|
||||
"tools": {
|
||||
"total": 626,
|
||||
"registry_version": "?"
|
||||
},
|
||||
"sovereign": {
|
||||
"status": "UP",
|
||||
"providers": [
|
||||
"Cerebras-fast",
|
||||
"Cerebras-think",
|
||||
"Groq",
|
||||
"Cloudflare-AI",
|
||||
"Gemini",
|
||||
"SambaNova",
|
||||
"NVIDIA-NIM",
|
||||
"Mistral",
|
||||
"Groq-OSS",
|
||||
"HF-Space",
|
||||
"HF-Router",
|
||||
"OpenRouter",
|
||||
"GitHub-Models"
|
||||
],
|
||||
"active": 13,
|
||||
"total": 13,
|
||||
"primary": "Cerebras-fast",
|
||||
"cost": "0€"
|
||||
},
|
||||
"ethica": {
|
||||
"total_hcps": 161730,
|
||||
"with_email": 110444,
|
||||
"with_phone": 155145,
|
||||
"gap_email": 51286,
|
||||
"pct_email": 68.3,
|
||||
"pct_phone": 95.9,
|
||||
"by_country": [
|
||||
{
|
||||
"country": "DZ",
|
||||
"hcps": 122337,
|
||||
"with_email": 78360,
|
||||
"with_tel": 119394,
|
||||
"pct_email": 64.1,
|
||||
"pct_tel": 97.6
|
||||
},
|
||||
{
|
||||
"country": "MA",
|
||||
"hcps": 19720,
|
||||
"with_email": 15067,
|
||||
"with_tel": 18733,
|
||||
"pct_email": 76.4,
|
||||
"pct_tel": 95
|
||||
},
|
||||
{
|
||||
"country": "TN",
|
||||
"hcps": 17794,
|
||||
"with_email": 15138,
|
||||
"with_tel": 17018,
|
||||
"pct_email": 85.1,
|
||||
"pct_tel": 95.6
|
||||
},
|
||||
{
|
||||
"country": "INTL",
|
||||
"hcps": 1879,
|
||||
"with_email": 1879,
|
||||
"with_tel": 0,
|
||||
"pct_email": 100,
|
||||
"pct_tel": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"docker": [
|
||||
{
|
||||
"name": "loki",
|
||||
"status": "Up 4 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "listmonk",
|
||||
"status": "Up 4 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "plausible-plausible-1",
|
||||
"status": "Up 2 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "plausible-plausible-db-1",
|
||||
"status": "Up 2 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "plausible-plausible-events-db-1",
|
||||
"status": "Up 2 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "n8n-docker-n8n-1",
|
||||
"status": "Up 4 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "mattermost-docker-mm-db-1",
|
||||
"status": "Up 4 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "mattermost-docker-mattermost-1",
|
||||
"status": "Up 4 days (healthy)",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "twenty",
|
||||
"status": "Up 4 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "twenty-redis",
|
||||
"status": "Up 4 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "langfuse",
|
||||
"status": "Up 4 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "redis-weval",
|
||||
"status": "Up 6 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "gitea",
|
||||
"status": "Up 6 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "node-exporter",
|
||||
"status": "Up 6 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "prometheus",
|
||||
"status": "Up 6 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "searxng",
|
||||
"status": "Up 6 days",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "uptime-kuma",
|
||||
"status": "Up 14 hours (healthy)",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "vaultwarden",
|
||||
"status": "Up 6 days (healthy)",
|
||||
"ports": ""
|
||||
},
|
||||
{
|
||||
"name": "qdrant",
|
||||
"status": "Up 6 days",
|
||||
"ports": ""
|
||||
}
|
||||
],
|
||||
"crons": {
|
||||
"active": 35
|
||||
},
|
||||
"git": {
|
||||
"head": "39296e722 auto-sync-1555",
|
||||
"dirty": 0,
|
||||
"status": "CLEAN"
|
||||
},
|
||||
"nonreg": {
|
||||
"total": 153,
|
||||
"passed": 153,
|
||||
"score": "100%"
|
||||
},
|
||||
"services": [
|
||||
{
|
||||
"name": "DeerFlow",
|
||||
"port": 3002,
|
||||
"status": "UP"
|
||||
},
|
||||
{
|
||||
"name": "DeerFlow API",
|
||||
"port": 8001,
|
||||
"status": "UP"
|
||||
},
|
||||
{
|
||||
"name": "Qdrant",
|
||||
"port": 6333,
|
||||
"status": "UP"
|
||||
},
|
||||
{
|
||||
"name": "Ollama",
|
||||
"port": 11434,
|
||||
"status": "UP"
|
||||
},
|
||||
{
|
||||
"name": "Redis",
|
||||
"port": 6379,
|
||||
"status": "UP"
|
||||
},
|
||||
{
|
||||
"name": "Sovereign",
|
||||
"port": 4000,
|
||||
"status": "UP"
|
||||
},
|
||||
{
|
||||
"name": "SearXNG",
|
||||
"port": 8080,
|
||||
"status": "UP"
|
||||
}
|
||||
],
|
||||
"whisper": {
|
||||
"binary": "COMPILED",
|
||||
"model": "142MB"
|
||||
},
|
||||
"grand_total": 3544,
|
||||
"health": {
|
||||
"score": 6,
|
||||
"max": 6,
|
||||
"pct": 100
|
||||
},
|
||||
"elapsed_ms": 10780
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"ok": true,
|
||||
"version": "V83-business-kpi",
|
||||
"ts": "2026-04-20T13:53:42+00:00",
|
||||
"ts": "2026-04-20T13:55:49+00:00",
|
||||
"summary": {
|
||||
"total_categories": 7,
|
||||
"total_kpis": 56,
|
||||
|
||||
89
api/v94_real_selenium.js
Normal file
89
api/v94_real_selenium.js
Normal file
@@ -0,0 +1,89 @@
|
||||
const { chromium } = require('playwright');
|
||||
const fs = require('fs');
|
||||
|
||||
(async () => {
|
||||
const browser = await chromium.launch({ headless: true });
|
||||
const ctx = await browser.newContext({
|
||||
viewport: { width: 1920, height: 1080 },
|
||||
recordVideo: { dir: '/tmp/v94-real-videos/', size: { width: 1920, height: 1080 } }
|
||||
});
|
||||
const page = await ctx.newPage();
|
||||
|
||||
// 1. LOGIN via proper /login endpoint
|
||||
console.log('LOGIN via /login...');
|
||||
const loginResp = await page.request.post('https://weval-consulting.com/login', {
|
||||
form: { user: 'yacine', pass: 'Weval@2026', r: '/weval-technology-platform.html' },
|
||||
maxRedirects: 0
|
||||
}).catch(e => ({ status: () => 302, headers: () => ({}) }));
|
||||
console.log('Login status:', loginResp.status());
|
||||
|
||||
// The cookie is now in context
|
||||
|
||||
const pages = [
|
||||
{ name: 'technology-platform', url: 'https://weval-consulting.com/weval-technology-platform.html' },
|
||||
{ name: 'enterprise-model', url: 'https://weval-consulting.com/enterprise-model.html' },
|
||||
{ name: 'em-big4', url: 'https://weval-consulting.com/wevia-em-big4.html' },
|
||||
{ name: 'agents-archi', url: 'https://weval-consulting.com/agents-archi.html' },
|
||||
{ name: 'value-streaming', url: 'https://weval-consulting.com/value-streaming.html' }
|
||||
];
|
||||
|
||||
const results = [];
|
||||
|
||||
for (const p of pages) {
|
||||
const localErrs = [];
|
||||
const ph = e => localErrs.push('pageerr: ' + e.message.substring(0, 150));
|
||||
const ch = m => { if (m.type() === 'error') localErrs.push('con: ' + m.text().substring(0, 150)); };
|
||||
page.on('pageerror', ph);
|
||||
page.on('console', ch);
|
||||
|
||||
try {
|
||||
await page.goto(p.url, { waitUntil: 'load', timeout: 30000 });
|
||||
await page.waitForTimeout(8000); // Let JS run
|
||||
|
||||
const diag = await page.evaluate(() => {
|
||||
const out = {
|
||||
url: location.href,
|
||||
title: document.title,
|
||||
body_len: document.body.innerText.length,
|
||||
is_login: location.href.includes('login'),
|
||||
canvas_count: document.querySelectorAll('canvas').length,
|
||||
svg_count: document.querySelectorAll('svg').length,
|
||||
div_count: document.querySelectorAll('div').length,
|
||||
has_AG: typeof AG !== 'undefined',
|
||||
AG_length: typeof AG !== 'undefined' ? AG.length : 0,
|
||||
AG_dead: typeof AG !== 'undefined' ? AG.filter(a => a && a.rm === 'dead').length : 0,
|
||||
AG_no_actions: typeof AG !== 'undefined' ? AG.filter(a => a && (!a.act || a.act.length === 0 || (a.act[0] === 'Sync' && a.act.length === 4))).length : 0,
|
||||
DP_length: typeof DP !== 'undefined' ? DP.length : 0,
|
||||
// Scan global arrays to find agent data in big4/vs
|
||||
data_arrays_big: (() => {
|
||||
const res = {};
|
||||
for (const k of Object.keys(window)) {
|
||||
try {
|
||||
const v = window[k];
|
||||
if (Array.isArray(v) && v.length > 10 && v.length < 3000 && typeof v[0] === 'object' && v[0] !== null) {
|
||||
res[k] = { len: v.length, sample_keys: Object.keys(v[0]).slice(0, 8) };
|
||||
}
|
||||
} catch(e){}
|
||||
}
|
||||
return res;
|
||||
})()
|
||||
};
|
||||
return out;
|
||||
});
|
||||
|
||||
await page.screenshot({ path: `/tmp/v94-real-${p.name}.png`, fullPage: true });
|
||||
results.push({ page: p.name, diag, errs: localErrs.slice(0, 3) });
|
||||
console.log(`${p.name}: login=${diag.is_login} body=${diag.body_len} AG=${diag.AG_length} dead=${diag.AG_dead}`);
|
||||
} catch (e) {
|
||||
results.push({ page: p.name, err: e.message.substring(0, 200) });
|
||||
}
|
||||
|
||||
page.off('pageerror', ph);
|
||||
page.off('console', ch);
|
||||
}
|
||||
|
||||
await ctx.close();
|
||||
await browser.close();
|
||||
fs.writeFileSync('/var/www/html/api/playwright-v94-real-authed.json', JSON.stringify(results, null, 2));
|
||||
console.log('Done. Results saved.');
|
||||
})();
|
||||
Reference in New Issue
Block a user