gitoria

kunibert

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit59b8fe8359b8fe83Use Hybriel day39 helpersKunibert59b8fe83/plugins/fetch/tests/try_fetch.hl

510 B

  1. import { fetch, tryFetch } from 'hl:fetch'
  2. refused = tryFetch('http://127.0.0.1:32262/x')
  3. console.log(JSON.stringify(refused))
  4. slow = tryFetch('http://127.0.0.1:32261/x', { timeoutMs = 80 })
  5. console.log(JSON.stringify(slow))
  6. for (code of [200, 404]) {
  7. url = 'http://127.0.0.1:32260/' + code
  8. a = fetch(url)
  9. b = tryFetch(url)
  10. console.log(a.status == b.status, a.ok == b.ok, a.url == b.url, a.body == b.body, a.tag == b.tag, JSON.stringify(a.headers) == JSON.stringify(b.headers), b.text(), b.json().code)
  11. }

Branches

Latest commits

  • 59b8fe83Use Hybriel day39 helpersKunibert
  • c2e393a2Records: K12 startedKunibert
  • 00696678Records: Anton day39 notemre
  • 070e01a4Records: parkmre
  • bf8af0dcRecords: v1.4 checkedmre
  • 44af321bRecords: contract v1.4mre
  • 310f3fd0Records: outdated semanticsmre
  • 268ebfe6Records: #11 proven live and closedmre
  • 88e8aad3Records: K11 verified and deployedmre
  • cd4cb09cNo review and status error when the model's tools did not run (kunibert#11)Kunibert
  • a6b54efaStatus updatemre
  • 5a72268eRecords: #4-#10 done, #11 started, review package on #1mre
  • 194c7da6Records: real proof greenmre
  • cdfa94a9Records: AppArmor profile for the review sandboxmre
  • c1bf02d8Status: sandbox blockermre
  • 88aaacc5Records: real proof part 2 (posting works, sandbox blocked by AppArmor userns)mre
  • 401df4e8Records: review user logged inmre
  • 6ca681b3Records: login command, status cleanupmre
  • 6b8d763cRecords: review user, device login startedKunibert
  • 07025b99Open the job worktree read-only for the review user before each model runKunibert