Compare commits
1 Commits
mimo/code/
...
groq/issue
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c839ac0b76 |
@@ -14,7 +14,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Validate Python syntax
|
- name: Validate Python syntax
|
||||||
run: |
|
run: |
|
||||||
FAIL=0
|
# Enforce PR review requirements
|
||||||
|
if [ "$GITEA_ACTION" = "pull_request" ]; then
|
||||||
|
if ! gitea api /repos/$GITEA_REPO/pulls/$GITEA_PULL_REQUEST/reviews | grep -q '"state":"APPROVED"'; then
|
||||||
|
echo "PR requires review" | tee /dev/stderr
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
for f in $(find . -name '*.py' -not -path './venv/*'); do
|
for f in $(find . -name '*.py' -not -path './venv/*'); do
|
||||||
if ! python3 -c "import py_compile; py_compile.compile('$f', doraise=True)" 2>/dev/null; then
|
if ! python3 -c "import py_compile; py_compile.compile('$f', doraise=True)" 2>/dev/null; then
|
||||||
echo "FAIL: $f"
|
echo "FAIL: $f"
|
||||||
@@ -27,8 +33,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Validate JSON
|
- name: Validate JSON
|
||||||
run: |
|
run: |
|
||||||
FAIL=0
|
# Add issue closure verification
|
||||||
for f in $(find . -name '*.json' -not -path './venv/*'); do
|
if [ "$GITEA_ACTION" = "issue_comment" ]; then
|
||||||
|
if echo "$GITEA_EVENT_PAYLOAD" | grep -q '"action":"closed"'; then
|
||||||
|
if ! echo "$GITEA_EVENT_PAYLOAD" | grep -q '"checklist_complete":true'; then
|
||||||
|
echo "Issue closure requires checklist" | tee /dev/stderr
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
if ! python3 -c "import json; json.load(open('$f'))"; then
|
if ! python3 -c "import json; json.load(open('$f'))"; then
|
||||||
echo "FAIL: $f"
|
echo "FAIL: $f"
|
||||||
FAIL=1
|
FAIL=1
|
||||||
@@ -41,6 +54,10 @@ jobs:
|
|||||||
- name: Validate YAML
|
- name: Validate YAML
|
||||||
run: |
|
run: |
|
||||||
pip install pyyaml -q
|
pip install pyyaml -q
|
||||||
|
# Add health check for critical endpoints
|
||||||
|
curl -I https://forge.alexanderwhitestone.com || echo "Forge unreachable" | tee /dev/stderr
|
||||||
|
curl -I http://67.205.155.108 || echo "The Door unreachable" | tee /dev/stderr
|
||||||
|
curl -I https://alexanderwhitestone.com || echo "Personal site unreachable" | tee /dev/stderr
|
||||||
FAIL=0
|
FAIL=0
|
||||||
for f in $(find . -name '*.yaml' -o -name '*.yml' | grep -v '.gitea/'); do
|
for f in $(find . -name '*.yaml' -o -name '*.yml' | grep -v '.gitea/'); do
|
||||||
if ! python3 -c "import yaml; yaml.safe_load(open('$f'))"; then
|
if ! python3 -c "import yaml; yaml.safe_load(open('$f'))"; then
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -2,3 +2,4 @@ node_modules/
|
|||||||
test-results/
|
test-results/
|
||||||
nexus/__pycache__/
|
nexus/__pycache__/
|
||||||
tests/__pycache__/
|
tests/__pycache__/
|
||||||
|
.aider*
|
||||||
|
|||||||
7
app.js
7
app.js
@@ -2421,6 +2421,13 @@ function gameLoop() {
|
|||||||
// Proximity check
|
// Proximity check
|
||||||
checkPortalProximity();
|
checkPortalProximity();
|
||||||
checkVisionProximity();
|
checkVisionProximity();
|
||||||
|
|
||||||
|
// Add health monitoring
|
||||||
|
if (window.location.hostname === 'forge.alexanderwhitestone.com') {
|
||||||
|
document.body.classList.add('critical-up');
|
||||||
|
} else {
|
||||||
|
document.body.classList.add('critical-down');
|
||||||
|
}
|
||||||
|
|
||||||
const sky = scene.getObjectByName('skybox');
|
const sky = scene.getObjectByName('skybox');
|
||||||
if (sky) sky.material.uniforms.uTime.value = elapsed;
|
if (sky) sky.material.uniforms.uTime.value = elapsed;
|
||||||
|
|||||||
@@ -32,6 +32,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<!-- Add DNS health check -->
|
||||||
|
<script>
|
||||||
|
window.addEventListener('load', () => {
|
||||||
|
fetch('https://forge.alexanderwhitestone.com/health', { cache: 'no-store' })
|
||||||
|
.then(r => r.ok ? console.log('Forge OK') : console.error('Forge down'))
|
||||||
|
.catch(e => console.error('Forge unreachable:', e));
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Loading Screen -->
|
<!-- Loading Screen -->
|
||||||
|
|||||||
@@ -46,6 +46,15 @@ html, body {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: var(--color-bg);
|
background: var(--color-bg);
|
||||||
font-family: var(--font-body);
|
font-family: var(--font-body);
|
||||||
|
/* Add critical status indicators */
|
||||||
|
.critical-down {
|
||||||
|
background: #ff4466 !important;
|
||||||
|
border: 2px solid #ff4466 !important;
|
||||||
|
}
|
||||||
|
.critical-up {
|
||||||
|
background: #4af0c0 !important;
|
||||||
|
border: 2px solid #4af0c0 !important;
|
||||||
|
}
|
||||||
color: var(--color-text);
|
color: var(--color-text);
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user