fix: keep context within main renderer and error renderer #119
Annotations
6 errors and 1 warning
test/index.test.ts > traces > should trace requests:
test/index.test.ts#L11
AssertionError: expected undefined to be defined
❯ test/index.test.ts:11:30
|
test/index.test.ts > traces > should keep trace context:
test/index.test.ts#L21
AssertionError: expected undefined to be '0af7651916cd43dd8448eb211c80319c' // Object.is equality
- Expected:
"0af7651916cd43dd8448eb211c80319c"
+ Received:
undefined
❯ test/index.test.ts:21:30
|
test/index.test.ts > traces > event.$fetch:
test/index.test.ts#L36
AssertionError: expected undefined to be '0af7651916cd43dd8448eb211c80319c' // Object.is equality
- Expected:
"0af7651916cd43dd8448eb211c80319c"
+ Received:
undefined
❯ test/index.test.ts:36:30
|
test/index.test.ts > traces > expect no XRSP:
test/index.test.ts#L59
AssertionError: expected undefined to be '0af7651916cd43dd8448eb211c80319c' // Object.is equality
- Expected:
"0af7651916cd43dd8448eb211c80319c"
+ Received:
undefined
❯ test/index.test.ts:59:30
|
test/index.test.ts > names > should name span with dynamic path:
test/index.test.ts#L76
AssertionError: expected '<!DOCTYPE html>\n <html lang="en">\n…' to be '/dynamic/:slug' // Object.is equality
- Expected
+ Received
- /dynamic/:slug
+ <!DOCTYPE html>
+ <html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
+ <title>503 Server Unavailable</title>
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@picocss/pico/css/pico.min.css">
+ </head>
+ <body>
+ <main class="container">
+ <article>
+ <header>
+ <h2>503 Server Unavailable</h2>
+ </header>
+ <code><pre>Error: [worker init] /home/runner/work/nitro-opentelemetry/nitro-opentelemetry/test/fixtures/basic/.output/.nitro/dev/index.mjs failed</pre></code>
+ <footer>
+ Check console logs for more information.
+ </footer>
+ </article>
+ </main>
+ </body>
+ </html>
+
❯ test/index.test.ts:76:22
|
ci
Process completed with exit code 1.
|
ci
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|