Repository navigation
Leave the drain job half of the release timeout to write its outcome at a stop - #3714
Merged
pournasserian merged 2 commits intoNov 26, 2026
Merged
pournasserian merged 2 commits into
pournasserian merged 2 commits into
Conversation
…into 3560-drain-job-outcome-at-stop
pournasserian
enabled auto-merge (squash)
November 26, 2026 18:45
pournasserian
merged commit Nov 26, 2026
43c3d7e
into
feature/storage-jobs-and-tests
4 checks passed
pournasserian
added a commit
that referenced
this pull request
Nov 26, 2026
…, and run every end-to-end case on WebKit (#3723) Closes #3604 Closes #3606 Closes #3575 Closes #3574 Closes #3560 Closes #3553 Closes #3552 Closes #3562 Closes #3649 Closes #3648 Closes #3213 Closes #3709 Brings the batch of `feature/storage-jobs-and-tests` into `main`: eight issues of storage, jobs and operations, the three end-to-end issues that were left, and the removal of member sign-in with Apple. Storage, jobs and operations: - #3719 Add a key-value store with compare-and-set for plugins (`IPluginStore<TPlugin>`, the table `cms_plugin_store`, ADR 0009) - #3710 Copy a media file an import line names by key under a key of its own - #3712 Hold document rows with a locking read on PostgreSQL - #3722 Pin the round trips of a publish, a scheduled publish and an import - #3714 Leave the drain job half of the release timeout to write its outcome at a stop - #3716 Correct the migrations lock guide and release what the lock tests hold - #3715 Count the client registration limit in `fluentcms.rate_limit.refused` - #3721 Tell a derived plugin name from a given one and pin long check names and SQLite rebuilds End-to-end tests of the admin: - #3713 Run the two reload cases of the navigation progress on WebKit - #3717 Run the close of a clean tab on WebKit - #3718 Add the end-to-end case of an external login removed on the account page - #3720 Read the API keys secret holders on the renderer's dispatcher (part of #3610; a test that failed twice on Windows) Identity: - #3711 Drop member sign-in with Apple (#3165 is closed as not planned) Changes a host or a client can see: - A host whose configuration names a member provider with `Type: Apple` no longer starts (`FCMS3180`). The package `AspNet.Security.OAuth.Apple` is no longer referenced. - The table `cms_plugin_store` is folded into the system `Initial`, so a database of an earlier build is refused with `FCMS1308` and must be recreated; `plugin_store` becomes a reserved table name. - An import line without a file now copies the file at the key it names under a key of its own; `mediaNameKeys=true` (`--media-name-keys`) keeps the earlier naming. - At a stop the outbox drain's writes take half of `ReleaseTimeout`. - `fluentcms.rate_limit.refused` gains the policy value `client-registration`. With #3713 and #3717 no end-to-end case is left out on WebKit. The end-to-end project now references `Microsoft.EntityFrameworkCore.Sqlite`, at the version already pinned, to write a login into the test host's database. The decisions the issues left open are recorded on #3604, #3606 (ADR 0009) and #3553. What the reviews left for later is on the follow-up lists #3608, #3609, #3610 and #3611, with the lines the notes of the next release owe. #3587 and #3581 were left out of the batch and stay open. Checked on the feature branch before this pull request: a quick run of `CI` with the Firefox and WebKit end-to-end jobs, green on every job (run 45890126997).
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.
Closes #3560
The outbox drain now bounds the writes of a stop by half of
JobRunnerOptions.ReleaseTimeout, so the drain job's own outcome is written in the other half before the job runner's stop returns, where a drain that used all of it left its job leased until the lease ended.The runner still waits
ReleaseTimeoutin all, and no option was added. At zero nothing is waited for, as before. The drain keeps its own split inside its half: the settle first, then the release.A new test on a manual clock stops a running job runner whose drain uses its whole time and checks that the drain job succeeded before the stop returned. The Events and Jobs tests of
FluentCMS.Data.Testsran on SQLite,OutboxFailureTestson PostgreSQL too. The specification's "Outbox drain, as built" and the job runner's stop describe it.