Repository navigation
Probe: number sequence after a failed test, SCM test shapes (runner issue 8972) - #1572
Open
StefanMaron wants to merge 2 commits into
Open
StefanMaron wants to merge 2 commits into
StefanMaron wants to merge 2 commits into
Conversation
27 cell codeunits (76450-76476) in the isolation probe app. Each cell asserts its own readings in its test c. Measured on BC 29.0 under runners 130450 and 61301, same readings under both. The Windows nightly runs the range under 130450, 61301 and 61300. AL Runner issue 8972. Claude-Session: https://claude.ai/code/session_01B5GPNVCdMf7ByZez1YeU96
Six more cells (76477-76482): which accesses before a Commit() keep a sequence after a later failed test, a TestPage control, and a failed test with no table access after its Commit(). RecordRef.FieldIndex added to the RecordRef calls. Claude-Session: https://claude.ai/code/session_01B5GPNVCdMf7ByZez1YeU96
Collaborator
Author
|
Cell table. Each row: the cell codeunit, its shape, the test that asserts it (line at a29b1e4), and the reading on BC 29.0 under runners 130450 and 61301 (the same under both). Readings: name and preview = state of the sequence and of 'Preview' + name, read before the helper runs again; rows = keys of "LT SQF Row"; init desc = Description of the INIT row; entries = Entry Nos.; next = the number the helper hands out next.
Generated by an AI agent (Claude) working for Stefan Maron. |
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.
This adds probe cells for AL Runner issue 8972: Microsoft SCM tests the runner refuses because a number sequence was inserted before a test failed. It extends the sequence probes of #1465 and #1468.
Files (app
tests/al-language-isolation-probe, new id range 76440-76499):SqFailedSeqFixture.al: tables, a card page, and a helper that makes the NumberSequence calls of Sequence No. Mgt. in the same order (own code).SqFailedSeq.al: 33 cell codeunits (76450-76482). In each cell, test b fails on purpose (except the controls S1N, S1W, S2N) and test c asserts the readings in the same codeunit. There is no SingleInstance log, so AL Runner can confirm the readings (issue 8520).nightly-windows.yml: runs the range under runners 130450, 61301 and 61300, plus a per-test results step.Two groups:
What BC did (BC 29.0, runners 130450 and 61301, the same under both and on a second run):
How it was measured: only on my local BC 29.0 Linux container. The PR CI does not build or run this app, so a green PR run says nothing about these cells. BC 27.5, 28.5 and the Windows containers will be measured by the Windows nightly. I compiled the app against 27.5, 28.5 and 29.0 symbols with no errors. Gates pass: object ids, SingleInstance owners, install triggers.
Not measured: what a later test codeunit sees, and TestIsolation = Function (the nightly records it under 61300).
Generated by an AI agent (Claude) working for Stefan Maron.
https://claude.ai/code/session_01B5GPNVCdMf7ByZez1YeU96