• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

panates / opra
86%
main: 86%

Build:
Build:
LAST BUILD BRANCH: dev
DEFAULT BRANCH: main
Repo Added 17 Apr 2026 10:09AM UTC
Files 393
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH dev
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • dev
  • main

20 Oct 2026 08:17AM UTC coverage: 85.985%. First build
39392327738

Pull #128

github

erayhanoglu
feat(nestjs-http): Add getOpraContext() for guards and interceptors

A guard runs before the handler, and it is the handler that settles
which of a request's contexts is the active one. Until then
`req.opraContext` holds whichever module's middleware ran last, so in an
application with two modules a guard setting `ctx.user` wrote it to the
other API's context and that API's handler saw no user. Exactly one of
the two modules worked, and which one was a matter of middleware order.

Everything needed to resolve this was already exported — the adapter
metadata on the controller class and `getRequestContext` — but only as
parts, leaving every application to join them itself and to know the
metadata key. `getOpraContext(executionContext)` is that join: it asks
the controller class which adapter owns the route and returns the
context that adapter built, falling back to the active context for a
route that is not an OPRA controller's.

With a single module it returns what `req.opraContext` would have, so it
is the right thing to reach for either way.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Pull Request #128: fix(nestjs-http): schemaIsPublic scope, and a context helper for guards

4822 of 6175 branches covered (78.09%)

Branch coverage included in aggregate %.

77 of 78 new or added lines in 3 files covered. (98.72%)

41154 of 47295 relevant lines covered (87.02%)

317.14 hits per line

Relevant lines Covered
Build:
Build:
47295 RELEVANT LINES 41154 COVERED LINES
317.14 HITS PER LINE
Source Files on main
  • Tree
  • List 393
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
39392327738 dev feat(nestjs-http): Add getOpraContext() for guards and interceptors A guard runs before the handler, and it is the handler that settles which of a request's contexts is the active one. Until then `req.opraContext` holds whichever module's middlew... Pull #128 20 Oct 2026 08:34AM UTC erayhanoglu github
85.98
39385435168 dev fix(nestjs-http): Let several OpraHttpModules share one application Two modules in one Nest application answered each other's error paths with 500 in place of the status the error carried. Each module applies its middleware to every route — a mo... push 20 Oct 2026 07:19AM UTC erayhanoglu github
85.97
38217644063 dev chore(angular): Update @browsery/type-is version in peerDependencies push 12 Oct 2026 07:28AM UTC erayhanoglu github
85.92
38211482106 dev chore(deps): Update dependencies, and unblock the Angular set `rman deps -u` had been failing, and the reason was in `packages/angular`: Could not resolve dependency: dev @angular/platform-browser@"^22.2.2" from @opra/angular@1.32.1 ... push 12 Oct 2026 06:16AM UTC erayhanoglu github
85.92
38210735960 dev fix(common,client): Stop publishing browser bundles that import undeclared packages Both esbuild configs built their `external` list from dependencies plus peerDependencies plus **devDependencies**. A devDependency that is actually imported at ru... push 12 Oct 2026 06:07AM UTC erayhanoglu github
85.92
37793069155 dev fix(testing): Buffer the request body, and close only a server we started Two faults in `TestBackend#send`, both reported from a project testing against it. A request with a body answered `401` rejected with `TypeError: fetch failed` (cause: "ex... push 08 Oct 2026 02:34PM UTC erayhanoglu github
85.92
37743742806 dev chore(dependencies): Update package versions across multiple modules push 08 Oct 2026 07:33AM UTC erayhanoglu github
85.9
37324728419 dev Merge branch 'main' into dev Brings the v1.31.0 release bump back, so #118 can merge. The same shape of conflict as the last one: main moved every version to 1.31.0 while these two commits were changing the same manifests. Resolved by taking mai... Pull #118 05 Oct 2026 02:34PM UTC erayhanoglu github
85.86
37322497667 dev chore(examples): Give the example projects an outDir, and declare the shared models dependency Each example gets `outDir: "build"`, so the one thing that made a stray `tsc` destructive - no output directory, and therefore output written beside ev... push 05 Oct 2026 02:18PM UTC erayhanoglu github
85.86
37317008935 main chore: sync lockfile push 05 Oct 2026 01:30PM UTC github-actions[bot] github
85.86
See All Builds (42)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc