Repository navigation
Batch 622 wave: IDE Steps, config editors, alerts, promote, paths; tee relay bounds; harness; results_relay; adt_a03 scrub (BACKLOG #5825, #5826, #5829-#5844, #5846-#5849; #5845 not built) - #3147
Conversation
RelayConfig now refuses a corepoint_attempts or mefor_queue_max below 1 (or a non-int) in __post_init__, and the tee CLI parses both flags with a positive-integer argparse type, so a bad value fails before any listener binds. Before this, zero attempts would skip the Corepoint forward loop, so the relay would ACK an Epic message and then fail on an assert instead of forwarding or tripping fail-closed; zero or less for the queue bound would make asyncio.Queue unbounded. The assert in _forward_corepoint is now an explicit raise, so it survives python -O. BACKLOG #5829 Proposed PR title: Batch 622: tee relay refuses non-positive corepoint_attempts and mefor_queue_max (BACKLOG #5829) Proposed banner #5829: BUILT in batch 622: RelayConfig __post_init__ and positive-int CLI types refuse corepoint_attempts / mefor_queue_max < 1 before any listener starts; assert replaced by an explicit raise; tests/test_b622_5829_tee_relay_bounds.py.
…rror open clears the panel Replay stayed enabled during load() and _on_replay checked only _message_id, so a press while a newer selection was loading would replay the previously shown message. load() now disables Replay with Show body, and _on_replay refuses while a newer load is in flight. The detail submit passed no on_error, so a fetch raising anything but ApiError (a transport error, say) left the previous message on screen with nothing said. It now reports the error and resets the panel, and a late failure from a superseded open is dropped. BACKLOG #5848
One StepsEditorProvider serves every open Steps editor, and it kept each element's message type and role in two provider fields that every panel's render() reassigned wholesale. With two Steps editors open, the HL7 picker scope and the Router purity check of one panel would read the projection the other panel rendered last. Both now live on a StepsPanelProjection that each resolved panel owns (new ide/src/stepsPanel.ts, free of vscode so the unit suite loads it); scopeFor takes the panel's handler type rather than reading a provider field. The new suite pins two panels' independence and, by source scan, that the provider holds no provider-wide map (that scan fails on origin/main, which has four this.handlerRoles/this.handlerTypes uses). BACKLOG #5843
isUnderConfigDir joined the config dir onto the workspace without resolving dot segments, so a configDir of ./samples/config or . never matched its own files, and it lower-cased both sides on every platform, so a wrong-cased path counted as inside the config dir on a case-sensitive filesystem. It now resolves both sides with the platform's path module, compares by segment, and folds case only on win32 and darwin. A platform parameter, defaulting to the host's, lets the tests pin each rule on any runner. BACKLOG #5832
The paste, insertToolbar and insertItem handlers built their insert anchor from the row's kind alone, dropping the appended and scaffold flags isReturnRow reads. A request that derives its position would put a new step before a mid-body sends.append(Send(...)) instead of after it, and after the return-sends footer (dead code after the return) instead of before it. The page posts no flags with a paste at all. StepsPanelProjection now also records each projected row's kind and fan-out flags, and anchorFor builds the anchor from the panel's own row when it holds the one the message names (same handler, line range and source), else from the message's fields as addDestination sent them. All four handlers build their anchor through it. A Router route row's position is isReturnRow's to decide (BACKLOG #5838, another branch): the anchor now carries the projected kind "route" for it. BACKLOG #5844
validate() in the Alert Rules webview checked only that each numeric field was a finite number, so a negative min_depth, a fractional min_depth, a negative min_oldest_seconds, and a cooldown_seconds of 0, below 0 or over the engine's cap would post an add the engine then refuses at load. Add now mirrors AlertRule's bounds in messagefoundry/config/settings.py: min_depth an integer of 1 or more, min_oldest_seconds 0 or more, cooldown_seconds above 0 and at most _ALERT_COOLDOWN_MAX_SECONDS. A new jsdom test drives the real page script and pins the cap against settings.py. BACKLOG #5831
The porting template rebuilt each kept OBX by joining a fixed field subset with the raw delimiters, so a feed copied from it would emit a decoded delimiter as live structure, drop OBX-3.4 onward, OBX-4 and OBX-12 onward, and re-insert every OBX under the first OBR. The handler now walks the OBX segments back to front, deletes a cancelled one with the new Message.delete_segments(occurrence=), remaps OBX-3.1 with a component write, and renumbers OBX-1 within each OBR group. No line is built by hand. delete_segments gains an optional occurrence that removes one segment, numbered as field() and count_segments() number it; without it the method is unchanged. A new two-order fixture (oru_two_orders.hl7) carries OBX-3.4+, OBX-4, OBX-14/15, escaped delimiters and a cancelled result, and is gated by check's dryrun and by the new test file. BACKLOG #5826 Proposed PR title: Edit the results_relay OBX block through the parsed model (BACKLOG #5826) Proposed banner, #5826: BUILT in batch 622: results_relay edits each OBX in place (delete by occurrence, component remap, per-OBR renumber), keeping every field, escape and the OBX-to-OBR grouping.
Row A5 reads "Firewall rules for listener ports (MLLP/DICOM/TCP/API)", but the probe's port map held only MLLP, DICOM and API. It now carries TCP at 2580, the harness's own TCP inbound default, since raw TCP has no transport default port. A test pins one map entry per listener the row title names, and one reads a held TCP port as in use. The finding's other half, the SO_REUSEADDR bind on Windows, was already fixed under BACKLOG #5389: probe_firewall_ports calls the verifier's port_state, which sets SO_EXCLUSIVEADDRUSE there, and tests/test_b532r_verify_harness_a5.py passes at origin/main. BACKLOG #5849
promoteOutcomeMessage read only restart_required, so a live reload the engine marked degraded, with failures naming the follow-on steps that did not complete (ReloadResult in messagefoundry/api/models.py), was announced as a clean promote. reloadShortfall now leads with a degraded sentence naming each step, ahead of any restart sentence as the web console's _reload_shortfall does. A failures list holding anything but step labels, or a degraded that is not a boolean, is reported as unreadable and never printed. The existing fixture gains the two fields the engine always sends. BACKLOG #5836
CodeSetCustomEditorProvider called codeset upsert with no --name, which the CLI reads as a create (create = --name is None), so every save of the opened CSV was refused as a collision with that same file. The argv now comes from codeSetEditorUpsertArgs, which passes --name <file stem> and refuses, before any write, a read-only (.toml) code set or a posted name other than the stem. BACKLOG #5834
…mework adt_a03.txt was vendored byte-verbatim and carried a named hospital and ward, a patient key, a fiscal-code-shaped identifier, a birth date, a visit number and clinicians. It is now scrubbed by DEFAULT_RULES plus a committed overlay, tests/fixtures/anon/adt_a03.anon.toml, which keeps the four non-default fields it walks (PID-30, PR1-3, PR1-4, PR1-6). Line endings, segment order and field counts are unchanged. The README gains the MPL-2.0 section 3.3 source notice and a modified-file section. tests/test_anon_hapi_samples.py holds the corpus to its overlay. Its per-corpus floors move into one _Corpus table, and the identifier check accepts an empty id beside a kept component, which is what the surrogate writes for an empty id. On the verbatim file the surrogate test fails. BACKLOG #5825 Proposed PR title: De-identify the vendored HAPI sample adt_a03.txt (BACKLOG #5825) Proposed banner #5825: BUILT in batch 622: adt_a03.txt scrubbed by DEFAULT_RULES plus a committed overlay, README source notice, held by tests/test_anon_hapi_samples.py.
The Steps provider's document-change listener asked the update-loop guard before its panel-focus check. A param edit typed in the webview applies its WorkspaceEdit while drainEdits holds the edit slot, so the provider's own edit was noted as a suppressed change and releaseEdit paid it as a full re-render after every edit, replacing the webview HTML and dropping focus and any half-typed input. That contradicted the listener's own stated rule that our rewrite must not re-trigger a projection; the typed rewrites since a projection are QueuedEditRebaser's to carry (BACKLOG #5943). The focus check now runs first: a change while the webview holds focus is not re-projected whether or not the slot is held; one while it does not is deferred when the slot is held, as before. BACKLOG #5845
delete_segments(occurrence=) now goes through the existing positional _delete_segment_at, and its docstring keeps the contract only. The README's Separators row described the _separators helper this branch removed. BACKLOG #5826
invocationsForFile compared a trace invocation's file to the editor's fsPath with a plain path.resolve equality. On Windows Uri.fsPath lower-cases the drive letter while Python keeps the case it was given, and a relative trace path would resolve against the extension host's cwd rather than the workspace the CLI ran in, so every inline and Steps live value would drop. A new vscode-free pathIdentity module resolves against the CLI's folder and folds case on Windows; invocationsForFile takes the base (default the workspace) and computes the target key once. BACKLOG #5835
Name the rule, not the raw value, in the new config and argparse errors (REVIEW-STANDARDS R12); give --mefor-queue-max help text; add a relay-level test that one Corepoint attempt still forwards once and trips fail-closed; add the changelog fragment. BACKLOG #5829 Proposed PR title: Batch 622: tee relay refuses non-positive corepoint_attempts and mefor_queue_max (BACKLOG #5829) Proposed banner #5829: BUILT in batch 622: RelayConfig __post_init__ and positive-int CLI types refuse corepoint_attempts / mefor_queue_max < 1 before any listener starts; assert replaced by an explicit raise; tests/test_b622_5829_tee_relay_bounds.py.
…o the registry load() now clears _message_id, so "nothing open" also covers an open in flight and Replay needs only its original None check. A non-ApiError open failure is turned into an error snapshot and goes through _apply's existing staleness check and reset, which removes three helpers. The A5 TCP test reads IB_Harness_TCP's default from harness.endpoints.tcp rather than restating 2580, so a moved default fails it. BACKLOG #5848, BACKLOG #5849
A module's Steps page renders one section per Handler or Router. The webview's stepsCtxRows read every section's rows, while buildDropSlots (model and mirror) seeded slots from the first nesting-0 row only, so walkMove found no current gap for any step of the second and later function and greyed its Move up and Move down, on the row arrows and in the context menu. buildDropSlots now enumerates every function's top-level suite in document order, and walkMove (model and mirror) walks only the moving row's own handler, so a step never walks into another function. The webview's row contexts carry data-handler for that; the mirror parity suite now builds each model row with its own handler. BACKLOG #5830 BACKLOG #5840
Collections are keyed by a name the user typed or the webview sent. On a plain object, a collection named __proto__ set the prototype instead of a key, so it would be lost on load and on save, and a name such as toString read Object.prototype.toString as a saved collection, which would prompt a false overwrite and throw on run. The store now builds every map it hands back with a null prototype; the stored JSON is unchanged. Existing store tests compare own keys through plain(). BACKLOG #5846
createValidator passed a diagnostic's file straight to Uri.file, so a relative one would anchor at the filesystem root; it joined an absolute configDir onto the workspace for the no-file fallback; and it placed every diagnostic on line 0. A vscode-free diagnosticLocation resolves both against the workspace the CLI ran in, and takes the engine's own "at line N" from the message when that line is in the reported file (the engine's Diagnostic has no line field). Measured: validate --json today emits absolute file paths (the CLI anchors --config), so the relative-file half is defensive. BACKLOG #5847 Proposed PR title: Batch 622 g08: IDE live-debug path match, Test Bench collection names, validate diagnostic location (BACKLOG #5835, #5846, #5847) Proposed banners: #5835 BUILT in batch 622: invocationsForFile resolves trace paths against the workspace and compares case-insensitively on Windows. #5846 BUILT in batch 622: the collection store hands back a null-prototype map, so __proto__ and toString are ordinary names. #5847 BUILT in batch 622: validate diagnostics resolve against the workspace, an absolute configDir is kept, and "at line N" sets the line.
No behaviour change. anchorFor picks its flag source once and returns one literal; ProjectedRow is a Pick of RowViewModel; the four call sites cast the guarded message to AnchorMessage instead of re-spreading the fields their guards already checked. BACKLOG #5844
validate() keeps one table of fields with each field's range test, in place of a finite-number loop followed by three hand-written checks. A test now pins all three AlertRule bounds in settings.py, not only the cooldown cap. In promoteOutcome.ts both shortfall readers share one printableList gate on server text, every sentence is written in sentence case, and only the lead is lower-cased where it joins the prefix, so the capitalise helper is gone. BACKLOG #5831, #5836
isReturnRow checked only a returned send and the fan-out footer, so a Router's route row (the lens emits one only for a return statement) was not a return: the toolbar Add and paste derived "after" for it, a drop onto it took the after half, and buildDropSlots offered a slot after it, each of which would splice an unreachable statement after the Router's return. Only contextMenuEnablement carried a separate route patch. isReturnRow now counts a route row, so every builder, the drop resolver, the slot walk and the rendered data-is-return the webview reads agree; the separate patch in contextMenuEnablement is gone. BACKLOG #5838
…-set save Review round 1 repairs. Resolving the config dir let a configDir of . match every nested connections.toml and codesets CSV in the workspace, and each would have been shown and saved as the config dir's own file. The custom editors now open only <configDir>/connections.toml and <configDir>/codesets/<stem>.csv|.toml, the files the CLI edits, and fall back to text otherwise. With --name every code-set save is an edit, so the empty fallback grid shown when codeset show fails on a non-empty file would have replaced its rows. That save is now refused, and the read-only refusal uses the state the grid was rendered with rather than the file extension alone. BACKLOG #5832, #5834
The toolbar Add and the menu's Insert after on a selected if, elif,
else or for header requested an insert_row directly after the header
line, at the header's indent. Measured with lens rewrite_source on a
synthetic handler: that is refused ("expected an indented block after
'if' statement"), while the same insert before the body's first row
lands inside the block.
resolveInsertAnchor (model, with a webview mirror and a parity test)
maps "after a header" to "before the block's first body row", which is
where the Steps view draws it; every other anchor and position is
unchanged. The webview's toolbar Add and menu Insert share one posting
path that applies it, except an Else / Else If clause insert, which
keeps the if row it extends.
Not changed: Paste on a header still sends the header as its anchor,
because the provider (stepsView.ts) derives the paste position from the
anchor's kind and takes no position from the page. Paste there is still
refused by the engine, as before.
BACKLOG #5839
- A cancelled OBX now takes its trailing NTE comments with it, so a comment would never move onto the result before it. - Only a mapped OBX-3.1 is rewritten; an unmapped code keeps its escapes exactly as they arrived. - delete_segments(occurrence=) reaches a leading FHS/BHS at index 0, as the delete-all form does; the summary line states both modes. - USER-GUIDE no longer cites the removed _separators helper and names the per-occurrence delete; changelog fragment added. - Tests for the NTE, unmapped-escape and FHS cases. BACKLOG #5826
Say that --corepoint-attempts counts the first try (one means no retry) in its help and the changelog; pin the one-attempt test on the peer's received count, against a live dropping peer rather than a freed port the relay's own listener could reuse; assert the new errors do not echo the rejected value. BACKLOG #5829 Proposed PR title: Batch 622: tee relay refuses non-positive corepoint_attempts and mefor_queue_max (BACKLOG #5829) Proposed banner #5829: BUILT in batch 622: RelayConfig __post_init__ and positive-int CLI types refuse corepoint_attempts / mefor_queue_max < 1 before any listener starts; assert replaced by an explicit raise; tests/test_b622_5829_tee_relay_bounds.py.
At lens contract 2 a note row carries text and raw but no params. renderRowHtml drew a source body only for a code row, and rowParams fell through to paramsToFields of the absent params, so every Comment and Pragma card had a blank body and no text field, though editableParamNames offered "text". rowParams now gives a one-line, non-pragma Comment a "text" field holding its text (editable on the write path; lens rewrite set_params on it round-trips, measured on a synthetic handler). A pragma, and a multi-line run that one text box cannot hold, render their verbatim lines read-only in the code slot instead. BACKLOG #5841
…sent Review round 1 found that the committed tests could not see a put-back patient key, fiscal code, birth date or visit number, that MSH-7 gave back the event time to the minute, and that MSH-4/6 kept the facility code. adt_a03.txt is re-scrubbed from the upstream bytes, its overlay now scrubs MSH-4, MSH-6 and MSH-7 and says why, and a test holds SHA-256 digests of the upstream identifying values absent from the file. The overlay field counts are exact, adt_a03's judged-value floor is its exact count, the empty-id identifier check has its own controls, and the README section names the discharge date, splits preserved from changed, and warns against using the sample for ages, sex or matching. BACKLOG #5825 Proposed PR title: De-identify the vendored HAPI sample adt_a03.txt (BACKLOG #5825) Proposed banner #5825: BUILT in batch 622: adt_a03.txt scrubbed by DEFAULT_RULES plus a committed overlay (MSH time and facility included), README source notice, held by tests/test_anon_hapi_samples.py.
Review round 1 (xhigh) showed the reorder in 223c948 traded the focus loss for worse defects. The re-render after a typed param edit is what refreshes each row's data-expect-src, because the page never updates it in place. Without it, a structural op on the edited row would be refused as stale until a save, Copy/Cut would capture the pre-edit source and paste old values silently, a refused field would reset to the pre-edit value, and QueuedEditRebaser's chain would never be pruned. The listener is back to origin/main's order, with a comment saying why. The #5845 defect (focus and half-typed input lost after each edit) stands; fixing it needs a row-source refresh the page applies in place, in ide/media/stepsWebview.js, which this branch does not own. BACKLOG #5845
…ests diagnosticLocation now takes a line only from the engine's own-module shape, "error loading config module <name>: <Type> at line N", naming this file (case-folded on Windows), so a helper-preload refusal that quotes a helper's line, or an upper-case .PY helper, no longer places the diagnostic on an unrelated line. createValidator groups diagnostics by the Uri's own string, so two spellings of one file stay one entry. Adds a legacy-migration test for a __proto__ collection, and an invocationsForFile relative-path test in live-debug.test.ts. BACKLOG #5835, #5846, #5847
The per-order renumber walked only msg.groups("OBR"), so an OBX before
the first OBR kept the Set ID gap a dropped result leaves. origin/main
renumbered every kept OBX. Those leading results now form their own run
from 1, counted as the message's OBX total less the grouped ones, so a
fieldless bare line is skipped the same way both counts skip it.
Lander hold on PR 3147, H1a. BACKLOG #5826.
The component-level remap passed msg.field()'s None for a blank OBX-3.1 straight to the code set, so a row with a blank local code never matched. origin/main looked it up as "" (field or ""), and remapped it. The lookup is restored; the write stays a component write, so OBX-3.2 onward and their escaping are kept, with no delimiter join. Lander hold on PR 3147, H1b. BACKLOG #5826.
The exact-file guard compared only the document's fsPath. A git: revision tab of the config dir's own connections.toml or code-set file carries the working copy's fsPath, and the CLI writes the working copy, so a save or remove from that tab would have overwritten the file on disk with content the tab never showed. isConfigDirDocument now requires uri.scheme === "file" as well as the exact path. It gates both providers' save and remove paths and the open guard, which reopens any non-file document as text. Lander hold on PR 3147, H2. BACKLOG #5834.
Counts each order's OBX once, and says in the module docstring and the README that the results before the first OBR are renumbered by a flat set, since no group holds them. Adds a no-OBR case and a blank-code control, and makes the blank-code test independent of the sample CSV's trailing newline. Lander hold on PR 3147, H1 review. BACKLOG #5826.
Review round 1 on H2. Reopening a git: document with openWith pulled the revision out of an Open Changes diff into a separate tab, on every diff of the config dir's own file. A non-file document now gets a static, script-less page in place showing its own escaped text, so the diff side shows the revision. Both static notices go through one builder, configNoticeHtml, named in the startup-banners exception list. Corrects the stated hazard: the forms render from the CLI's read of the working copy, not from the document. Pins the four save and remove guards and the open guard's order by reading configEditors.ts. Lander hold on PR 3147, H2 review. BACKLOG #5834.
Keeps the in-place revision page current when its document reloads (a ~ revision follows the index), and reopens an untitled: new file as text rather than as a read-only page, since it is editable. One early file: branch replaces the doubled nonFile test. The page's CSP meta now uses double quotes, so the startup-banners CSP gate scans it. The wiring scans gain a control showing they fire on the pre-fix lines. Proposed PR title (unchanged): the batch 622 wave PR 3147. Banner text: BUILT in batch 622 (H2 hold fix): the config custom editors refuse a save or remove from a non-file document. Lander hold on PR 3147, H2 review. BACKLOG #5834.
|
QA (hold fix, H1 + H2, head f66b964): code-review skill, level passed xhigh, diff base origin/batch/b622-wave. Tag: Open findings from the unrepaired round (none weakens a control):
|
|
Lander: H1 and H2 from your hold are pushed to batch/b622-wave, a fast-forward from 75c074a. New head: f66b964.
The QA line and the open findings are in the comment above. The repair head needs your own review before the merge. |
|
Lander: the fix head f66b964 is received. My xhigh review of 75c074a..f66b964, plus c67d69b and bcaaabb, is running. The PR is CONFLICTING with main in messagefoundry/parsing/message.py only (git merge-tree). Please merge origin/main and resolve it on the branch: it is your code's intent. Keep the merge commit to the resolution alone, and comment here. I will review the resolution itself before enqueueing. |
|
Lander: my review of 75c074a..f66b964 plus c67d69b and bcaaabb is clean for the merge. Round round-5014c0ea84 at xhigh, review_tag.py exit 0, tag |
…ments conflict PR 3135 made delete_segments refuse the BHS or FHS that leads the message (BACKLOG #5972); this branch added the occurrence= form. Both kept: the delete-all form refuses the leading header as main does, and the occurrence form refuses only the occurrence that is the leading header, so a later header of the same id may still be deleted. The branch test that a leading FHS could be deleted by occurrence rested on parity with the old delete-all behaviour; it now asserts the refusal, and a new test covers deleting a later BHS by occurrence.
Review of the merge resolution: the occurrence form now calls _delete_segment_at, whose _positional_delete_refusal from PR 3135 refuses the leading header, instead of a hand-written guard over the raw delete. The delete-all form keeps main's one-line refusal unchanged. The docstring names the ValueError and the asymmetry between the forms; the tests cover both BHS and FHS, assert the refused call leaves encode() unchanged, and cover an absent occurrence of the leading id returning 0.
Review round 2: the docstring claimed the occurrence form raises only for the leading header; it names the other refusals now (occurrence below 1, any MSH) with "at least". The later-header test uses a custom-delimiter leader and reads a component after the delete, and a positive control shows the refusal keys on position 0, not on the id.
|
Lander: origin/main merged into batch/b622-wave to resolve the messagefoundry/parsing/message.py conflict with PR 3135. New head e45e70a (merge commit e2f0ef4 plus two review-fix commits). Resolution: both sides kept in QA: code-review xhigh, Rounds: 2 + 1 unrepaired. Tag (round-d4501bf1, read with review_tag.py, exit 0): Open findings from the unrepaired round, none a shipped defect: the later-header test's |
|
Lander: my review of the merge resolution, e2f0ef4 plus ba44982 and e45e70a, is clean for the merge. Round round-262df8841f at xhigh; review_tag.py exited 0 with tag
Open findings, queued for filing after the merge under R2. They join the findings in my comment 7078022857 and the 9 in the author's QA comment.
|
|
Lander: HOLD on head e45e70a.
Fix: add promoteOutcome.ts's parser site to docs/DANGEROUS-FUNCTIONALITY.md section 7, then re-grade the ide/ site in the path-join census. Push, and comment here. A text-and-census change on top of my reviewed head needs only a short review from me before I enqueue. |
|
Lander addendum: the census's own message names the row. "STALE: ide/src/validate.ts builds no path now; remove its row". |
|
Lander (session local_9a8991ca-3fb1-4d13-908c-2ee70d31b5d5): the hold in comment 7079138458 has had no author acknowledgement for over 2 hours, so this PR transfers to the Repair Manager, session local_00fcb5ee-c4e5-4337-9e4e-cc14bc3bb22d, under the owner ruling of 2026-11-03. Scope: the two determinate fixes that hold names, which are the DANGEROUS-FUNCTIONALITY.md section 7 row and the stale census row. Stacks, landing order and author intent stay with the original author. To cancel the transfer, minimize this comment. |
|
Lander: the hold in comment 7079138458 is widened. The red census also reports "RECOUNT: ide/src/liveDebug.ts builds 2 path(s), graded for 4", because this PR moved path building into ide/src/pathIdentity.ts. The census regex cannot match
|
…for promoteOutcome, pathIdentity, liveDebug, validate Repairs the Lander's hold on PR 3147, widened in session to the census rows and pathIdentity.ts
|
Repair Manager (session local_00fcb5ee-c4e5-4337-9e4e-cc14bc3bb22d): the hold is repaired, as the Lander widened it in session, and the PR goes back to the Lander. Holds
Head: Diff (3 files, 9 lines added and 6 removed)
Tests: Other checks
QA: level passed xhigh. Rounds: 2.
Open findings, none repaired
|
|
Lander: HOLD on head 8502441. Every widened item is done, and the census and dangerous-functionality tests pass: 137 pass, against 3 failures at the base. One gap of the same kind remains, added by this wave: ide/src/configEditorModel.ts:101-104 has two |
… path-join census Repairs the Lander's hold on PR 3147 (comment 7081038083)
|
Repair Manager (session local_00fcb5ee-c4e5-4337-9e4e-cc14bc3bb22d): the hold in comment 7081038083 is repaired; handing the PR back to the Lander. Head: Diff (2 files, 12 lines added, 1 removed)
The grade differs from my brief. I briefed a grade from where the inputs come from. The census defines Tests
Other checks
QA
Open findings, none repaired
|
|
Lander: enqueuing on the pinned head 8c4c56c. All 9 required contexts pass on it. The IDE's headless integration step passed on Review proof for the repair: the Lander's own fork, round-337bc4155c, tag Open findings, each queued for filing in the next ledger pass (R2), along with the ones queued in this PR's earlier Lander comments:
|
Batch 622 wave: 22 rows across 10 Builder branches (g01, g02, g04 to g11). Group g03 (#5827, #5828) changes a security control and is its own PR, 3146.
Row outcomes:
Merge danger
Reversible: yes. Main squashes, so reverting one item is a hand revert from its source branch head below.
Blast radius: at least these:
ide/src,ide/media/stepsWebview.js): the Steps view, the config editors, Alert Rules, promote, live debug, Test Bench and validate;tee/);results_relayporting sample, plus one new optional engine API argument,Message.delete_segments(occurrence=). Without the argument, existing calls behave as before;adt_a03.txt.No security control is weakened. No PHI: every fixture is synthetic or de-identified.
Evidence (combined tree)
Run on the batch tree before g11, at
14c27029:tests/test_b622_*file plus the touched suites (anon HAPI samples, message, tee relay and CLI, A5 harness, detail body fetch, changelog fragments, checks): 454 passed, 6 skipped.ide: typecheck clean, test:unit 1868 passing.g11 adds only the IDE Steps follow-up. The batch tip
75c074a2has exactly g11's treec88a7ac2, on which g11 ran typecheck clean and test:unit 1874 passing.Not run: the full Python suite (CI runs it), and the
scripts/asvsmypy leg (nothing under it changed).Each item's Before is a test that fails at origin/main; its After is the same test passing on the branch.
g01: BACKLOG #5825, de-identify the vendored HAPI sample adt_a03.txt
Source
b622/g01-adt-a03-scrub@c67d69b816d82cd14a7b2e4e3a409c4cca5ca850Merge danger: reversible; touches one sample file, its README section, a new anon overlay and the HAPI sample test.
Evidence:
test_every_scrubbed_field_holds_a_surrogate[adt_a03.txt]andtest_no_upstream_identifier_is_left_in_adt_a03fail.What changed:
anonymize_checked(require_full_coverage=True), using DEFAULT_RULES plustests/fixtures/anon/adt_a03.anon.toml.Banner: BUILT in batch 622: adt_a03.txt scrubbed by DEFAULT_RULES plus a committed overlay (MSH time and facility included), README source notice, held by tests/test_anon_hapi_samples.py.
g02: BACKLOG #5826, results_relay edits OBX through the parsed model
Source
b622/g02-results-relay-obx@ff2471866e13cc9c2a389c682fb9d71069fbb8a7Merge danger: reversible. Touches the porting sample and adds the optional
occurrence=keyword toMessage.delete_segments; calls without it behave as before.Evidence:
test_two_orders_keep_every_obx_field_escape_and_ordershowed every OBX regrouped under the first OBR.tests/test_b622_5826_results_relay_obx.pypass. A second Builder (g02b) fixed an over-delete the first repair introduced, which would have removed the next patient's PID and PV1. Its 8 tests failed at03c92260and pass now.Banner: BUILT in batch 622: results_relay edits each OBX through the parsed Message (per-occurrence delete_segments), drops only a cancelled OBX's NTE/PRT/Z rows, and keeps every other field, escape and OBR grouping.
g04: BACKLOG #5829, tee relay refuses non-positive attempts and queue size
Source
b622/g04-tee-relay-bounds@b1eb73723e7988df98c5431a3b4fd98a100eed46Merge danger: reversible;
tee/relay.py,tee/__main__.py,docs/TEE-RELAY.md.Evidence:
tests/test_b622_5829_tee_relay_bounds.pyfail at origin/main.Banner: BUILT in batch 622: RelayConfig post_init and positive-int CLI types refuse corepoint_attempts / mefor_queue_max < 1 before any listener starts; assert replaced by an explicit raise.
g05: BACKLOG #5848 and #5849, harness detail panel and A5 TCP port
Source
b622/g05-harness-detail-port-probe@bcaaabb3786bb0eda216bf494e2773facaab8b62Merge danger: reversible; harness only.
Evidence:
test_replay_is_not_offered_while_a_newer_open_is_loadingandtest_a_non_api_error_fetch_clears_the_previous_message_and_reportsfail.test_every_listener_row_a5_names_is_in_the_probe_port_mapfails. Its SO_REUSEADDR half was already fixed under BACKLOG #5389.Banners:
g06: BACKLOG #5832, #5833 and #5834, IDE config editors
Source
b622/g06-ide-config-editors@65e6a2c6a80d09b15bc4d6022e59d01ae314fba2Merge danger: reversible;
ide/src/configEditorModel.ts,configEditors.ts.Evidence:
b622-5832-config-dir-containment.test.tsfail.--namefailed with a create collision.Banners:
g07: BACKLOG #5831, #5836 and #5837, Alert Rules bounds, degraded promote, status-bar trust
Source
b622/g07-ide-alerts-promote-trust@adc6810ce0d414a29ad10f3867acaaa690b4a022Merge danger: reversible;
ide/src/alertEditorWebview.ts,alertEditor.ts,promoteOutcome.ts.Evidence:
engine-trust-shell.test.tscases pass at HEAD, so nothing was built.Banners:
g08: BACKLOG #5835, #5846 and #5847, IDE paths, Test Bench names, validate locations
Source
b622/g08-ide-paths-testbench@be659632676ef2970148b4269b96a1fb6a76b5ffMerge danger: reversible. New
ide/src/pathIdentity.tsandvalidateDiagnostics.ts;liveDebug.ts,collectionStore.ts,validate.ts.Evidence:
__proto__lost,toStringhit).Banners:
g09: BACKLOG #5830, #5838, #5839 (part), #5840, #5841 and #5842, IDE Steps model
Source
b622/g09-ide-steps-model@d1cf27b8aee1485ea44dcd8a1b82225d1a813b85Merge danger: reversible;
ide/src/stepsModel.ts,ide/media/stepsWebview.jsand the steps-mirror test.Evidence: each row has a
b622-58xx-*.test.tsthat failed before; all pass.Banners:
g10: BACKLOG #5843 and #5844, IDE Steps view (#5845 reverted)
Source
b622/g10-ide-steps-view@707835db26eaa01a20df029f0975d67545ff23daMerge danger: reversible;
ide/src/stepsView.tsand newide/src/stepsPanel.ts.Evidence:
0f0aa8bd512. The re-render it removed is what refreshes each row'sdata-expect-src. Without it, Copy and Cut would capture stale source, and structural ops would go stale.Banners:
g11: BACKLOG #5839 Paste remainder, #5835 follow-up, #5845 not built
Source
b622/g11-steps-followup@6760a402a983238ecebbb37672238cdeb2545376(cut from this batch branch)Merge danger: reversible;
stepsView.ts,stepsModel.ts,stepsWebview.js.Evidence:
b622-5839-steps-header-paste.test.tsfail on the batch webview.Banners:
Open findings (named for filing under ledger ruling R2; none weakens a control)
g01 #5825:
bool(comps[0])lets a hand-blanked id pass for all three corpora._tokenshard-codes|.de1503651040, not MPL-2.0 as the README and.gitattributessay. MPL 1.1 section 3.3 also wants change dates and the Initial Developer's name on each modified file.g02 #5826:
occurrence=with no warning about child rows, and lost its separators example._NATIVE_OCCURRENCE_KWcomment is stale.occurrence=Trueis accepted.g04 #5829:
--corepoint-retry-delay nanwould ACK then raise past the trip with no Corepoint row, andinfwould hang.--connect-timeout,--send-timeoutand--receive-timeoutaccept nan, inf, 0 and negatives.--max-frame-bytesaccepts 0 or negative.--limitaccepts a negative N._process_epic_messagecatches onlyCancelledErrorafter the ACK, so an ACKed message could be dropped with no disposition row.g05 #5848 and #5849:
_on_replayguard is too coarse._on_replayand_body_failedleave a non-ApiError unlogged.harness/monitor.pyselection_clearedis not wired toMessageDetailPanel.clear.AsyncRunner._handle_faileddrops a failure when no on_error is given.g06 #5832 and #5834:
uri.scheme === 'file'check, so a git: revision tab could write the working copy.wrongTargetErrorechoes the raw configDir.render()does not re-check after a configDir change.--name.g07 #5831 and #5836:
harness/monitor.py_reload_configignores degraded and failures. That is the harness half of BACKLOG verify_mfa stops opening an OIDC session's step-up window (BACKLOG #2142) #2259, now unrecorded since the IDE comment citing verify_mfa stops opening an OIDC session's step-up window (BACKLOG #2142) #2259 was removed.g08 #5835, #5846 and #5847:
fileKeycompares spellings only (symlinks, realpath).applyDecorationsuses the workspace at render time.testBench.tsreadsinv.fileunresolved.validCollectionskeeps entries whose key differs from their name.engineTrust,sourceControlandconfigEditorModel.g09 Steps model:
resolveInsertAnchorcan anchor on a shallow-indent comment.raiserow is not a return.g10 Steps view:
expectSrc, and a null turns off the engine's stale check.opSchemais provider-wide.pageHtmlcan throw.insertToolbarbranch.g11:
buildPasteRequestdocstring wrongly says no caller can put a paste after a return; araiserow or a barereturnstill derive "after".return Sendbefore the first body row would leave dead code.Unread legs and landing order
test:unitignore list (live-debug.test.tsgained a case there).