Skip to content

Conversation

@dannyroosevelt
Copy link
Collaborator

@dannyroosevelt dannyroosevelt commented Mar 26, 2025

The tags prop is returning this error:

{"errors":[{"message":"Need to specify a workspace to paginate!","help":"For more information on API status codes and how to handle them, read the docs on errors: https://developers.asana.com/docs/errors"}]}
image

Summary by CodeRabbit

  • Chores
    • Updated numerous Asana integration components to their latest maintenance versions for improved stability.
  • New Features
    • Enhanced tag handling by incorporating workspace context, providing more dynamic task and project interactions.
    • Updated version numbers for various components to reflect the latest changes.

@vercel
Copy link

vercel bot commented Mar 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Ignored (Inspect) Visit Preview Mar 26, 2025 2:49pm
pipedream-docs ⬜️ Ignored (Inspect) Mar 26, 2025 2:49pm
pipedream-docs-redirect-do-not-edit ⬜️ Ignored (Inspect) Mar 26, 2025 2:49pm

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 26, 2025

Walkthrough

This change set primarily updates version numbers across various Asana integration modules, including actions and sources. A few files receive minor modifications to their function signatures—specifically, updating the tags property to include a workspace parameter. The package manifest is also updated. There are no changes to the underlying functionality or control flow.

Changes

File(s) Change Summary
components/asana/actions/.../add-task-to-section.mjs, create-project.mjs, create-task-comment.mjs, create-task-from-template.mjs, delete-task.mjs, find-task-by-id.mjs, get-tasks-from-task-list.mjs, search-projects.mjs, search-sections.mjs, search-tasks.mjs, search-user-projects.mjs, update-task.mjs Version updates only (e.g., 0.2.7 → 0.2.8, 0.10.0 → 0.10.1, etc.)
components/asana/actions/.../(create-subtask.mjs, create-task.mjs) Version bump with update to tags property to include a workspace parameter
components/asana/sources/.../(new-completed-task.mjs, new-project.mjs, new-story.mjs, new-subtask.mjs, new-tag.mjs, new-task.mjs, new-team.mjs, new-user.mjs, new-workspace.mjs, tag-added-to-task.mjs, task-assigned-in-project.mjs, task-field-updated-in-project.mjs, task-updated-in-project.mjs) Version updates only (various minor version bumps)
components/asana/sources/.../tags-added-to-any-task.mjs Version bump with addition of a function in the tags property to extract workspace context
components/asana/asana.app.mjs Updated tags options method signature to include workspace and applied minor formatting adjustments in getTag
components/asana/package.json Package version updated from 0.7.0 to 0.7.1

Suggested reviewers

  • GTFalcao

Poem

I hop through lines of updated code,
Versions climb with every mode.
A tweak here and a bump so neat,
Workspace joins the rhythmic beat.
My bunny paws tap on the keys—
Coding magic carried on the breeze!
🐇✨

Warning

There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

components/asana/actions/add-task-to-section/add-task-to-section.mjs

Oops! Something went wrong! :(

ESLint: 8.57.1

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs
at packageResolve (node:internal/modules/esm/resolve:839:9)
at moduleResolve (node:internal/modules/esm/resolve:908:18)
at defaultResolve (node:internal/modules/esm/resolve:1038:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:557:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:525:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:246:38)
at ModuleJob._link (node:internal/modules/esm/module_job:126:49)

components/asana/actions/create-project/create-project.mjs

Oops! Something went wrong! :(

ESLint: 8.57.1

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs
at packageResolve (node:internal/modules/esm/resolve:839:9)
at moduleResolve (node:internal/modules/esm/resolve:908:18)
at defaultResolve (node:internal/modules/esm/resolve:1038:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:557:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:525:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:246:38)
at ModuleJob._link (node:internal/modules/esm/module_job:126:49)

components/asana/actions/create-subtask/create-subtask.mjs

Oops! Something went wrong! :(

ESLint: 8.57.1

Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'jsonc-eslint-parser' imported from /eslint.config.mjs
at packageResolve (node:internal/modules/esm/resolve:839:9)
at moduleResolve (node:internal/modules/esm/resolve:908:18)
at defaultResolve (node:internal/modules/esm/resolve:1038:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:557:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:525:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:246:38)
at ModuleJob._link (node:internal/modules/esm/module_job:126:49)

  • 26 others

📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9e12dfc and 2da8581.

📒 Files selected for processing (30)
  • components/asana/actions/add-task-to-section/add-task-to-section.mjs (1 hunks)
  • components/asana/actions/create-project/create-project.mjs (1 hunks)
  • components/asana/actions/create-subtask/create-subtask.mjs (2 hunks)
  • components/asana/actions/create-task-comment/create-task-comment.mjs (1 hunks)
  • components/asana/actions/create-task-from-template/create-task-from-template.mjs (1 hunks)
  • components/asana/actions/create-task/create-task.mjs (2 hunks)
  • components/asana/actions/delete-task/delete-task.mjs (1 hunks)
  • components/asana/actions/find-task-by-id/find-task-by-id.mjs (1 hunks)
  • components/asana/actions/get-tasks-from-task-list/get-tasks-from-task-list.mjs (1 hunks)
  • components/asana/actions/search-projects/search-projects.mjs (1 hunks)
  • components/asana/actions/search-sections/search-sections.mjs (1 hunks)
  • components/asana/actions/search-tasks/search-tasks.mjs (1 hunks)
  • components/asana/actions/search-user-projects/search-user-projects.mjs (1 hunks)
  • components/asana/actions/update-task/update-task.mjs (1 hunks)
  • components/asana/asana.app.mjs (2 hunks)
  • components/asana/package.json (1 hunks)
  • components/asana/sources/new-completed-task/new-completed-task.mjs (1 hunks)
  • components/asana/sources/new-project/new-project.mjs (1 hunks)
  • components/asana/sources/new-story/new-story.mjs (1 hunks)
  • components/asana/sources/new-subtask/new-subtask.mjs (1 hunks)
  • components/asana/sources/new-tag/new-tag.mjs (1 hunks)
  • components/asana/sources/new-task/new-task.mjs (1 hunks)
  • components/asana/sources/new-team/new-team.mjs (1 hunks)
  • components/asana/sources/new-user/new-user.mjs (1 hunks)
  • components/asana/sources/new-workspace/new-workspace.mjs (1 hunks)
  • components/asana/sources/tag-added-to-task/tag-added-to-task.mjs (1 hunks)
  • components/asana/sources/tags-added-to-any-task/tags-added-to-any-task.mjs (2 hunks)
  • components/asana/sources/task-assigned-in-project/task-assigned-in-project.mjs (1 hunks)
  • components/asana/sources/task-field-updated-in-project/task-field-updated-in-project.mjs (1 hunks)
  • components/asana/sources/task-updated-in-project/task-updated-in-project.mjs (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (30)
  • components/asana/sources/task-updated-in-project/task-updated-in-project.mjs
  • components/asana/package.json
  • components/asana/sources/new-team/new-team.mjs
  • components/asana/sources/new-tag/new-tag.mjs
  • components/asana/sources/new-completed-task/new-completed-task.mjs
  • components/asana/actions/update-task/update-task.mjs
  • components/asana/actions/search-tasks/search-tasks.mjs
  • components/asana/sources/tags-added-to-any-task/tags-added-to-any-task.mjs
  • components/asana/actions/search-sections/search-sections.mjs
  • components/asana/actions/create-project/create-project.mjs
  • components/asana/actions/delete-task/delete-task.mjs
  • components/asana/sources/new-subtask/new-subtask.mjs
  • components/asana/sources/new-story/new-story.mjs
  • components/asana/actions/create-task-from-template/create-task-from-template.mjs
  • components/asana/actions/search-user-projects/search-user-projects.mjs
  • components/asana/actions/find-task-by-id/find-task-by-id.mjs
  • components/asana/sources/task-assigned-in-project/task-assigned-in-project.mjs
  • components/asana/sources/tag-added-to-task/tag-added-to-task.mjs
  • components/asana/sources/new-project/new-project.mjs
  • components/asana/sources/new-task/new-task.mjs
  • components/asana/sources/task-field-updated-in-project/task-field-updated-in-project.mjs
  • components/asana/actions/create-task-comment/create-task-comment.mjs
  • components/asana/sources/new-workspace/new-workspace.mjs
  • components/asana/actions/search-projects/search-projects.mjs
  • components/asana/actions/add-task-to-section/add-task-to-section.mjs
  • components/asana/asana.app.mjs
  • components/asana/actions/create-subtask/create-subtask.mjs
  • components/asana/actions/create-task/create-task.mjs
  • components/asana/sources/new-user/new-user.mjs
  • components/asana/actions/get-tasks-from-task-list/get-tasks-from-task-list.mjs
⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: pnpm publish
  • GitHub Check: Verify TypeScript components
  • GitHub Check: Publish TypeScript components

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@dannyroosevelt dannyroosevelt changed the title Adding workspace context to tags calls [Bug] Tags async options prop returning an error Mar 26, 2025
@jcortes jcortes force-pushed the danny/asana-async-options-fix branch from 9e12dfc to 2da8581 Compare March 26, 2025 14:48
Copy link
Collaborator

@jcortes jcortes left a comment

Choose a reason for hiding this comment

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

Hi @dannyroosevelt lgtm! Ready for QA!

@jcortes jcortes moved this from Ready for PR Review to Ready for QA in Component (Source and Action) Backlog Mar 26, 2025
@dannyroosevelt dannyroosevelt merged commit b6888ec into master Mar 26, 2025
11 checks passed
@dannyroosevelt dannyroosevelt deleted the danny/asana-async-options-fix branch March 26, 2025 15:53
@dannyroosevelt dannyroosevelt moved this from Done to Ready for QA in Component (Source and Action) Backlog Mar 26, 2025
@dannyroosevelt dannyroosevelt mentioned this pull request Mar 26, 2025
@vunguyenhung vunguyenhung moved this from Ready for QA to Ready for Release in Component (Source and Action) Backlog Mar 27, 2025
@vunguyenhung vunguyenhung moved this from Ready for Release to Done in Component (Source and Action) Backlog Mar 27, 2025
@vunguyenhung vunguyenhung moved this from Done to Ready for Release in Component (Source and Action) Backlog Mar 27, 2025
@vunguyenhung
Copy link
Collaborator

Hi everyone, all test cases are passed! Ready for release!

Test report
https://vunguyenhung.notion.site/Bug-Tags-async-options-prop-returning-an-error-1c2bf548bb5e81269792c68a4ff7db15

1 similar comment
@vunguyenhung
Copy link
Collaborator

Hi everyone, all test cases are passed! Ready for release!

Test report
https://vunguyenhung.notion.site/Bug-Tags-async-options-prop-returning-an-error-1c2bf548bb5e81269792c68a4ff7db15

@michelle0927 michelle0927 moved this from Ready for Release to Done in Component (Source and Action) Backlog Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants