Deploy AIOS web (React glide grid + FastAPI slice)
Browse files- RELEASES.json +1 -1
- VERSION +1 -1
- web/public/AIOS_DEPLOY_RECEIPT +1 -1
- web/src/connectors/DatabasesTab.tsx +3 -3
RELEASES.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"current": "
|
| 3 |
"releases": []
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"current": "4461fb37b",
|
| 3 |
"releases": []
|
| 4 |
}
|
VERSION
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
4461fb37b
|
web/public/AIOS_DEPLOY_RECEIPT
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
|
|
|
|
| 1 |
+
922d5ae10576d0f712d67f52c5d78dced066ecd84358d6cff6c5a63aeba2ad7d
|
web/src/connectors/DatabasesTab.tsx
CHANGED
|
@@ -468,6 +468,9 @@ function amazonRefusalReason(reason: string, status = ""): string {
|
|
| 468 |
if (status === "FATAL" || lower.includes("fatal")) {
|
| 469 |
return "Amazon could not prepare this report. Check its date range and seller eligibility, then retry sync.";
|
| 470 |
}
|
|
|
|
|
|
|
|
|
|
| 471 |
// Old containers and persisted snapshots can still deliver the producer's diagnostic sentence.
|
| 472 |
if (!/REFUSED:|FATAL|\b\w*(?:Error|Exception)\b|GET_[A-Z_]+|[{}]|SQLSTATE|SELECT\s|report[ _-]?id\b|\bHTTP\s*(?:403|429)\b/i.test(text)) return text;
|
| 473 |
if (/required role|missing.*role|not granted|needs the/.test(lower) && !/already holds/.test(lower)) {
|
|
@@ -476,9 +479,6 @@ function amazonRefusalReason(reason: string, status = ""): string {
|
|
| 476 |
if (/\bHTTP\s*403\b|not allowed|already holds/.test(lower)) {
|
| 477 |
return "Amazon does not offer this report to this seller account. Check seller eligibility in Seller Central.";
|
| 478 |
}
|
| 479 |
-
if (/\bHTTP\s*429\b|throttl/.test(lower)) {
|
| 480 |
-
return "Amazon is limiting requests. Sync resumes after Amazon's waiting period.";
|
| 481 |
-
}
|
| 482 |
return "Amazon could not load this report. Retry sync; if it fails again, ask an administrator to review the Amazon connection.";
|
| 483 |
}
|
| 484 |
|
|
|
|
| 468 |
if (status === "FATAL" || lower.includes("fatal")) {
|
| 469 |
return "Amazon could not prepare this report. Check its date range and seller eligibility, then retry sync.";
|
| 470 |
}
|
| 471 |
+
if (/\bAmazonThrottled\b|\bTHROTTLED:|\bthrottled\s*\(429\)|\bHTTP\s*429\b/i.test(text)) {
|
| 472 |
+
return "Amazon is limiting requests. Wait, then retry sync.";
|
| 473 |
+
}
|
| 474 |
// Old containers and persisted snapshots can still deliver the producer's diagnostic sentence.
|
| 475 |
if (!/REFUSED:|FATAL|\b\w*(?:Error|Exception)\b|GET_[A-Z_]+|[{}]|SQLSTATE|SELECT\s|report[ _-]?id\b|\bHTTP\s*(?:403|429)\b/i.test(text)) return text;
|
| 476 |
if (/required role|missing.*role|not granted|needs the/.test(lower) && !/already holds/.test(lower)) {
|
|
|
|
| 479 |
if (/\bHTTP\s*403\b|not allowed|already holds/.test(lower)) {
|
| 480 |
return "Amazon does not offer this report to this seller account. Check seller eligibility in Seller Central.";
|
| 481 |
}
|
|
|
|
|
|
|
|
|
|
| 482 |
return "Amazon could not load this report. Retry sync; if it fails again, ask an administrator to review the Amazon connection.";
|
| 483 |
}
|
| 484 |
|