-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[FIX] Fireflies issue with New Meeting Created source #18972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 2 Skipped Deployments
|
WalkthroughVersion bumps across several Fireflies actions and source; GraphQL transcript query extended for pagination; a deploy hook was added to initialize last-processed date and timestamp handling adjusted in the new-meeting-created source. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant Deployer as Deploy event
participant Hook as hooks.deploy
participant DB as DB (lastDate)
participant Source as new-meeting-created source
participant API as Fireflies GraphQL
Deployer->>Hook: run deploy hook
Hook->>DB: set lastDate = now - 1 day
DB-->>Hook: ack
Hook-->>Source: ready
Note right of Source: Poll loop uses DB.lastDate as fromDate
Source->>DB: read lastDate
Source->>API: query Transcripts(fromDate, limit, skip)
API-->>Source: transcripts[]
Source->>Source: generateMeta(ts = result.date)
Source->>DB: update lastDate
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Pre-merge checks and finishing touches✅ Passed checks (5 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Comment |
c6db12b to
4f61f01
Compare
4f61f01 to
199f655
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (6)
components/fireflies/actions/find-meeting-by-id/find-meeting-by-id.mjs(1 hunks)components/fireflies/actions/find-recent-meeting/find-recent-meeting.mjs(1 hunks)components/fireflies/actions/upload-audio/upload-audio.mjs(1 hunks)components/fireflies/common/queries.mjs(2 hunks)components/fireflies/package.json(2 hunks)components/fireflies/sources/new-meeting-created/new-meeting-created.mjs(2 hunks)
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2025-10-20T01:01:02.970Z
Learnt from: js07
Repo: PipedreamHQ/pipedream PR: 18744
File: components/slack_v2/actions/send-large-message/send-large-message.mjs:49-64
Timestamp: 2025-10-20T01:01:02.970Z
Learning: In components/slack_v2/actions/send-large-message/send-large-message.mjs, the metadata_event_payload prop is typed as string, so the code only needs to handle string-to-JSON parsing and does not need to handle object inputs.
Applied to files:
components/fireflies/actions/upload-audio/upload-audio.mjs
📚 Learning: 2024-12-12T19:23:09.039Z
Learnt from: jcortes
Repo: PipedreamHQ/pipedream PR: 14935
File: components/sailpoint/package.json:15-18
Timestamp: 2024-12-12T19:23:09.039Z
Learning: When developing Pipedream components, do not add built-in Node.js modules like `fs` to `package.json` dependencies, as they are native modules provided by the Node.js runtime.
Applied to files:
components/fireflies/package.json
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Publish TypeScript components
- GitHub Check: Verify TypeScript components
- GitHub Check: Lint Code Base
🔇 Additional comments (9)
components/fireflies/actions/upload-audio/upload-audio.mjs (1)
8-8: Version bump acknowledged.Part of the coordinated release for this PR. No functional changes detected.
components/fireflies/actions/find-meeting-by-id/find-meeting-by-id.mjs (1)
9-9: Version bump acknowledged.Part of the coordinated release for this PR. No functional changes detected.
components/fireflies/actions/find-recent-meeting/find-recent-meeting.mjs (1)
9-9: Version bump acknowledged.Part of the coordinated release for this PR. No functional changes detected.
components/fireflies/sources/new-meeting-created/new-meeting-created.mjs (4)
11-11: Version bump acknowledged.Part of the coordinated release for this PR.
46-51: Excellent fix for the null lastDate issue.The deploy hook properly initializes
lastDateto one day ago, which directly addresses the reported problem wheredb.get("lastDate")was returning null and preventing new events from being detected.
56-59: Parameter rename aligns correctly with the updated GraphQL query.The change from
datetofromDatematches the query signature update incomponents/fireflies/common/queries.mjs.
42-42: No conversion needed—result.dateis already in milliseconds.The Fireflies GraphQL API returns the
datefield as a number type, and the API documentation confirms that date values are provided in milliseconds (e.g., 1621292557453). The test event file shows"date": 1713201000000, confirming this format. The current codets: result.dateis correct and requires no modification.Likely an incorrect or invalid review comment.
components/fireflies/common/queries.mjs (1)
10-37: GraphQL query signature update looks correct.The parameter rename from
$dateto$fromDateimproves clarity, and the pagination support vialimitandskipaligns with the usage incomponents/fireflies/sources/new-meeting-created/new-meeting-created.mjs. The query structure and field selection remain appropriate.components/fireflies/package.json (1)
3-3: No breaking changes found in @pipedream/platform v3.1.0 upgrade.The web search found no published changelog entry or release notes that list breaking changes for @pipedream/platform v3.1.0. Given that the version bump is a minor version increment (3.0.3 → 3.1.0), semver conventions indicate backward compatibility is maintained. The upgrade is safe to proceed with.
components/fireflies/sources/new-meeting-created/new-meeting-created.mjs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jcortes, LGTM! Ready for QA!
For Integration QA:
|
|
Hello everyone, I have tested this PR and there're some test cases failed or needed improvement. Please check test reports below for more information:
|
WHY
Resolves #18879
Summary by CodeRabbit
New Features
Bug Fixes
Chores