Repository navigation
Project Board procedure: a containerised database is dumped inside its container, never streamed out through exec - #1177
Merged
Conversation
…s container, never streamed out through exec Runtime-Window Database Backups: when the database runs in a container on an engine inside a virtual machine, the dump is written and compressed inside the container, its completeness checked there, and only then copied out; a large dump is never streamed through docker exec standard output (it stalled the VM's network transmit queue and the engine's API answered errors mid-window twice, W1171). An incomplete dump stops the window before the checkout. Procedure revision 2026.12.06.2.
…ump rule claude-test's review of #1177: step 1 now says a containerised database's dump is copied to the backup file after the check inside the container; step 2's custom-format check notes that docker exec -i streams the archive in, so a large one on a VM-backed engine is listed inside the container instead. Revision 2026.12.06.2's digest recomputed.
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.
Runtime-Window Database Backups: a database in a container is dumped inside it.
When the database runs in a container on an engine inside a virtual machine (Docker Desktop on a Mac, for example):
docker cp.A large dump is never streamed out through
docker execstandard output, and an incomplete dump stops the window before the checkout.Why: on the operator's Mac, the board-table dump streamed through
docker execstalled the VM's network transmit queue twice (4 and 6 Dec 2026), and the engine's API answered errors in the middle of a reload window. On 6 Dec the VM logged 35 NETDEV watchdog timeouts, from 11 s into the dump. A test of the inside-the-container method (dump 8 s, copy 2 s, about 88 MB) ran with no stall. The project's own dev-main commands change in kdcube/applications #1727.Procedure revision 2026.12.06.2: package.json and procedure-revisions.json, with the digest computed by
procedures.source_package()from this tree.Tests (dev-main runner, source path from this checkout):
test_procedure_links_resolve,test_procedure_changed_files,test_procedure_catalog_entries: 11 passed.test_client_package,test_procedure_verify_verdict,test_worker_procedure_contract: 140 passed.No private names: 0 whole-word and 0 Organisations substring hits on the added lines.