Skip to content

Reject non-object staging officer event drafts before database work - #713

Merged
daliu merged 1 commit into
mainfrom
codex/staging-officer-event-schema
Oct 12, 2026
Merged

daliu merged 1 commit into
mainfrom
codex/staging-officer-event-schema

Conversation

@daliu

@daliu daliu commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Officer impact: Malformed event drafts are rejected at the input boundary; no officer-visible workflow changes.

Officer documentation: None — this preserves the already documented exact typed event form and changes no steps, fields, access or provider behavior.

Deployment evidence: No release yet; source-only follow-up before #711 staging rollout. No production/real data/payments.

Review found null/false/zero event values could skip the draft parser. Subsequent event validation prevented writes, but these should be invalid-argument before service/DB work. Make parsing unconditional for create/edit and add five table cases across both actions. No baseline, dependency, schema migration, permission or Function/resource change.

Focused backend and lint pass. Refs #711; stage deployment will use the final green exact-main source, so no redundant Function build.

@netlify

netlify Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for luminous-fox-7c393f ready!

Name Link
🔨 Latest commit 34c2812
🔍 Latest deploy log https://app.netlify.com/projects/luminous-fox-7c393f/deploys/6acc3e9ac8300500089b6e49
😎 Deploy Preview https://deploy-preview-713--luminous-fox-7c393f.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@daliu

daliu commented Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

Self-reviewed: unconditional typed draft parsing now rejects null/false/zero/string/array before DB work for both create/edit. No state, permissions, provider, docs procedure or baseline changed. Focused46 cases and all six exact-head jobs/steps pass in38193915451. User sole-maintainer merge/staging-release authorization applies; actual deployment still pending #711.

@daliu
daliu merged commit 57261ae into main Oct 12, 2026
10 checks passed
@daliu
daliu deleted the codex/staging-officer-event-schema branch October 12, 2026 02:02
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