Skip to content

Add BRAINIALL diarized transcription example - #125

Draft
fasuizu-br wants to merge 1 commit into
triggerdotdev:mainfrom
fasuizu-br:agent/brainiall-diarized-transcription
Draft

Add BRAINIALL diarized transcription example#125
fasuizu-br wants to merge 1 commit into
triggerdotdev:mainfrom
fasuizu-br:agent/brainiall-diarized-transcription

Conversation

@fasuizu-br

Copy link
Copy Markdown

Summary

  • add a headless Trigger.dev task that transcribes one authorized PT-BR or Spanish audio file with the BRAINIALL API
  • request speaker diarization and return plain text, speaker count, SRT, and WebVTT
  • document setup, privacy, consent, retention, and metered-API boundaries
  • add focused unit tests with mocked source and API responses

Safety boundaries

  • exact HTTPS source-host allowlist with redirect revalidation
  • 25 MB limit enforced from Content-Length and while streaming
  • explicit rights-and-consent confirmation before network access
  • API key remains server-side; network and provider errors are redacted
  • maxAttempts: 1 prevents an automatic repeat of a metered request

Validation

  • npm ci --ignore-scripts
  • npm run check — 20 tests passed and TypeScript passed
  • git diff --check
  • staged secret-pattern scan — only documented empty/example values found

Dependency audit note

npm audit --omit=dev reports 19 advisories (1 low, 14 moderate, 4 high, 0 critical), all in the current Trigger.dev 4.5.8 transitive dependency tree. No forced or breaking dependency rewrite was applied in this example.

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 50679fff-1e7c-45f7-8d55-763bf1517b90

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant