feat: owner review 2 phase 5a: workspace and projects with a local home (#14)
CI / Build and test (push) Successful in 9m43s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 27s
CI / PostgreSQL 16 integration (push) Failing after 8m41s
CI / PostgreSQL 17 integration (push) Successful in 12m37s
CI / Docker image (push) Successful in 56s
Release / Build, test and publish (push) Successful in 14m59s
Release / Server image (push) Successful in 1m51s

Edit opens a sequence as a project of a workspace folder outside the library. Projects have linear version histories kept as sidecars in .chronos/projects/, Main mirrors the sequence's settings, and sync merges setting by setting. Migration 0009, JobKind.WorkspaceCopy = 20, Settings › Workspace, and 241 new strings in 38 languages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #14.
This commit is contained in:
Alby96andClaude Opus 5.5 authored and Alby96 committed 2026-11-04 09:22:08 +01:00
1 parent efa87f68ce
commit 9b24cf74fc
370 files changed
+29237 -287

No files matched your search

@@ -235,6 +235,13 @@ public sealed class JobRepository
return await _db.ScalarAsync<long>(sql, p.ToArray(), cancellationToken).ConfigureAwait(false) > 0;
}
/// <summary>The queued, running and paused jobs of <paramref name="kind"/> that target <paramref name="targetId"/>, newest first (5000 at most).</summary>
public Task<IReadOnlyList<Job>> ListPendingAsync(JobKind kind, Guid targetId, CancellationToken cancellationToken = default) =>
// Target ids are stored comma-joined as lower-case text, which never holds a LIKE wildcard.
_db.ListAsync(
$"SELECT {Columns} FROM jobs WHERE kind = $1 AND state IN ({PendingStates}) AND target_ids LIKE $2 ESCAPE '\\' ORDER BY created DESC, id DESC LIMIT 5000",
[(int)kind, SqlDialect.ContainsPattern(targetId.ToString())], Map, cancellationToken);
/// <summary>
/// What the running and paused jobs hold, but the job <paramref name="except"/> (the one asking): each one's id, kind and
/// targets, and only a verify's parameters (<see cref="JobHold"/>). Neither the other parameters nor the targets of