Skip to content

[#6881] Mark workflowActivity from/to as required - #4396

Merged
SyedAsadKazmi merged 4 commits into
mainfrom
docs/DEVSVCS-6881-required-workflow-activity-range
Nov 9, 2026
Merged

SyedAsadKazmi merged 4 commits into
mainfrom
docs/DEVSVCS-6881-required-workflow-activity-range

Conversation

@j-nowak

@j-nowak j-nowak commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Description

WorkflowActivityInput.from and WorkflowActivityInput.to are now non-null (Time!) in the CRE GraphQL API: a workflowActivity query that omits either field fails schema validation with a 422, and a reversed range returns INVALID_ARGUMENT. The reference pages still described both as optional, which would lead readers to write queries the API now rejects.

Changes

  • common-queries.mdx — declare $from/$to as Time! in the workflow activity example, and state that both are required (422 on omission) and that from >= to returns INVALID_ARGUMENT.
  • queries.mdx / inputs.mdx — mark from and to as required in the field tables and fix the example's variable declarations.
  • Regenerated llms-full-go.txt and llms-full-ts.txt via npm run generate:llms.

Notes

  • Source of truth: smartcontractkit/cre-platform-graphql#696, merged and released. The wording was checked against public-schema/out/schema.graphqls on cre-platform-graphql main.
  • The explorer consumes the same schema in smartcontractkit/explorer#12674.
  • Docs only; no code changes. Branch rebased onto current main, and the regenerated llms files are clean after rebasing.

JIRA

@vercel

vercel Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
documentation Ready Ready Preview Nov 9, 2026 8:24am UTC

Request Review

WorkflowActivityInput.from and .to are now Time!, so a query that omits
either field fails GraphQL validation with a 422. Update the common query,
the field tables and the examples to declare and describe both as
required, and regenerate the llms-full files.
@j-nowak
j-nowak force-pushed the docs/DEVSVCS-6881-required-workflow-activity-range branch from 41e2740 to 45b3791 Compare November 5, 2026 09:23
@j-nowak
j-nowak marked this pull request as ready for review November 5, 2026 09:24
@j-nowak
j-nowak requested review from a team as code owners November 5, 2026 09:24
@SyedAsadKazmi
SyedAsadKazmi merged commit 8b6b5b6 into main Nov 9, 2026
34 of 35 checks passed
@SyedAsadKazmi
SyedAsadKazmi deleted the docs/DEVSVCS-6881-required-workflow-activity-range branch November 9, 2026 08:36

This branch was successfully deployed

1 active deployment
Preview — 3aadfb40 Deployed Nov 9, 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.

3 participants