Skip to content

fix(hex): type the block projectVersion output as any and mark category descriptions optional - #10022

Merged
waleedlatif1 merged 2 commits into
stagingfrom
fix/hex-output-schema
Nov 13, 2026
Merged

waleedlatif1 merged 2 commits into
stagingfrom
fix/hex-output-schema

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • The Hex block-level projectVersion output is now any. Hex returns it as an integer from Run Project and as a string from Get Run Status and Get Project Runs ("draft" for notebook runs).
    • The per-tool outputs already declare each endpoint's type.
    • The block-level type is only the fallback used when no tool output resolves. Nothing coerces on it, so saved workflows behave the same.
  • The List Projects category description output is marked optional, because Hex's spec declares it nullable. The category name is required and non-null in the spec, so it stays as is.

Type of Change

  • Bug fix

Testing

  • blocks/blocks/hex.test.ts and blocks/blocks.test.ts pass.
  • check:tool-metadata, check:docs and check-block-registry origin/staging pass. Only tools/generated/tool-outputs.ts regenerated.
  • Lint and type-check pass in the pre-push hook.

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)

🤖 Generated with Claude Code

@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Nov 13, 2026 10:56pm UTC

Request Review

@greptile-apps

greptile-apps Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no actionable issues remain.

Summary

Updates Hex output metadata without changing request or response code.

  • The Hex block describes project versions as numbers or text.
  • List Projects describes category descriptions as nullable.

Reviews (3) · Last reviewed commit: "fix(hex): declare category description n..." · Reviewed by Greptile

@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 3 files

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

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/tools/hex/list_projects.ts Resolved
Comment thread apps/sim/tools/hex/list_projects.ts Resolved
@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 Nov 13, 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.

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

@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 Nov 13, 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.

No issues found across 3 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

@waleedlatif1
waleedlatif1 merged commit cba987c into staging Nov 13, 2026
80 checks passed
@waleedlatif1
waleedlatif1 deleted the fix/hex-output-schema branch November 14, 2026 00:29

This branch was previously deployed

1 inactive deployment
Preview — 00b57a4d Deployed Nov 13, 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