Skip to content

Rework of decider - #50

Open
sjnarmstrong wants to merge 1508 commits into
mainfrom
feature/python-api-redesign
Open

sjnarmstrong wants to merge 1508 commits into
mainfrom
feature/python-api-redesign

Conversation

@sjnarmstrong

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread ui/tree-editor/backend/dsp_decikit/api/v1/project/project.py Fixed
yield f"data: {json.dumps({'type': 'error', 'error': f'Failed to preview table data: {e}'})}\n\n"

return StreamingResponse(
generate_preview_stream(),
Comment on lines +729 to +732
content={
"message": "Project is invalid and cannot be exported",
"validation_errors": errors,
},
…s every 15 s, so a reader that never sends is cut off when its access ends
…(failing: the database refuses it, the socket drops and the client resends it for ever)
…own once that version arrives (failing: it is passed on at once and the editor drops it)
… the polars engine refuses it instead of shifting the wall clock
…offline batch and pings every 10 s to notice a dead connection
…eeps a banner naming the rules of a refused one with Download my version, and labels the reconnecting badge Offline
…t is stored (released together, the two sockets race for the row lock)
… and three browsers, a dead connection, node two, a restart)
…nly its label (the label changes before the page loads)
…nflict (editors stamp the same defaults on every rule)
…cross backend nodes by Postgres LISTEN/NOTIFY (flat-rule editor; off unless DSP_LIVE_COLLAB)
# Conflicts:
#	ui/tree-editor/backend/dsp_decikit/api/v1/project/live.py
#	ui/tree-editor/backend/tests/test_live_sync.py
#	ui/tree-editor/ui/src/components/flat-rules/useFlatRuleLive.ts
#	ui/tree-editor/ui/src/lib/__tests__/live-sync.test.ts
#	ui/tree-editor/ui/src/lib/live-sync.ts
…ntains so the server skips one applied while the client reconnected; the log refuses a message twice
…server skips any already logged; a unique index logs a client's message once
…ckend and e2e), keeping each file under 500 lines
… insert put at that index is not the same change
…atch that resent it, and a batch folded into a later one, apply once
…s it contains, so one delivered late is not applied again
… on what it changed; the live edit is dropped and its author told
…ys open (strict xfail: the first connection stamps rule ids and redraws every rule card)
…until live editing has connected, and a flat tree's round trip renames a rule and back so the editor's form is saved as over REST
…ith live editing off; live, the refused branch removal is checked after a Save
… live test that covers each; a shared user's and a double export's later save wait for a live Save
…the server log under; a large live message after a REST save of every rule is checked quickly
…s, not one core call per pair; a live client may not take the id rest or server
…whole document (72 KB stored), offline batches merge past a save they don't overlap, a save still wins over earlier live edits on what it changed (reviewed)
…on; the stamp redraw among the known failures
…ithout rule ids redraws it, e2e stories without a live counterpart, a live Save waits for validation
…dated in time reports that, not Save Failed (red)
… validate in time says Saved, not validated yet, instead of Save Failed
…ersion in time says Saved, not validated yet
…wo nodes, flag-off unchanged; a live Save waits for its version's validation and says Saved, not validated yet when none comes (reviewed)
…not sent to the browser; a data source's own error keeps its message (red)
…ported as an unexpected server error; a data source's own error keeps its message
…ython 3.10 and 3.11 (no nested double quotes in the f-string); its test checks the message
…not sent to the browser; the release token is read-only by default (reviewed; full e2e 616 passed live on, 607 off)
…eeval) extras, anyio and pytest-cov; all includes markdown-it-py
…, styled-components, web-vitals, http-proxy-middleware, stale types) and the Create React App proxy and web-vitals leftovers
…ndas or pyarrow in the lock), no unused extras, 21 unused UI packages gone (main suite 3758 passed; e2e 615-616 live on, 606-607 off, the two misses pass on rerun)
…old the edit unsaved on a live stack instead of racing its 150 ms send
… tests cut the edit off from the server (20 loaded runs and the file live on and off pass)

This branch has not been deployed

No deployments
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.

2 participants