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

teableio / teable / 10952476725

20 Sep 2024 03:07AM UTC coverage: 84.933%. First build
10952476725

push

github

web-flow
feat: support record comment (#910)

* feat: comment backend initialize

* feat: comment openapi initialize

* feat: support comment reaction and notify

* chore: expose `HoverPortal` component

* chore: update `@teable/icons`

* feat: create comment prisma tempalte

* feat: generate comment open-api

* feat: support comment advance feature

* feat: comment notify user list add quote creator and mention user

* feat: grid support display comment count

* chore: add comment e2e test suit

* fix: fix type definition clash

* chore: add comment migration

* fix: separate partial comment type definition for zod2openapi unknown error

* fix: import `@teable/icons` error when `moduleResolution` set to `Bundler`

* fix: sdk i18n error code

* feat: rename comment subscribe table name and generate migration

* feat: add comment reaction thumbsdown

* fix: add presence unsubscribe judgment relative to comment

* chore: css adjustment

fix: zod2openapi error by separate type define

* fix: comment e2e error

* feat: add composite index for comment list table

* feat: add record comment count query api

* fix: reply to someone should be receive the notification

* fix: comment count inaccurate when add view group condition

* fix: abundant field expand card display

* feat: @ mention user filter self

* fix: not found subscribe throw null

5596 of 5898 branches covered (94.88%)

618 of 812 new or added lines in 6 files covered. (76.11%)

36770 of 43293 relevant lines covered (84.93%)

1166.23 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/apps/nestjs-backend/src/tracing.ts
1
import * as os from 'os';
×
2
import { AsyncLocalStorageContextManager } from '@opentelemetry/context-async-hooks';
×
3
import { ExpressInstrumentation } from '@opentelemetry/instrumentation-express';
×
4
import { HttpInstrumentation } from '@opentelemetry/instrumentation-http';
×
5
import { PinoInstrumentation } from '@opentelemetry/instrumentation-pino';
×
6
import { Resource } from '@opentelemetry/resources';
×
7
import { NodeSDK } from '@opentelemetry/sdk-node';
×
8
import {
×
9
  SEMRESATTRS_HOST_NAME,
×
10
  SEMRESATTRS_SERVICE_NAME,
×
11
  SEMRESATTRS_SERVICE_VERSION,
×
12
  SEMRESATTRS_DEPLOYMENT_ENVIRONMENT,
×
13
} from '@opentelemetry/semantic-conventions';
×
14
import { PrismaInstrumentation } from '@prisma/instrumentation';
×
15

×
16
const otelSDK = new NodeSDK({
×
17
  // traceExporter: new OTLPTraceExporter({
×
18
  //   url: 'http://localhost:4318/v1/traces',
×
19
  // }),
×
20
  contextManager: new AsyncLocalStorageContextManager(),
×
21
  instrumentations: [
×
22
    new HttpInstrumentation(),
×
23
    new ExpressInstrumentation(),
×
24
    new PrismaInstrumentation(),
×
25
    new PinoInstrumentation(),
×
26
  ],
×
27
  resource: new Resource({
×
28
    [SEMRESATTRS_HOST_NAME]: os.hostname(),
×
29
    [SEMRESATTRS_SERVICE_NAME]: 'teable',
×
30
    [SEMRESATTRS_SERVICE_VERSION]: 'v1.0.0',
×
31
    [SEMRESATTRS_DEPLOYMENT_ENVIRONMENT]: process.env.NODE_ENV || 'development',
×
32
  }),
×
33
});
×
34

×
35
export default otelSDK;
×
36

×
37
process.on('SIGTERM', () => {
×
38
  otelSDK
×
39
    .shutdown()
×
40
    .then(
×
41
      () => console.log('SDK shut down successfully'),
×
42
      (err) => console.log('Error shutting down SDK', err)
×
43
    )
×
44
    .finally(() => process.exit(0));
×
45
});
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc