Skip to content

docs: full docs/ set — app, ecosystem, Cloudflare, release, troubleshooting - #20

Merged
GothwadTech merged 1 commit into
mainfrom
docs/comprehensive-docs
Nov 23, 2026
Merged

GothwadTech merged 1 commit into
mainfrom
docs/comprehensive-docs

Conversation

@GothwadTech

@GothwadTech GothwadTech commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Adds a docs/ folder at the repo root, seven files:

File Covers
README.md index, repo map, ground rules
01-ecosystem.md products and domains, the Accounts identity, scopes, cookies, native sign-in, naming
02-app-architecture.md module map, startup order, data flow, folders, auth facade, error surfacing, offline
03-cloudflare.md Worker, D1 schema and limits, Pages, routes, Email Routing, SPF/DKIM/DMARC, secrets, deploy, hard-won rules
04-build-and-release.md local build, shared SDK, CI workflows, artefact names, signing, versioning, pre-tag checklist
05-operations-troubleshooting.md symptom → cause → fix for the failures we have actually hit, plus where to look
06-development-setup.md requirements, checkers, repo rules, branch/merge, manual API calls

Both checkers pass. Content is drawn from this project's real history, including the
launch-crash ordering bug, the silent syncError, the scope error, and the stale
/api/me probe.

Summary by CodeRabbit

  • Documentation
    • Added a project documentation guide covering the Mail app, its ecosystem, architecture, and infrastructure.
    • Added guidance for development setup, builds and releases, operations, and troubleshooting.
    • Documented authentication, offline behavior, deployment, and project conventions.

…lare

Seven files: index, ecosystem and identity, app architecture, Cloudflare (worker, D1,
Pages, DNS, Email Routing, secrets, limits), build and release, operations and
troubleshooting, and development setup. Written from the failures this project has
actually hit, so the next person does not rediscover them.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

Changes: Mail app documentation

Layer / File(s) Summary
Documentation overview and ecosystem
docs/README.md, docs/01-ecosystem.md
Adds a documentation index, repository roles, and project ground rules. Documents Bansify products and domains, shared identity, OAuth requirements, and app constraints.
App architecture
docs/02-app-architecture.md
Documents package responsibilities, startup ordering, Room and API data flow, authentication, offline behavior, sync errors, and crash reporting.
Cloudflare and operations
docs/03-cloudflare.md, docs/05-operations-troubleshooting.md
Documents Cloudflare configuration, mail storage and delivery, D1 limits, deployment checks, and troubleshooting steps across the app and infrastructure.
Build, release, and development
docs/04-build-and-release.md, docs/06-development-setup.md
Documents development requirements and commands, static checks, CI workflows, release artifacts, signing, versioning, and pre-tag checks.

Possibly related PRs

  • Bansify/mailapp#19: Adds the sync-error banner that the architecture and troubleshooting guides document.
  • Bansify/mailapp#7: Changes the domains and endpoints that the ecosystem and troubleshooting guides describe.
  • Bansify/mailapp#11: Adds Accounts SDK initialization that the architecture guide documents.

Change: Other

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@GothwadTech
GothwadTech merged commit 1682379 into main Nov 23, 2026
5 of 6 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