Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a loopback Sinatra/Sequel workbench that saves an immutable synthetic inspection header and three checklist results in one PostgreSQL transaction. A retained form UUID replays identical content, conflicts on changed fields, and remains usable at the locked 200-record fixture cap. Date-only history and bounded CSV exports preserve calendar days and explicitly transform formula-looking text.
The example includes pinned Ruby/gem versions, native build instructions, reviewed migrations/seed, restricted runtime grants, verified Cloud CA/hostname configuration, native Rack CSRF/Host/Origin checks and source-only acceptance helpers. The companion article stays local for review.
Validation: fresh Linux ARM64 frozen bundle; 5 tests / 50 assertions and ERB compilation; actual Managed Postgres 18.6 migration up/repeat/down/up and repeat seed; real desktop/mobile browser; independent-session retry and cap contention; forced second-child rollback after header/first child; runtime permission/check/unique failures; exact 100-row CSV/numeric ordering and overflow rejection; actual Sequel CA/name negatives; original Puma exit before replacement with persisted content/CSV and retained replay. The owned Cloud fixture was deleted and absence confirmed. CI runs secret-free native checks.
Scope: trusted loopback synthetic fixture, no operator authentication/tenant isolation; all saves serialize through one budget lock. CSV apostrophe mitigation changes text and is not a universal spreadsheet guarantee.