Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

ci(robot): provisional 820 s PR-scope Postgres ceiling to measure after #7454

garrytan601c98f59922
diff --git a/.github/workflows/persistence-validation.yml b/.github/workflows/persistence-validation.yml
index d7e9caee1d..3beb5080ce 100644
--- a/.github/workflows/persistence-validation.yml
+++ b/.github/workflows/persistence-validation.yml
@@ -385,7 +385,7 @@ jobs:
DATABASE_URL: postgres://[email protected]:5432/gbrain_test
GBRAIN_PGBOUNCER_URL: postgres://[email protected]:55433/gbrain_test
ROBOT_SCOPE: ${{ (github.event_name == 'pull_request' || github.event_name == 'merge_group') && 'pr' || 'full' }}
- ROBOT_SECONDS: ${{ (github.event_name == 'pull_request' || github.event_name == 'merge_group') && (matrix.engine == 'postgres' && '1020' || '820') || (matrix.engine == 'postgres' && '1800' || '1200') }}
+ ROBOT_SECONDS: ${{ (github.event_name == 'pull_request' || github.event_name == 'merge_group') && (matrix.engine == 'postgres' && '820' || '820') || (matrix.engine == 'postgres' && '1800' || '1200') }}
ROBOT_EXPLORE: ${{ github.event_name == 'schedule' && 'nightly' || '' }}
run: >-
bun --no-env-file scripts/persistence/validate.ts --engine=${{ matrix.engine }}
diff --git a/test/scripts/data-safety-native-workflow.test.ts b/test/scripts/data-safety-native-workflow.test.ts
index 20ee1e61aa..38deabffa2 100644
--- a/test/scripts/data-safety-native-workflow.test.ts
+++ b/test/scripts/data-safety-native-workflow.test.ts
@@ -332,7 +332,7 @@ describe('data-safety native CI coverage', () => {
expect(job.services.pgbouncer?.env?.POOL_MODE).toBe('transaction');
const step = job.steps.find(entry => entry.run?.includes('scripts/persistence/validate.ts'));
expect(step?.env?.ROBOT_SCOPE).toBe("${{ (github.event_name == 'pull_request' || github.event_name == 'merge_group') && 'pr' || 'full' }}");
- expect(step?.env?.ROBOT_SECONDS).toBe("${{ (github.event_name == 'pull_request' || github.event_name == 'merge_group') && (matrix.engine == 'postgres' && '1020' || '820') || (matrix.engine == 'postgres' && '1800' || '1200') }}");
+ expect(step?.env?.ROBOT_SECONDS).toBe("${{ (github.event_name == 'pull_request' || github.event_name == 'merge_group') && (matrix.engine == 'postgres' && '820' || '820') || (matrix.engine == 'postgres' && '1800' || '1200') }}");
expect(step?.env?.ROBOT_EXPLORE).toBe("${{ github.event_name == 'schedule' && 'nightly' || '' }}");
expect(step?.env?.GBRAIN_PGBOUNCER_URL).toContain(':55433/');
const argv = (env: Record<string, string>) => Bun.spawnSync(['bash', '-e', '-o', 'pipefail', '-c', `