fix: address the owner review 5 review
Setup: a kept 1.0 Uploader no longer fixes the scope and folder, the Remove tooltip promises kept files only with a hashed log, and a single-program setup preselects it. The Uploader always downloads the setup. Sync links move to the server id at every sign-in while folders wait for jobs and open editors; jobs of a pending homes sort still find their projects. A shared library exposes only the shared archive's client-visible jobs and events, render nodes take only client renders, and the share counts as its own while starting. Progress: a new step waits a quarter interval and a trailing timer publishes the last state; the job bar tooltip carries the whole line; Recent maintenance and the Server jobs list pick up jobs that start while they are shown. Refs #64 #65 #66 #67 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
817956e719
commit
f30eb2904a
51 files changed
+895
-122
No files matched your search
@@ -90,6 +90,23 @@ public sealed class ProgressEventTests(TestContext context)
|
||||
Assert.Equal(TimeSpan.FromMilliseconds(500), ProgressGate.Interval);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AJobThatAlternatesStepsStillGoesOutAFewTimesASecond()
|
||||
{
|
||||
var clock = new TimestampClock();
|
||||
var gate = new ProgressGate(clock);
|
||||
var job = Guid.CreateVersion7();
|
||||
// An incremental scan: every other folder changed, checked and indexed in turn, 200 reports in a second.
|
||||
var passed = 0;
|
||||
for (var i = 0; i < 200; i++)
|
||||
{
|
||||
if (gate.Passes(job, i, 10_000, i % 2 == 0 ? JobStep.Check : JobStep.Index)) passed++;
|
||||
clock.Advance(TimeSpan.FromMilliseconds(5));
|
||||
}
|
||||
Assert.True(passed <= 14, $"{passed} passed");
|
||||
Assert.True(passed >= 4, $"{passed} passed: a new step still goes out early");
|
||||
}
|
||||
|
||||
[Test]
|
||||
public async Task TheServerSendsAndSavesWhatItsJobsDo()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user