Skip to content

docs(site): workflow store per adapter, SQLite workflows - #189

Merged
fahimfaisaal merged 2 commits into
docs/site-syncfrom
docs/workflow-store
Nov 9, 2026
Merged

fahimfaisaal merged 2 commits into
docs/site-syncfrom
docs/workflow-store

Conversation

@fahimfaisaal

@fahimfaisaal fahimfaisaal commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

Summary

Docs for #187 (workflow store found by scope) and the adapter stores. Stacked on #186.

- wf := varmq.NewWorkflow(upload.WorkflowStore(), ...)   // store reached through a queue
+ store, err := redisq.NewWorkflowStore(qs)             // or sqliteq.NewWorkflowStore(qs)
+ wf := varmq.NewWorkflow(store, ...)                    // every task-running process creates its store
  • guides/workflows.mdx: across-processes rules (store per process, no-store error), Workflows on Redis rewritten, new Workflows on SQLite (file layout, outbox, crash behaviour, close rules, file protection).
  • persistence/adapters.mdx: Scoped row replaces WorkflowAcknowledgeable; both adapters have a workflow store; notes for adapter authors.
  • persistence/overview.mdx, start/installation.mdx, persistence/sqlite.mdx, persistence/redis.mdx: sqliteq supports workflows.
  • operations/rest-api.mdx: /workflows lists registered stores.
  • guides/job-ids.mdx: wf: IDs reserved. guides/queues.mdx: removed NumPending line gone.
  • docs/examples/go.mod: pins feat!: workflow store found by scope, remove deprecated APIs (contract v0.8.0) #187 (b8a17ac) with a temporary replace for contract v0.8.0.

Evidence

  • pnpm test (214), pnpm coverage, pnpm build; docs/examples vet + go test: pass.
  • 25-word sentence check: 0. Internal links and anchors: 0 broken.
  • Reviews: docs accuracy vs the three source branches, CI/config check, security check; findings fixed in a397a08.
Workflows: across processes

Before

wf-across before

After

wf-across after

Workflows: on Redis

After

wf-redis after

Workflows: on SQLite (new)

After

wf-sqlite after

Adapters: optional interfaces

Before

adapters-optional before

After

adapters-optional after

Adapters: what redisq and sqliteq implement

Before

adapters-implement before

After

adapters-implement after

Redis: pause, outcome, cancel and workflows

Before

redis-features before

After

redis-features after

SQLite: pause, outcome, cancel and workflows

Before

sqlite-features before

After

sqlite-features after

Overview: pick an adapter

Before

overview-pick before

After

overview-pick after

Installation: versions

Before

installation-versions before

After

installation-versions after

REST: workflows

Before

rest-workflows before

After

rest-workflows after

Job IDs: shared storage

Before

jobids-shared before

After

jobids-shared after

Queues: Len, Purge and Close

Before

queues-len before

After

queues-len after

Merge Danger

Door: two-way. Docs only.

Blast Radius: docs-site

Stores come from redisq.NewWorkflowStore / sqliteq.NewWorkflowStore, found by scope; every task-running process creates one. New Workflows on SQLite section, adapters tables (Scoped + store, no WorkflowAcknowledgeable), REST /workflows lists registered stores, reserved wf: job IDs, deprecated NumPending gone. docs/examples pin #187 (contract v0.8.0 replace until tagged).
Push timing and post-crash note for sqliteq outbox, close rules per adapter, scope includes database, rate-limited no-store error, ErrScopeRegistered wording, file and credential protection, REST wording, Add false reasons count.
@coderabbitai

coderabbitai Bot commented Nov 9, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

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

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
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

fahimfaisaal added a commit that referenced this pull request Nov 9, 2026
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

Docs preview: https://varmq-docs-pr-189.fahimfaisaal-dev.workers.dev (built from a397a08). It updates with each push and is deleted when this pull request closes.

@fahimfaisaal
fahimfaisaal merged commit c27189b into docs/site-sync Nov 9, 2026
5 checks passed
@fahimfaisaal
fahimfaisaal deleted the docs/workflow-store branch November 9, 2026 16:55
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