Skip to content

Configurable Cron stepping - #6490

Closed
fubhy wants to merge 3 commits into
mainfrom
cron/dst-stepping
Closed

fubhy wants to merge 3 commits into
mainfrom
cron/dst-stepping

Conversation

@fubhy

@fubhy fubhy commented Jul 19, 2026 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • New Features

    • Added APIs to inspect cron candidates, including exact times and daylight-saving gaps or folds.
    • Added configurable handling for ambiguous or nonexistent local times when finding previous or next occurrences.
  • Bug Fixes

    • Improved cron traversal across daylight-saving transitions, including repeated and skipped times.
    • Updated schedules and clustered cron jobs to consistently catch up skipped times and run ambiguous times once.
    • Corrected backward traversal to return literal matching occurrences.

@changeset-bot

changeset-bot Bot commented Jul 19, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7829ad5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 27 packages
Name Type
effect Major
@effect/opentelemetry Major
@effect/platform-browser Major
@effect/platform-bun Major
@effect/platform-node-shared Major
@effect/platform-node Major
@effect/vitest Major
@effect/ai-anthropic Major
@effect/ai-openai-compat Major
@effect/ai-openai Major
@effect/ai-openrouter Major
@effect/atom-react Major
@effect/atom-solid Major
@effect/atom-vue Major
@effect/sql-clickhouse Major
@effect/sql-d1 Major
@effect/sql-libsql Major
@effect/sql-mssql Major
@effect/sql-mysql2 Major
@effect/sql-pg Major
@effect/sql-pglite Major
@effect/sql-sqlite-bun Major
@effect/sql-sqlite-do Major
@effect/sql-sqlite-node Major
@effect/sql-sqlite-react-native Major
@effect/sql-sqlite-wasm Major
@effect/openapi-generator Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Jul 19, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Pro

Run ID: b12149e3-d5b4-4f5b-84f2-2595330af1b3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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

@coderabbitai coderabbitai Bot added 4.0 bug Something isn't working enhancement New feature or request labels Jul 19, 2026
@fubhy
fubhy force-pushed the cron/dst-stepping branch from 95edc9c to 89c9bb5 Compare July 19, 2026 15:28
@github-actions

Copy link
Copy Markdown
Contributor

Bundle Size Analysis

File Name Current Size Previous Size Difference
basic.ts 6.66 KB 6.66 KB 0.00 KB (0.00%)
batching.ts 9.26 KB 9.26 KB 0.00 KB (0.00%)
brand.ts 6.14 KB 6.14 KB 0.00 KB (0.00%)
cache.ts 9.90 KB 9.90 KB 0.00 KB (0.00%)
config.ts 18.87 KB 18.87 KB 0.00 KB (0.00%)
differ.ts 17.09 KB 17.09 KB 0.00 KB (0.00%)
http-client.ts 20.58 KB 20.58 KB 0.00 KB (0.00%)
logger.ts 10.25 KB 10.25 KB 0.00 KB (0.00%)
metric.ts 8.52 KB 8.52 KB 0.00 KB (0.00%)
optic.ts 7.35 KB 7.35 KB 0.00 KB (0.00%)
pubsub.ts 14.09 KB 14.09 KB 0.00 KB (0.00%)
queue.ts 11.09 KB 11.09 KB 0.00 KB (0.00%)
schedule.ts 10.29 KB 10.29 KB 0.00 KB (0.00%)
schema-class.ts 17.95 KB 17.95 KB 0.00 KB (0.00%)
schema-fromJsonSchemaDocument.ts 4.06 KB 4.06 KB 0.00 KB (0.00%)
schema-representation-roundtrip.ts 27.31 KB 27.31 KB 0.00 KB (0.00%)
schema-string-transformation.ts 12.61 KB 12.61 KB 0.00 KB (0.00%)
schema-string.ts 10.27 KB 10.27 KB 0.00 KB (0.00%)
schema-template-literal.ts 14.25 KB 14.25 KB 0.00 KB (0.00%)
schema-toArbitraryLazy.ts 20.72 KB 20.72 KB 0.00 KB (0.00%)
schema-toCodeDocument.ts 21.30 KB 21.30 KB 0.00 KB (0.00%)
schema-toCodecJson.ts 17.92 KB 17.92 KB 0.00 KB (0.00%)
schema-toEquivalence.ts 17.81 KB 17.81 KB 0.00 KB (0.00%)
schema-toFormatter.ts 17.64 KB 17.64 KB 0.00 KB (0.00%)
schema-toJsonSchemaDocument.ts 20.20 KB 20.20 KB 0.00 KB (0.00%)
schema-toRepresentation.ts 18.19 KB 18.19 KB 0.00 KB (0.00%)
schema.ts 17.22 KB 17.22 KB 0.00 KB (0.00%)
stm.ts 12.02 KB 12.02 KB 0.00 KB (0.00%)
stream.ts 9.29 KB 9.29 KB 0.00 KB (0.00%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0 bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant