JavaScript / Execução registrada

Operations Archive

An API and interface for storing execution results, telemetry, inspections, and work orders. It uses PostgreSQL on Supabase, per-user authentication, and compatible serverless hosting Functions.

O que foi verificado

Os comandos abaixo executam o código do repositório e conferem os cenários registrados. A evidência cobre esses cenários na versão indicada; não comprova todas as entradas possíveis nem uso em produção. Build, regras locais e adaptadores testados não comprovam disponibilidade do backend, login ou banco de dados em produção.

Versão executada
dbdf44fe0567cb3db8444598b58815a961ebab7a
Registro
2026-10-10T05:28:18.758258+00:00
Repositório
brunnojob/vercel-home-telemetry-api
Licença
MIT

A evidência abaixo pertence à versão registrada. A consulta usa a API pública do GitHub e pode atingir o limite de requisições.

Comandos e resultados reais

Resultados extraídos dos logs do Actions. Saídas extensas podem estar resumidas; a execução original e o artefato contêm o registro completo.

Baixar relatório JSON
PASS npm ci

Saída: 0 · esperada: 0 · 9.797 s

$ bash -e -o pipefail -c npm ci

npm warn deprecated stream-to-promise@2.2.0: Deprecated. Use node:stream/promises and node:stream/consumers instead.
npm warn deprecated path-match@1.2.4: This package is archived and no longer maintained. For support, visit https://github.com/expressjs/express/discussions
npm warn deprecated tar@6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me

added 336 packages, and audited 337 packages in 10s

26 packages are looking for funding
  run `npm fund` for details

32 vulnerabilities (1 low, 10 moderate, 20 high, 1 critical)

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
npm warn install-scripts 10 packages have install scripts not yet covered by allowScripts:
npm warn install-scripts   esbuild@0.23.1 (postinstall: node install.js)
npm warn install-scripts   esbuild@0.14.47 (postinstall: node install.js)
npm warn install-scripts   esbuild@0.14.47 (postinstall: node install.js)
npm warn install-scripts   esbuild@0.14.47 (postinstall: node install.js)
npm warn install-scripts   esbuild@0.14.47 (postinstall: node install.js)
npm warn install-scripts   esbuild@0.14.47 (postinstall: node install.js)
npm warn install-scripts   esbuild@0.14.47 (postinstall: node install.js)
npm warn install-scripts   esbuild@0.14.47 (postinstall: node install.js)
npm warn install-scripts   esbuild@0.27.0 (postinstall: node install.js)
npm warn install-scripts   esbuild@0.14.47 (postinstall: node install.js)
npm warn install-scripts
npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve <pkg>` to allow.
PASS npm test

Saída: 0 · esperada: 0 · 0.303 s

$ bash -e -o pipefail -c npm test


> vercel-home-telemetry-api@2.0.0 test
> node --test tests/*.test.mjs

✔ Netlify preserves authentication denial and response headers (41.967069ms)
✔ ambiguous query parameters never reach a handler (0.791402ms)
✔ streamed body limits apply without Content-Length (3.642383ms)
✔ malformed JSON and unsupported content are rejected (1.734886ms)
✔ status, user token, query and parsed payload survive adaptation (1.38226ms)
✔ passes parsed input and preserves endpoint status and headers (46.372951ms)
✔ rejects duplicated query parameters before calling the handler (0.695273ms)
✔ limits a streamed payload even without Content-Length (1.234065ms)
✔ invalid JSON and unsupported content types never reach domain logic (1.47189ms)
✔ rejects requests without a session before database access (1.787283ms)
✔ rejects oversized results and never invokes the RPC (50.379751ms)
✔ forwards the user JWT and maps the RPC persistence result (1.466677ms)
ℹ tests 12
ℹ suites 0
ℹ pass 12
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 140.020899
PASS npm run typecheck

Saída: 0 · esperada: 0 · 1.005 s

$ bash -e -o pipefail -c npm run typecheck


> vercel-home-telemetry-api@2.0.0 typecheck
> tsc --noEmit

PASS python -m unittest discover -v -s cloud

Saída: 0 · esperada: 0 · 0.452 s

$ bash -e -o pipefail -c python -m unittest discover -v -s cloud

test_confirmed_receipt_marks_the_report_sent (test_receipts.ReceiptTests.test_confirmed_receipt_marks_the_report_sent) ... ok
test_events_reject_empty_values_of_the_wrong_type (test_receipts.ReceiptTests.test_events_reject_empty_values_of_the_wrong_type) ... ok
test_invalid_receipts_keep_the_report_pending (test_receipts.ReceiptTests.test_invalid_receipts_keep_the_report_pending) ... ok
test_omitted_events_and_empty_list_have_the_same_key (test_receipts.ReceiptTests.test_omitted_events_and_empty_list_have_the_same_key) ... ok
test_conflicting_key_cannot_overwrite_a_report (test_sync.OutboxTests.test_conflicting_key_cannot_overwrite_a_report) ... ok
test_retries_keep_reports_until_confirmed (test_sync.OutboxTests.test_retries_keep_reports_until_confirmed) ... ok

----------------------------------------------------------------------
Ran 6 tests in 0.082s

OK
PASS Run real Request/Response adapter and enforce input limits

Saída: 0 · esperada: 0 · 0.101 s

$ node .proof/demo.mjs

{"accepted":{"method":"POST","body":{"status":"passed"},"query":{"project":"proof"}},"status":201,"duplicate_query":400,"oversized_body":413}
PASS Ruby delivery receipt and retry regression tests

Saída: 0 · esperada: 0 · 1.404 s

$ ruby cloud/test_outbox.rb

Ruby outbox checks passed
PASS Persist Ruby outbox, recover after restart and reject corrupt records

Saída: 0 · esperada: 0 · 0.201 s

$ ruby .proof/ruby-demo.rb

{"recovered":{"pending":1,"delivered":0,"failedAttempts":0},"idempotent_replay":true,"capacity_rejected":true,"corrupt_record_rejected":true,"network_requests":0}
Baixar transcrição

Reproduzir a execução

Os pré-requisitos e as entradas são públicos no repositório. Faça checkout da versão exata antes de executar os cenários.

git clone https://github.com/brunnojob/vercel-home-telemetry-api.git
cd vercel-home-telemetry-api
git checkout dbdf44fe0567cb3db8444598b58815a961ebab7a
python .proof/record.py