Skip to content

docs: announce function intervals - #14309

Merged
adityaoberai merged 15 commits into
mainfrom
docs/function-intervals
Oct 12, 2026
Merged

adityaoberai merged 15 commits into
mainfrom
docs/function-intervals

Conversation

@ChiragAgg5k

@ChiragAgg5k ChiragAgg5k commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Announcement, changelog and docs for function interval schedules (#14231, #14307, appwrite-labs/cloud#6383, appwrite-labs/cloud#6447).

Everything this content describes has shipped:

  • Cloud deployed (1.50.160: intervals, the Free/Education 60-minute minimum, omitted interval kept on update, downgraded orgs can still save)
  • Server SDKs released with interval (Node 29.2.0, PHP 30.2.0, Python 24.2.0, Ruby 28.2.0, Go v7.9.0, .NET 8.2.0, Dart 29.2.0, Kotlin 22.2.0, Swift 22.2.0, Rust 0.16.0) and CLI 28.3.0
  • Console interval picker merged (feat(console): configure function intervals #14319) and released in Console 1.2.64
  • Cover image at public/images/blog/announcing-function-intervals/cover.avif (generated with bun run generate:blog-images announcing-function-intervals; swap for a designed one if wanted)
  • Changelog and blog date set to the announcement day (2026-10-10)

Changes

  • Blog post announcing-function-intervals: an interval explained as cron where Appwrite picks the minute (37 * * * * for an hourly interval), with a run-time timeline, interval vs cron, Console, SDK and CLI usage, plan limits, and FAQs including why nothing has run yet.
  • Changelog entry linking the post and the docs, covering the Server SDKs and CLI.
  • products/functions/execute#schedule: split into Interval and Cron.
    • Run times are fixed to the UTC clock: the first run can be up to one interval away, a daily interval runs at a fixed UTC time, and an interval that isn't a factor or multiple of 60 doesn't run at the same minute every hour.
    • The 1-minute floor and the 60-minute Free/Education minimum.
    • interval: 0 stops it; an omitted interval keeps it, while an omitted schedule clears the cron.
    • Free and Education cron runs can start up to 5 minutes late on Cloud (_APP_FUNCTIONS_SCHEDULE_SPREAD=300).
    • Node, Python and CLI examples.
  • products/functions/functions#schedule: both options, when to pick each, and the Free/Education limit.
  • CLI: "interval" in the appwrite.config.json examples (tooling/command-line/functions, tooling/command-line/installation).
  • Fix: docs-partials/databases-events.md closed its table on the same line as the last row, which dropped every section after the Databases accordion on products/functions/execute, including Schedule, Delayed executions and Permissions. This is broken on appwrite.io today.
  • Blog manifest regenerated so the new post resolves.

Not changed yet: the Terraform function resource has no interval attribute.

Screenshots

Rendered locally with vite dev.

Execute → Interval

Execute docs, interval section

Execute → CLI and Cron

Execute docs, CLI and cron sections

Functions → Schedule

Functions docs, schedule section

Blog post

Blog post

Changelog

Changelog entry

Related: #14170

Related: #14170

@ChiragAgg5k ChiragAgg5k self-assigned this Oct 9, 2026
@ChiragAgg5k
ChiragAgg5k marked this pull request as ready for review October 10, 2026 15:56
@luxor-code-review

luxor-code-review Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Review complete. No blocking issues — approved ✅; 1 nitpick below.

🧹 Nitpicks (1) — 🟢 1 low
  • 🟢 FAQ contradicts the Plans section on self-hosted availability (announcing-function-intervals.markdoc:20) — The FAQ answer says a one-minute interval works on self-hosted Appwrite today (apps/console/src/content/blog/posts/announcing-function-intervals.markdoc, line 20), but the Plans section states intervals come to self-hosted Appwrite only in the next release (line 88).

The change adds the "Announcing Function Intervals" blog post with a matching generated cover image, plus a changelog entry and docs updates across functions execution, CLI, and installation pages. All content is new and self-contained; one low-severity factual inconsistency was flagged.

Files Change
apps/console/src/content/blog/posts/announcing-function-intervals.markdoc, apps/console/src/lib/blog/generated/manifest.ts New announcement post with manifest entry (date, author, cover, metadata).
apps/console/scripts/generate-blog-images.ts, apps/console/public/images/blog/announcing-function-intervals/cover.avif, apps/console/src/lib/seo/cover-dimensions.json Adds the cover generator entry and the generated 1920x1080 AVIF asset with matching SEO dimensions.
apps/console/src/content/changelog/entries/2026-10-10.markdoc, docs under functions/ and tooling/command-line/ Changelog entry and docs updates covering interval semantics, CLI 28.3.0 usage, and the execute endpoint.

Reviewed commit: f8456eb

@ghost

ghost commented Oct 10, 2026 •

Copy link
Copy Markdown

🟢 Tier S · Ready to merge

The incremental test change matches the mocked challenge flow, and I found no actionable defects in the reviewed changes.

Announces Function interval scheduling across the blog, changelog, product documentation, and CLI configuration examples, including UTC timing and plan limits. The documentation also restores sections after the Databases events table and registers the announcement cover in generated blog and SEO metadata. The latest update adjusts the mocked passkey sign-in test to control virtual-authenticator presence around autofill and the explicit click.

Latest changes: The new commits replace the always-enable helper with a presence toggle and keep virtual-authenticator presence disabled until the passkey button is clicked, preventing autofill from signing in first.

Verdict New comments Fixed Still open
✅ Approved 0 0 0
📂 Walkthrough · 12
File Change
apps/console/e2e/console.mocked.passkeys.spec.ts Adds explicit virtual-authenticator presence control to keep autofill from answering before the passkey-button click.
apps/console/public/images/blog/announcing-function-intervals/cover.avif Adds the announcement cover image.
apps/console/scripts/generate-blog-images.ts Registers the announcement cover with the blog image generation script.
apps/console/src/content/blog/posts/announcing-function-intervals.markdoc Publishes the Function intervals announcement and explains interval timing, usage, plan limits, and FAQs.
apps/console/src/content/changelog/entries/2026-10-12.markdoc Adds the changelog announcement with links to the blog post and interval documentation.
apps/console/src/content/docs-partials/databases-events.md Closes the Databases events table so subsequent documentation sections render.
apps/console/src/content/docs/products/functions/execute/index.markdoc Documents interval and cron scheduling, timing and plan constraints, and SDK and CLI examples.
apps/console/src/content/docs/products/functions/functions/index.markdoc Explains interval and cron options and when to choose each.
apps/console/src/content/docs/tooling/command-line/functions/index.markdoc Adds the interval setting to the CLI function configuration example.
apps/console/src/content/docs/tooling/command-line/installation/index.markdoc Adds the interval setting to the CLI installation example.
apps/console/src/lib/blog/generated/manifest.ts Registers the announcement post and its publication metadata.
apps/console/src/lib/seo/cover-dimensions.json Adds cover dimensions for the announcement image to SEO metadata.

Reviewed the commits since 6a2b7f4 · Details · Comment @hansi-codes review to re-run, or mention @hansi-codes with a question.

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Tier A · Looks good to merge. Summary

@ghost ghost left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Tier S · Looks good to merge. Summary

Date the post, manifest and changelog entry for Oct 12, and rename the
changelog entry to match. Replace the template cover with one in the
style of the multitenancy post, encoded from a hand-made source, and
point the slug at convertCoverSourceToAvif so the generator keeps it.
The changelog entry reuses the post's cover.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
adityaoberai and others added 2 commits October 12, 2026 23:41
…n click

Automatic presence stayed on after the no-passkey prompt, so once a passkey was added the reloaded sign-in page's conditional request completed on its own and left /sign-in before the button could be asserted.
@adityaoberai
adityaoberai merged commit 5a28a13 into main Oct 12, 2026
35 checks passed
@adityaoberai
adityaoberai deleted the docs/function-intervals branch October 12, 2026 19:32
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