Skip to content

feat(Beeminder Node): Update Beeminder node to include all resources and operations #17713

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

Merged
merged 32 commits into from
Aug 1, 2025

Conversation

mutdmour
Copy link
Contributor

@mutdmour mutdmour commented Jul 27, 2025

Summary

  • Add all resources and operations to Beeminder node based on API
  • Support Oauth2
demo.mov

Related Linear tickets, Github issues, and Community forum posts

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cubic analysis

1 issue found across 8 files • Review in cubic

React with 👍 or 👎 to teach cubic. You can also tag @cubic-dev-ai to give feedback, ask questions, or re-run the review.

Copy link

codecov bot commented Jul 27, 2025

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
9275 1 9274 0
View the top 1 failed test(s) by shortest run time
Execute Beeminder Node Execute operations
Stack Traces | 0.347s run time
Error: Custom message:
  Equality failed for "Execute operations" at node "Create a new goal"

expect(received).toEqual(expected) // deep equality

- Expected  - 144
+ Received  +   0

  Array [
-   Array [
-     Object {
-       "json": Object {
-         "aggday": "sum",
-         "alertstart": 34200,
-         "aura": false,
-         "autodata": null,
-         "autodata_config": Object {},
-         "autoratchet": null,
-         "baremin": null,
-         "baremintotal": null,
-         "burner": "frontburner",
-         "callback_url": null,
-         "coasting": null,
-         "contract": Object {
-           "amount": 0,
-           "pending_amount": null,
-           "pending_at": null,
-           "stepdown_at": null,
-         },
-         "curday": null,
-         "currate": null,
-         "curval": null,
-         "datapublic": false,
-         "deadline": -43260,
-         "delta": null,
-         "delta_text": null,
-         "description": null,
-         "dir": 1,
-         "dueby": null,
-         "ephem": false,
-         "fineprint": null,
-         "frozen": false,
-         "fullroad": null,
-         "goal_type": "hustler",
-         "goaldate": null,
-         "goalval": 1000,
-         "graph_url": "https://cdn.beeminder.com/default_large_graph.png",
-         "graphsum": null,
-         "gunits": "unit",
-         "headsum": null,
-         "healthkitmetric": "",
-         "hhmmformat": false,
-         "id": "688bc5fdf0168a11bee2468f",
-         "initday": null,
-         "initval": null,
-         "integery": false,
-         "kyoom": true,
-         "lane": null,
-         "last_datapoint": Object {
-           "canonical": "01 0 \"initial datapoint of 0 on the 1st\"",
-           "comment": "initial datapoint of 0 on the 1st",
-           "created_at": "2025-07-31T19:37:34.000Z",
-           "creator": "",
-           "daystamp": "20250801",
-           "fulltext": "2025-Aug-01 entered at 21:37 on 2025-Jul-31 ex nihilo",
-           "id": "688bc5fef0168a11bee24691",
-           "is_dummy": false,
-           "is_initial": true,
-           "origin": "nihilo",
-           "requestid": null,
-           "timestamp": 1754042339,
-           "updated_at": 1753990654,
-           "urtext": null,
-           "value": 0,
-         },
-         "lastday": null,
-         "lasttouch": null,
-         "leadtime": 0,
-         "limsum": null,
-         "limsumdate": " due Thu by 21:37",
-         "limsumdays": " due by 21:37",
-         "losedate": 1753990654,
-         "lost": false,
-         "mathishard": null,
-         "maxflux": null,
-         "movingav": false,
-         "noisy": false,
-         "numpts": 1,
-         "odom": false,
-         "panic": 54000,
-         "pledge": 0,
-         "pledge_cap": 30,
-         "plotall": true,
-         "queued": true,
-         "rah": null,
-         "rate": 1,
-         "recent_data": Array [
-           Object {
-             "canonical": "01 0 \"initial datapoint of 0 on the 1st\"",
-             "comment": "initial datapoint of 0 on the 1st",
-             "created_at": "2025-07-31T19:37:34.000Z",
-             "creator": "",
-             "daystamp": "20250801",
-             "fulltext": "2025-Aug-01 entered at 21:37 on 2025-Jul-31 ex nihilo",
-             "id": "688bc5fef0168a11bee24691",
-             "is_dummy": false,
-             "is_initial": true,
-             "origin": "nihilo",
-             "requestid": null,
-             "timestamp": 1754042339,
-             "updated_at": 1753990654,
-             "urtext": null,
-             "value": 0,
-           },
-         ],
-         "road": Array [],
-         "roadall": Array [
-           Array [
-             1754020800,
-             0,
-             null,
-           ],
-           Array [
    null,
-             1000,
-             1,
-           ],
-         ],
-         "roadstatuscolor": "",
-         "rosy": false,
-         "runits": "w",
-         "safebuf": null,
-         "safebump": null,
-         "safesum": "safe for  day",
-         "secret": true,
-         "slug": "test3333",
-         "steppy": true,
-         "svg_url": null,
-         "tags": Array [],
-         "thumb_url": "https://cdn.beeminder.com/default_thumb_graph.png",
-         "title": "test title",
-         "tmax": null,
-         "tmin": null,
-         "todayta": true,
-         "updated_at": 1753990654,
-         "urgencykey": "FROx;PPRx;DL0000000000;P1000000000;test3333",
-         "use_defaults": true,
-         "weekends_off": false,
-         "won": false,
-         "yaw": 1,
-         "yaxis": "cumulative total unit",
-       },
-     },
-   ],
  ]
    at .../core/nodes-testing/node-test-harness.ts:332:28
    at Array.forEach (<anonymous>)
    at NodeTestHarness.assertOutput (.../core/nodes-testing/node-test-harness.ts:308:18)
    at Object.<anonymous> (.../core/nodes-testing/node-test-harness.ts:81:9)
    at processTicksAndRejections (node:internal/process/task_queues:105:5)

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@mutdmour mutdmour changed the title feat(Beeminder Node): Update Beeminder node feat(Beeminder Node): Update Beeminder node to include all resources and operations Jul 27, 2025
@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Jul 27, 2025
@n8n-assistant n8n-assistant bot added the node/improvement New feature or request label Jul 27, 2025
@Joffcom Joffcom requested a review from ShireenMissi July 28, 2025 09:54
@mutdmour mutdmour requested a review from Joffcom July 31, 2025 20:38
Copy link
Member

@Joffcom Joffcom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, Thanks @mutdmour 🙏🏻

Copy link

currents-bot bot commented Aug 1, 2025

E2E Tests: n8n tests passed after 4m 1.7s

🟢 500 · 🔴 0 · ⚪️ 0

View Run Details

Run Details

  • Project: n8n

  • Groups: 1

  • Framework: Currents

  • Run Status: Passed

  • Commit: a8f5be1

  • Spec files: 105

  • Overall tests: 500

  • Duration: 4m 1.7s

  • Parallelization: 1


This message was posted automatically by currents.dev | Integration Settings

@mutdmour mutdmour merged commit b491ed9 into master Aug 1, 2025
34 checks passed
@mutdmour mutdmour deleted the beeminder-node branch August 1, 2025 14:20
cstuncsik pushed a commit that referenced this pull request Aug 1, 2025
despairblue pushed a commit that referenced this pull request Aug 4, 2025
@github-actions github-actions bot mentioned this pull request Aug 4, 2025
@janober
Copy link
Member

janober commented Aug 4, 2025

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team node/improvement New feature or request Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants