|
31524 | 31524 | "run": 3, |
31525 | 31525 | "sourcePath": "codex-gpt-5.6-luna/build-cli-002-declarative-schema/run-3/result.json" |
31526 | 31526 | }, |
31527 | | - { |
31528 | | - "experiment": "codex-gpt-5.6-luna", |
31529 | | - "experimentSuite": "benchmark", |
31530 | | - "experimentDisplay": { |
31531 | | - "agent": "codex", |
31532 | | - "modelProvider": "openai", |
31533 | | - "modelId": "gpt-5.6-luna", |
31534 | | - "reasoningEffort": "medium" |
31535 | | - }, |
31536 | | - "eval": "build-cli-003-pg-cron-queue-workflow", |
31537 | | - "stage": "build", |
31538 | | - "product": [ |
31539 | | - "database", |
31540 | | - "edge-functions", |
31541 | | - "cron", |
31542 | | - "queues" |
31543 | | - ], |
31544 | | - "topic": [ |
31545 | | - "sql", |
31546 | | - "sdk" |
31547 | | - ], |
31548 | | - "suite": "benchmark", |
31549 | | - "interface": "cli", |
31550 | | - "passed": true, |
31551 | | - "checks": [ |
31552 | | - { |
31553 | | - "name": "pg_cron job 'enqueue-tasks' scheduled to run every minute", |
31554 | | - "passed": true, |
31555 | | - "notes": "schedule='* * * * *', active=true" |
31556 | | - }, |
31557 | | - { |
31558 | | - "name": "cron command enqueues to the 'tasks' queue", |
31559 | | - "passed": true, |
31560 | | - "notes": "queue depth 0 -> 1" |
31561 | | - }, |
31562 | | - { |
31563 | | - "name": "process-tasks function drains the queue", |
31564 | | - "passed": true, |
31565 | | - "notes": "function removed the seeded message (id 4) from the queue" |
31566 | | - } |
31567 | | - ], |
31568 | | - "skills": { |
31569 | | - "available": [ |
31570 | | - "supabase", |
31571 | | - "supabase-postgres-best-practices" |
31572 | | - ], |
31573 | | - "loaded": [ |
31574 | | - "supabase", |
31575 | | - "supabase-postgres-best-practices" |
31576 | | - ] |
31577 | | - }, |
31578 | | - "docs": { |
31579 | | - "calls": [ |
31580 | | - { |
31581 | | - "source": "shell_fetch", |
31582 | | - "query": "/bin/bash -lc \"printf '%s\\\\n' '--- version/help ---' && supabase --version && supabase functions --help && printf '%s\\\\n' '--- config ---' && sed -n '1,240p' supabase/config.toml && printf '%s\\\\n' '--- existing migration ---' && sed -n '1,240p' supabase/migrations/20260101000000_enable_cron_and_queues.sql && printf '%s\\\\n' '--- changelog ---' && curl -L --max-time 20 -s https://supabase.com/changelog.md | head -120 && printf '%s\\\\n' '--- dirs ---' && find supabase -maxdepth 3 -type f -print\"", |
31583 | | - "pages": [ |
31584 | | - { |
31585 | | - "url": "https://supabase.com/changelog.md" |
31586 | | - } |
31587 | | - ], |
31588 | | - "resultChars": 6850 |
31589 | | - } |
31590 | | - ] |
31591 | | - }, |
31592 | | - "prompt": "I want to set up a recurring background workflow on my local Supabase stack.\n\nCan you set up a cron job called `enqueue-tasks` to run every minute and push a task into a queue called `tasks`? Then add a `process-tasks` edge function that reads messages off the `tasks` queue and removes them, so a scheduled worker can keep the backlog drained.", |
31593 | | - "promptSourcePath": "evals/build-cli-003-pg-cron-queue-workflow/PROMPT.md", |
31594 | | - "run": 1, |
31595 | | - "sourcePath": "codex-gpt-5.6-luna/build-cli-003-pg-cron-queue-workflow/run-1/result.json" |
31596 | | - }, |
31597 | 31527 | { |
31598 | 31528 | "experiment": "codex-gpt-5.6-luna", |
31599 | 31529 | "experimentSuite": "benchmark", |
@@ -31648,123 +31578,28 @@ |
31648 | 31578 | "docs": { |
31649 | 31579 | "calls": [ |
31650 | 31580 | { |
31651 | | - "source": "shell_fetch", |
31652 | | - "query": "/bin/bash -lc \"printf '%s\\\\n' '--- config ---' && sed -n '1,260p' supabase/config.toml && printf '%s\\\\n' '--- migration ---' && sed -n '1,260p' supabase/migrations/20260101000000_enable_cron_and_queues.sql && printf '%s\\\\n' '--- cli ---' && supabase --version && printf '%s\\\\n' '--- help snippets ---' && supabase migration new --help && supabase functions --help && printf '%s\\\\n' '--- changelog ---' && curl -L --fail --silent https://supabase.com/changelog.md | rg -i -C 2 'cron|queue|edge function' | head -100 && printf '%s\\\\n' '--- docs ---' && curl -L --fail --silent https://supabase.com/docs/guides/queues/quickstart.md | head -120\"", |
31653 | | - "pages": [ |
31654 | | - { |
31655 | | - "url": "https://supabase.com/changelog.md" |
31656 | | - }, |
31657 | | - { |
31658 | | - "url": "https://supabase.com/docs/guides/queues/quickstart.md" |
31659 | | - } |
31660 | | - ], |
31661 | | - "resultChars": 13526 |
31662 | | - }, |
31663 | | - { |
31664 | | - "source": "shell_fetch", |
31665 | | - "query": "/bin/bash -lc \"printf '%s\\\\n' '--- cron docs ---' && curl -L --fail --silent https://supabase.com/docs/guides/cron/quickstart.md | rg -n -C 3 'schedule|job|sql|pg_cron' | head -160 && printf '%s\\\\n' '--- queue api ---' && curl -L --fail --silent https://supabase.com/docs/guides/queues/api.md | rg -n -C 3 'create|read|pop|delete|send' | head -220 && printf '%s\\\\n' '--- local status ---' && supabase status || true && printf '%s\\\\n' '--- directory detail ---' && find supabase -maxdepth 3 -type f -print | sort\"", |
31666 | | - "pages": [ |
31667 | | - { |
31668 | | - "url": "https://supabase.com/docs/guides/cron/quickstart.md" |
31669 | | - }, |
31670 | | - { |
31671 | | - "url": "https://supabase.com/docs/guides/queues/api.md" |
31672 | | - } |
31673 | | - ], |
31674 | | - "resultChars": 4091 |
| 31581 | + "source": "web_search", |
| 31582 | + "query": "site:supabase.com/docs pgmq pg_cron Supabase local queue edge function read remove messages", |
| 31583 | + "pages": [] |
31675 | 31584 | } |
31676 | 31585 | ] |
31677 | 31586 | }, |
31678 | | - "prompt": "I want to set up a recurring background workflow on my local Supabase stack.\n\nCan you set up a cron job called `enqueue-tasks` to run every minute and push a task into a queue called `tasks`? Then add a `process-tasks` edge function that reads messages off the `tasks` queue and removes them, so a scheduled worker can keep the backlog drained.", |
31679 | | - "promptSourcePath": "evals/build-cli-003-pg-cron-queue-workflow/PROMPT.md", |
31680 | | - "run": 2, |
31681 | | - "sourcePath": "codex-gpt-5.6-luna/build-cli-003-pg-cron-queue-workflow/run-2/result.json" |
31682 | | - }, |
31683 | | - { |
31684 | | - "experiment": "codex-gpt-5.6-luna", |
31685 | | - "experimentSuite": "benchmark", |
31686 | | - "experimentDisplay": { |
31687 | | - "agent": "codex", |
31688 | | - "modelProvider": "openai", |
31689 | | - "modelId": "gpt-5.6-luna", |
31690 | | - "reasoningEffort": "medium" |
31691 | | - }, |
31692 | | - "eval": "build-cli-003-pg-cron-queue-workflow", |
31693 | | - "stage": "build", |
31694 | | - "product": [ |
31695 | | - "database", |
31696 | | - "edge-functions", |
31697 | | - "cron", |
31698 | | - "queues" |
31699 | | - ], |
31700 | | - "topic": [ |
31701 | | - "sql", |
31702 | | - "sdk" |
31703 | | - ], |
31704 | | - "suite": "benchmark", |
31705 | | - "interface": "cli", |
31706 | | - "passed": false, |
31707 | | - "checks": [ |
31708 | | - { |
31709 | | - "name": "pg_cron job 'enqueue-tasks' scheduled to run every minute", |
31710 | | - "passed": true, |
31711 | | - "notes": "schedule='* * * * *', active=true" |
31712 | | - }, |
31713 | | - { |
31714 | | - "name": "cron command enqueues to the 'tasks' queue", |
31715 | | - "passed": true, |
31716 | | - "notes": "queue depth 0 -> 1" |
31717 | | - }, |
| 31587 | + "usage": [ |
31718 | 31588 | { |
31719 | | - "name": "process-tasks function drains the queue", |
31720 | | - "passed": false, |
31721 | | - "notes": "function returned 200 but message 3 is still queued, so it was read but never removed" |
| 31589 | + "model": "gpt-5.6-luna", |
| 31590 | + "inputTokens": 761814, |
| 31591 | + "cacheReadInputTokens": 707849, |
| 31592 | + "cacheWriteInputTokens": 53896, |
| 31593 | + "outputTokens": 7108 |
31722 | 31594 | } |
31723 | 31595 | ], |
31724 | | - "skills": { |
31725 | | - "available": [ |
31726 | | - "supabase", |
31727 | | - "supabase-postgres-best-practices" |
31728 | | - ], |
31729 | | - "loaded": [ |
31730 | | - "supabase", |
31731 | | - "supabase-postgres-best-practices" |
31732 | | - ] |
31733 | | - }, |
31734 | | - "docs": { |
31735 | | - "calls": [ |
31736 | | - { |
31737 | | - "source": "shell_fetch", |
31738 | | - "query": "/bin/bash -lc \"curl -fsSL https://supabase.com/changelog.md | head -120; printf '\\\\n--- cron docs ---\\\\n'; curl -fsSL https://supabase.com/docs/guides/cron/quickstart.md | head -220; printf '\\\\n--- queues docs ---\\\\n'; curl -fsSL https://supabase.com/docs/guides/queues/quickstart.md | head -260; printf '\\\\n--- functions local files ---\\\\n'; find supabase -maxdepth 3 -type f -print\"", |
31739 | | - "pages": [ |
31740 | | - { |
31741 | | - "url": "https://supabase.com/changelog.md" |
31742 | | - }, |
31743 | | - { |
31744 | | - "url": "https://supabase.com/docs/guides/cron/quickstart.md" |
31745 | | - }, |
31746 | | - { |
31747 | | - "url": "https://supabase.com/docs/guides/queues/quickstart.md" |
31748 | | - } |
31749 | | - ], |
31750 | | - "resultChars": 15128 |
31751 | | - }, |
31752 | | - { |
31753 | | - "source": "shell_fetch", |
31754 | | - "query": "/bin/bash -lc \"curl -fsSL https://supabase.com/docs/guides/queues/api.md | rg -n -C 3 'create|send|pop|delete|queue' | head -220; printf '\\\\n--- pgmq installed functions ---\\\\n'; psql 'postgresql://postgres: [email protected]:54322/postgres' -Atc \\\"select extname, extversion from pg_extension where extname in ('pgmq','pg_cron','pg_net'); select n.nspname, p.proname, pg_get_function_identity_arguments(p.oid) from pg_proc p join pg_namespace n on n.oid=p.pronamespace where n.nspname='pgmq' and p.proname in ('create','send','pop','read','delete') order by p.proname,2;\\\"\"", |
31755 | | - "pages": [ |
31756 | | - { |
31757 | | - "url": "https://supabase.com/docs/guides/queues/api.md" |
31758 | | - } |
31759 | | - ], |
31760 | | - "resultChars": 612 |
31761 | | - } |
31762 | | - ] |
31763 | | - }, |
| 31596 | + "stepCount": 23, |
| 31597 | + "toolCallCount": 39, |
| 31598 | + "durationMs": 94073, |
31764 | 31599 | "prompt": "I want to set up a recurring background workflow on my local Supabase stack.\n\nCan you set up a cron job called `enqueue-tasks` to run every minute and push a task into a queue called `tasks`? Then add a `process-tasks` edge function that reads messages off the `tasks` queue and removes them, so a scheduled worker can keep the backlog drained.", |
31765 | | - "promptSourcePath": "evals/build-cli-003-pg-cron-queue-workflow/PROMPT.md", |
31766 | | - "run": 3, |
31767 | | - "sourcePath": "codex-gpt-5.6-luna/build-cli-003-pg-cron-queue-workflow/run-3/result.json" |
| 31600 | + "promptSourcePath": "evals/benchmark/build-cli-003-pg-cron-queue-workflow/PROMPT.md", |
| 31601 | + "run": 1, |
| 31602 | + "sourcePath": "codex-gpt-5.6-luna/build-cli-003-pg-cron-queue-workflow/run-1/result.json" |
31768 | 31603 | }, |
31769 | 31604 | { |
31770 | 31605 | "experiment": "codex-gpt-5.6-luna", |
|
0 commit comments