Skip to content

feat(greenhouse): add versioned Harvest v3 integration - #9206

Merged
waleedlatif1 merged 2 commits into
stagingfrom
codex/greenhouse-v3
Oct 18, 2026
Merged

waleedlatif1 merged 2 commits into
stagingfrom
codex/greenhouse-v3

Conversation

@waleedlatif1

@waleedlatif1 waleedlatif1 commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add a versioned Greenhouse block with 50 Harvest v3 operations, partner OAuth, cursor pagination, and expanded request/response fields while preserving legacy workflows.
  • Document OAuth onboarding, migration, replacement semantics, and recruiting side effects; correct legacy email filtering and path handling.
  • Regenerate integration artifacts and prevent empty-response actions from inheriting unrelated documentation outputs.

Type of Change

  • Feature and bug fix

Testing

Validated all 50 v3 operations and 11 retained tools against official API documentation. Local lint, all workspace type checks, block registry checks, and repository audits passed. Added regressions for OAuth identity/rotation, query encoding, input integrity, malformed responses, and empty-output documentation. The full CI test suite, integration and end-to-end checks, builds, lint, and test type checks passed on the current head. Tests ran in CI only. No authenticated Greenhouse API calls were made.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Oct 18, 2026 11:13pm UTC

Request Review

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 87 files

This PR changes authentication, authorization, or input validation. Ultrareviews find 2.4x more serious bugs than standard reviews. Comment @cubic-dev-ai ultrareview to run one.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/tools/greenhouse/v2_utils.ts
Comment thread apps/sim/tools/greenhouse/v2_outputs.ts Outdated
Comment thread apps/sim/tools/greenhouse/list_applications_v2.ts Outdated
Comment thread apps/sim/tools/greenhouse/list_openings_v2.ts Outdated
Comment thread apps/sim/tools/greenhouse/get_user_v2.ts
Comment thread apps/sim/tools/greenhouse/apply_candidate_tag_v2.ts Outdated
@greptile-apps

greptile-apps Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[High impact] The PR appears safe to merge; no new actionable defects were found.

Summary

Adds a versioned Greenhouse integration with 50 Harvest v3 operations, partner OAuth, cursor pagination, and retained legacy tools.

  • Greenhouse workflows can use 50 Harvest v3 actions.
  • Greenhouse accounts connect through partner OAuth.
  • The legacy Greenhouse block stays usable alongside the new version.
  • Generated tool docs show when an action has no output fields.

Review was based on code inspection. No tests or authenticated Greenhouse requests were run.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Existing workflows] --> B[Legacy Greenhouse tools]
  C[New Greenhouse block or agent] --> D[Partner OAuth credential]
  D --> E[Harvest v3 tools]
  E --> F[Validate inputs and build request]
  F --> G[Greenhouse Harvest v3]
  G --> H[Project documented fields]
  H --> I[Workflow outputs and next cursor]
Loading

Reviews (2) · Last reviewed commit: "fix(greenhouse): align array and OAuth c..." · Reviewed by Greptile

Comment thread apps/sim/tools/greenhouse/create_application_v2.ts
Comment thread apps/sim/tools/greenhouse/v2_utils.ts
Comment thread apps/sim/lib/oauth/greenhouse.ts
Comment thread apps/sim/tools/greenhouse/v2_utils.ts Outdated
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 91 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/tools/greenhouse/v2_inputs.ts
@waleedlatif1
waleedlatif1 merged commit cc6e91f into staging Oct 18, 2026
55 checks passed
@waleedlatif1
waleedlatif1 deleted the codex/greenhouse-v3 branch October 18, 2026 23:30

This branch was successfully deployed

1 active deployment
Preview — cf70f1ed Deployed Oct 18, 2026 by vercel[bot]
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