Skip to content

Grain source_metadata: spec bump to v0.7.4 + nullable field regen#128

Merged
kdr merged 1 commit into
mainfrom
kdr-fixgrain
Jun 8, 2026
Merged

Grain source_metadata: spec bump to v0.7.4 + nullable field regen#128
kdr merged 1 commit into
mainfrom
kdr-fixgrain

Conversation

@kdr

@kdr kdr commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bumps the cloudglue-api-spec submodule to v0.7.4 (api-spec #98), which marks the include-gated Grain source_metadata fields as nullable.
  • Regenerates the client. The only generated change is in GrainSourceMetadata (generated/common.ts): participants, highlights, ai_summary, ai_action_items, ai_template_sections, and calendar_event move from .optional().nullish(), with matching | null TS types produced by the existing generate.js nullish/nullable transforms.
  • Bumps SDK version 0.7.120.7.13.

Verification

  • npm run generate is reproducible — re-running yields byte-identical output (only common.ts changes).
  • npm run build (tsc) passes.
  • Ran getSourceMetadata() against a live Grain connector: fetch + Zod parse both succeed with the new nullable schema.

Summary by CodeRabbit

  • Chores
    • Version updated to 0.7.13
    • Submodule reference updated

Pull cloudglue-api-spec to v0.7.4 (PR #98), which marks the
include-gated Grain source_metadata fields nullable. Regenerated the
client: GrainSourceMetadata fields (participants, highlights,
ai_summary, ai_action_items, ai_template_sections, calendar_event)
become .nullish() with matching `| null` TS types via the existing
generate.js nullish/nullable transforms.

Verified getSourceMetadata() against a live Grain connector — fetch
and Zod parse succeed. Bumps SDK version to 0.7.13.
@coderabbitai

coderabbitai Bot commented Jun 6, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 108a8fcc-ff8f-47f2-8e1f-3861643ab465

📥 Commits

Reviewing files that changed from the base of the PR and between aa1a6ac and ade5500.

⛔ Files ignored due to path filters (2)
  • generated/common.ts is excluded by !**/generated/**
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (2)
  • package.json
  • spec

📝 Walkthrough

Walkthrough

Package version is incremented from 0.7.12 to 0.7.13 in package.json, and the spec git submodule reference is updated to a new commit hash. These are routine release maintenance changes.

Changes

Release v0.7.13

Layer / File(s) Summary
Version bump and spec update
package.json, spec
Package version incremented to 0.7.13 and spec submodule pointer advanced to track a new commit.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested reviewers

  • amyxst

Poem

🐰 A tiny hop, a version rise,
From point-one-two to point-one-three,
Spec submodule claims its prize,
Release day hops so merrily! 🎉

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title directly and clearly describes the main changes: spec bump to v0.7.4 and nullable field regeneration, matching the pull request objectives.
Description check ✅ Passed The description exceeds template requirements with detailed bullet points covering changes, verification steps, and test results; only a formal 'Test plan' checklist section is missing.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch kdr-fixgrain

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@kdr kdr requested a review from amyxst June 6, 2026 13:45
@kdr kdr merged commit 8a37e7b into main Jun 8, 2026
1 check passed
@kdr kdr deleted the kdr-fixgrain branch June 8, 2026 18:43
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.

2 participants