gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit57af42bb57af42bbREADME: point to deploy.sh for the port listmre57af42bb/tests/reviews-probe.hl

641 B

  1. // tests/reviews-probe.hl — run by tests/reviews.mjs on the gate's finished storage: currentVerdict (lib/reviews.hl) for the app and PR given.
  2. // bin/hybriel tests/reviews-probe.hl <repo id> <pr number> <app name> → `verdict <v>` / `verdict none`
  3. import { args } from 'hl:proc'
  4. import { appsTable } from '../lib/apps-table.hl'
  5. import { currentVerdict } from '../lib/reviews.hl'
  6. a = args()
  7. let found = null
  8. for (x of appsTable.find('repo', a[0])) { if (x.name == a[2]) { found = x } }
  9. v = found == null ? null : currentVerdict(a[0], toNumber(a[1]), found.id)
  10. console.log('verdict ' + (v == null ? 'none' : v.verdict + ' ' + v.head))

Branches

Latest commits

  • 57af42bbREADME: point to deploy.sh for the port listmre
  • d63375d2README: gate commands with explicit portsmre
  • feeaa701|||PR gates: explicit ports only, deploy.sh passes themmre
  • 6cc1f943Merge branch 'records-1112' into mainGitoria
  • 9448c438|||PR records: LOG, missions and reports since 11-09mre
  • 6dc08a8eMerge branch 'p51-public-pr-reads' into mainGitoria
  • 7b88cfe0Type publicReaderOfRequest parameters (L10)Gitoria
  • 2a4b3dc1|||PR Anonymous reads of public repos' pulls and statusesmre
  • 21b2c141Merge branch 's25-no-session-on-login-error' into mainGitoria
  • 698458e2|||PR No session for cookieless login errors: READMEmre
  • cce7b785|||PR No session for cookieless login errorsmre
  • 678d6303Merge branch 'v59' into mainGitoria
  • 5803cf4f|||PR vendor: Hybriel set-day59 and GC budget 32 MiBmre
  • 9eff6627Merge branch 'f2-api-bugs' into mainGitoria
  • 26117255|||PR apps API: review comments on files with spaces in their namemre
  • b8796cecMerge branch 'f1-broken-json' into mainGitoria
  • 2f2959c5|||PR apps API: broken JSON body gives 400 invalid_json, not 500mre
  • f7c6ca07Merge branch 'ident-chooser-selector' into mainGitoria
  • 691abb8e|||PR tests: find ident identity choice without the removed .choose classmre
  • 16a3530fMerge branch 'heap-revert' into mainGitoria