Skip to content

Add commands for several function schedules - #165

Merged
leo-notte merged 4 commits into
mainfrom
feat/function-schedules
Nov 3, 2026
Merged

leo-notte merged 4 commits into
mainfrom
feat/function-schedules

Conversation

@leo-notte

@leo-notte leo-notte commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Adds notte functions schedules, for running one function on several schedules, each with its own variables:

  • list, add, update <schedule-id>, remove <schedule-id> and resume
  • add and update take --var key=value and --vars '<json>', like functions run
  • update keeps the cron expression or variables you do not pass
  • functions run now shares the same variable parsing
  • functions update warns on stderr when the new version's inputs no longer match some schedules (a new required input, or one it no longer takes), since their runs would fail

The generated client includes the new schedule endpoints. Requires an API that serves /functions/{function_id}/schedules: until staging does, the generated-code and endpoint coverage checks fail. The skill coverage check needs nottelabs/notte-skills#60.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The reviewed changes appear safe to merge.

Summary

Adds functions schedules commands for listing, adding, updating, removing, and resuming schedules with separate variables.

  • One function can have several schedules with their own variables.
  • Function updates warn when schedule variables no longer fit.

Reviews (2) · Last reviewed commit: "Keep schedule numbers exact on update an..." · Reviewed by Greptile

Comment thread internal/cmd/function_schedules.go Resolved
Comment thread internal/cmd/function_schedules.go Resolved
leo-notte and others added 3 commits November 3, 2026 11:51
…puts

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leo-notte
leo-notte marked this pull request as ready for review November 3, 2026 12:39
@leo-notte
leo-notte merged commit f6339ed into main Nov 3, 2026
13 of 14 checks passed
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