Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/scheduled-package-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Scheduled Package Validation Report

on:
schedule:
# Run every three days at midnight UTC
- cron: '0 0 */3 * *'
# Run every seven days at midnight UTC
- cron: '0 0 */7 * *'
workflow_dispatch: # Allow manual triggering for testing

jobs:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "amazon_ses-create-email-template",
name: "Create Email Template",
description: "Create a HTML or a plain text email template. [See the docs](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/createemailtemplatecommand.html)",
version: "0.0.1",
version: "0.0.2",
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Patch version bump looks good; aligns with a non-functional change.

Since this PR’s goal is to remove relative app imports across packages, it’s fine that this file only bumps the action version. Please double-check that the amazon_ses package-level changes are consistent (package.json version bumped, dependency on @pipedream/aws added, and no remaining relative app imports within this package).

Run these quick checks:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# 1) Confirm all amazon_ses actions declare a version (spot-check consistency)
rg -nP --glob 'components/amazon_ses/actions/**/*.mjs' '^\s*version:\s*"'

# 2) Ensure no relative .app.mjs imports remain in amazon_ses
rg -nP '(?<=from\s+["\'])\.\./[^"\']+\.app\.mjs(?=["\'])' components/amazon_ses || echo "OK: no relative .app.mjs imports in amazon_ses"

# 3) Confirm the app now imports the npm package (should match @pipedream/aws)
rg -nP --glob 'components/amazon_ses/**/*.mjs' '@pipedream/aws'

Length of output: 675


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "# 1) Confirm all amazon_ses actions declare a version"
rg -nP --glob 'components/amazon_ses/actions/**/*.mjs' '^\s*version:\s*".+?"'

echo
echo "# 2) Ensure no relative .app.mjs imports remain in amazon_ses"
rg -nP --glob "components/amazon_ses/**/*.mjs" "\\.\\./[^\"']+\\.app\\.mjs" || echo "OK: no relative .app.mjs imports in amazon_ses"

echo
echo "# 3) Confirm the app now imports the npm package @pipedream/aws"
rg -nP --glob 'components/amazon_ses/**/*.mjs' '@pipedream/aws' || echo "ERROR: Missing @pipedream/aws import(s)"

Length of output: 1287


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "# 4) Verify package.json version bump in amazon_ses"
grep -n '"version"' components/amazon_ses/package.json

echo
echo "# 5) Verify @pipedream/aws is listed as a dependency"
grep -n '"@pipedream/aws"' components/amazon_ses/package.json || echo "ERROR: @pipedream/aws dependency missing in package.json"

Length of output: 434


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "# 6) Check package name for import path"
grep -n '"name"' components/amazon_ses/package.json

Length of output: 199


Remove remaining relative app import in actions/common/base.mjs

Patch version bumps and dependency updates look correct, but there’s still one residual relative import of the app module in this package. Please update it to use the published package entrypoint:

  • File: components/amazon_ses/actions/common/base.mjs
    Line 1
    Replace:
    import amazonSes from "../../amazon_ses.app.mjs";
    With:
    import amazonSes from "@pipedream/amazon_ses";

Once that’s updated, you’ll have:

  • All action files declaring their own version
  • No remaining relative .app.mjs imports
  • components/amazon_ses/package.json at version 0.3.8
  • @pipedream/aws listed under dependencies
🤖 Prompt for AI Agents
In components/amazon_ses/actions/common/base.mjs around line 1, there is a
residual relative import of the app module; replace the relative import (import
amazonSes from "../../amazon_ses.app.mjs") with the published package entrypoint
(import amazonSes from "@pipedream/amazon_ses") so the action uses the published
package instead of a local .app.mjs file; after changing the import, verify that
all action files declare their own version and that
components/amazon_ses/package.json is at 0.3.8 with @pipedream/aws listed under
dependencies.

type: "action",
props: {
...base.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "amazon_ses-get-email-template",
name: "Get Email Template",
description: "Get an email template. [See the docs](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/getemailtemplatecommand.html)",
version: "0.0.1",
version: "0.0.2",
type: "action",
props: {
...base.props,
Expand Down
2 changes: 1 addition & 1 deletion components/amazon_ses/actions/send-email/send-email.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default {
key: "amazon_ses-send-email",
name: "Send Email",
description: "Send an email using Amazon SES. Supports simple email messaging. [See the docs](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/sendemailcommand.html)",
version: "0.9.0",
version: "0.9.1",
type: "action",
props: {
...base.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "amazon_ses-send-templated-email",
name: "Send Templated Email",
description: "Send an email replacing the template tags with values using Amazon SES. [See the docs](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ses/classes/sendtemplatedemailcommand.html)",
version: "0.0.1",
version: "0.0.2",
type: "action",
props: {
...base.props,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default {
key: "amazon_ses-update-email-template",
name: "Update Email Template",
description: "Update an email template. [See the docs](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-sesv2/classes/updateemailtemplatecommand.html)",
version: "0.0.1",
version: "0.0.2",
type: "action",
props: {
...base.props,
Expand Down
2 changes: 1 addition & 1 deletion components/amazon_ses/amazon_ses.app.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import aws from "../aws/aws.app.mjs";
import aws from "@pipedream/aws";
import {
SESClient,
SendTemplatedEmailCommand,
Expand Down
5 changes: 3 additions & 2 deletions components/amazon_ses/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/amazon_ses",
"version": "0.3.7",
"version": "0.3.8",
"description": "Pipedream Amazon SES Components",
"main": "amazon_ses.app.mjs",
"keywords": [
Expand All @@ -13,7 +13,8 @@
"@aws-sdk/client-ec2": "^3.89.0",
"@aws-sdk/client-ses": "^3.95.0",
"@aws-sdk/client-sesv2": "^3.87.0",
"@pipedream/platform": "^0.10.0"
"@pipedream/platform": "^0.10.0",
"@pipedream/aws": "^1.1.0"
},
"gitHead": "e12480b94cc03bed4808ebc6b13e7fdb3a1ba535",
"publishConfig": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/actions/create-branch/create-branch.mjs";
import common from "@pipedream/gitlab/actions/create-branch/create-branch.mjs";

import { adjustPropDefinitions } from "../../common/utils.mjs";

Expand All @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-create-branch",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/actions/create-epic/create-epic.mjs";
import common from "@pipedream/gitlab/actions/create-epic/create-epic.mjs";
import { adjustPropDefinitions } from "../../common/utils.mjs";

const {
Expand All @@ -10,7 +10,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-create-epic",
version: "0.0.1",
version: "0.0.2",
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Version bump looks good; confirm consistency across related wrappers and package.json

Patch bump to 0.0.2 is appropriate for the import path change. Please confirm:

  • Sibling GitLab Developer App wrappers in this PR received matching bumps where applicable.
  • components/gitlab_developer_app/package.json version bump (AI summary: 0.1.2) and dependency @pipedream/gitlab are committed.
  • No action keys collided and changelog/release notes (if used) reflect the change.

Run:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Action versions under gitlab_developer_app:"
rg -nP 'key:\s*"gitlab_developer_app-[^"]+"' -C2 components/gitlab_developer_app/actions \
  | rg -n 'version:\s*"[^"]+"' -n || true

echo -e "\nPackage version and gitlab dep:"
fd -a package.json components/gitlab_developer_app \
  | xargs -I{} jq -r '.name, .version, .dependencies["@pipedream/gitlab"] // "MISSING"' {}

echo -e "\nRepo-wide stray relative imports to gitlab (belt-and-suspenders):"
rg -nP '\.\./\.\./\.\./gitlab/' components || true

Length of output: 1679


Please align the list-commits action version for consistency

I checked all GitLab Developer App action versions in components/gitlab_developer_app/actions and saw:

  • Almost every action is at version "0.0.2"
  • list-commits is at version "0.0.3" (components/gitlab_developer_app/actions/list-commits/list-commits.mjs:14)

Package metadata looks correct:

  • components/gitlab_developer_app/package.json → version 0.1.2
  • dependency "@pipedream/gitlab"^0.5.6

No stray relative imports to gitlab were found across the repo.

Action needed:

  • Either revert list-commits back to "0.0.2" to match the rest, or confirm that its bump to "0.0.3" is intentional and document the reason (e.g. in the changelog or release notes).
🤖 Prompt for AI Agents
In components/gitlab_developer_app/actions/create-epic/create-epic.mjs around
line 13, the action version is set to "0.0.2" while the list-commits action was
bumped to "0.0.3"; update versions for consistency by either reverting
components/gitlab_developer_app/actions/list-commits/list-commits.mjs to "0.0.2"
to match the rest of the actions, or, if the "0.0.3" bump is intentional, add a
brief note to the repo changelog or release notes documenting the reason for the
version bump and leave list-commits at "0.0.3".

name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/actions/create-issue/create-issue.mjs";
import common from "@pipedream/gitlab/actions/create-issue/create-issue.mjs";

import { adjustPropDefinitions } from "../../common/utils.mjs";

Expand All @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-create-issue",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/actions/get-issue/get-issue.mjs";
import common from "@pipedream/gitlab/actions/get-issue/get-issue.mjs";

import { adjustPropDefinitions } from "../../common/utils.mjs";

Expand All @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-get-issue",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/actions/get-repo-branch/get-repo-branch.mjs";
import common from "@pipedream/gitlab/actions/get-repo-branch/get-repo-branch.mjs";

import { adjustPropDefinitions } from "../../common/utils.mjs";

Expand All @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-get-repo-branch",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/actions/list-commits/list-commits.mjs";
import common from "@pipedream/gitlab/actions/list-commits/list-commits.mjs";

import { adjustPropDefinitions } from "../../common/utils.mjs";

Expand All @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-list-commits",
version: "0.0.2",
version: "0.0.3",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/actions/list-repo-branches/list-repo-branches.mjs";
import common from "@pipedream/gitlab/actions/list-repo-branches/list-repo-branches.mjs";

import { adjustPropDefinitions } from "../../common/utils.mjs";

Expand All @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-list-repo-branches",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/actions/search-issues/search-issues.mjs";
import common from "@pipedream/gitlab/actions/search-issues/search-issues.mjs";

import { adjustPropDefinitions } from "../../common/utils.mjs";

Expand All @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-search-issues",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/actions/update-epic/update-epic.mjs";
import common from "@pipedream/gitlab/actions/update-epic/update-epic.mjs";

import { adjustPropDefinitions } from "../../common/utils.mjs";

Expand All @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-update-epic",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/actions/update-issue/update-issue.mjs";
import common from "@pipedream/gitlab/actions/update-issue/update-issue.mjs";

import { adjustPropDefinitions } from "../../common/utils.mjs";

Expand All @@ -11,7 +11,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-update-issue",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import common from "../gitlab/gitlab.app.mjs";
import common from "@pipedream/gitlab/gitlab.app.mjs";

export default {
...common,
Expand Down
5 changes: 3 additions & 2 deletions components/gitlab_developer_app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pipedream/gitlab_developer_app",
"version": "0.1.1",
"version": "0.1.2",
Copy link
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Version bump and new @pipedream/gitlab dependency are appropriate.

This directly supports the switch to package-scoped imports.

  • Run the package validator for this specific package and scan for remaining relative imports:

  • Optional: confirm the deep-imported files exist in the resolved version you’ll publish against (duplicates prior checks).

Also applies to: 15-17


🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Validate this package in isolation
npm run validate:package -- @pipedream/gitlab_developer_app || exit 1

# Grep for any remaining relative imports referencing legacy gitlab paths
rg -nP '\.\./\.\./\.\./gitlab/' components/gitlab_developer_app || true

Length of output: 79363


Fix missing dependency to satisfy import validation

Version bump to 0.1.2 and the switch to @pipedream/gitlab imports are correct, but the package validator now fails for this package:

  • Issue: npm run validate:package -- @pipedream/gitlab_developer_app reports an import error:
    “Cannot find module ‘@pipedream/platform’”
  • Action items:
    • Add @pipedream/platform to the dependencies section of components/gitlab_developer_app/package.json.
    • Re-run the validator to confirm the import test passes.
  • No action needed on legacy paths—there are no remaining ../../../gitlab/ imports.
🤖 Prompt for AI Agents
In components/gitlab_developer_app/package.json around line 3, the package now
imports from @pipedream/platform but that package is not listed in dependencies;
add "@pipedream/platform" with an appropriate version to the "dependencies"
section of components/gitlab_developer_app/package.json (align version with
other components or project policy), save, run npm install, then re-run npm run
validate:package -- @pipedream/gitlab_developer_app to confirm the import
validation passes.

"description": "Pipedream GitLab (Developer App) Components",
"main": "gitlab_developer_app.app.mjs",
"keywords": [
Expand All @@ -12,7 +12,8 @@
"dependencies": {
"@pipedream/platform": "^1.6.4",
"lodash": "^4.17.21",
"uuid": "^8.3.2"
"uuid": "^8.3.2",
"@pipedream/gitlab": "^0.5.6"
},
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/sources/new-audit-event/new-audit-event.mjs";
import common from "@pipedream/gitlab/sources/new-audit-event/new-audit-event.mjs";
import { adjustPropDefinitions } from "../../common/utils.mjs";

const {
Expand All @@ -10,7 +10,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-new-audit-event",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/sources/new-branch/new-branch.mjs";
import common from "@pipedream/gitlab/sources/new-branch/new-branch.mjs";
import { adjustPropDefinitions } from "../../common/utils.mjs";

const {
Expand All @@ -10,7 +10,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-new-branch",
version: "0.0.2",
version: "0.0.3",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/sources/new-commit-comment/new-commit-comment.mjs";
import common from "@pipedream/gitlab/sources/new-commit-comment/new-commit-comment.mjs";
import { adjustPropDefinitions } from "../../common/utils.mjs";

const {
Expand All @@ -10,7 +10,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-new-commit-comment",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/sources/new-commit/new-commit.mjs";
import common from "@pipedream/gitlab/sources/new-commit/new-commit.mjs";
import { adjustPropDefinitions } from "../../common/utils.mjs";

const {
Expand All @@ -10,7 +10,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-new-commit",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/sources/new-issue/new-issue.mjs";
import common from "@pipedream/gitlab/sources/new-issue/new-issue.mjs";
import { adjustPropDefinitions } from "../../common/utils.mjs";

const {
Expand All @@ -10,7 +10,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-new-issue",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/sources/new-mention/new-mention.mjs";
import common from "@pipedream/gitlab/sources/new-mention/new-mention.mjs";
import { adjustPropDefinitions } from "../../common/utils.mjs";

const {
Expand All @@ -10,7 +10,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-new-mention",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/sources/new-merge-request/new-merge-request.mjs";
import common from "@pipedream/gitlab/sources/new-merge-request/new-merge-request.mjs";
import { adjustPropDefinitions } from "../../common/utils.mjs";

const {
Expand All @@ -10,7 +10,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-new-merge-request",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import app from "../../gitlab_developer_app.app.mjs";
import common from "../../../gitlab/sources/new-milestone/new-milestone.mjs";
import common from "@pipedream/gitlab/sources/new-milestone/new-milestone.mjs";
import { adjustPropDefinitions } from "../../common/utils.mjs";

const {
Expand All @@ -10,7 +10,7 @@ const props = adjustPropDefinitions(others.props, app);
export default {
...others,
key: "gitlab_developer_app-new-milestone",
version: "0.0.1",
version: "0.0.2",
name,
description,
type,
Expand Down
Loading
Loading