Compare commits

..

3 Commits

Author SHA1 Message Date
cesnimda 2a212c78d2 perf(users): project only administrative summary fields 2026-11-18 19:10:47 +01:00
cesnimda 63db9c8a34 fix(checklist): recover only system-key duplicate races 2026-11-18 18:53:20 +01:00
cesnimda be984f1b5f perf(analytics): combine stats scalar count queries 2026-11-18 18:28:51 +01:00
100 changed files with 357 additions and 1077 deletions
@@ -0,0 +1,94 @@
using System.Data.Common;
using System.Security.Claims;
using JobTrackerApi.Controllers;
using JobTrackerApi.Models;
using JobTrackerApi.Services;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging.Abstractions;
using Moq;
using Xunit;
using Xunit.Abstractions;
namespace JobTrackerApi.MariaDb.Tests;
public sealed class UserListProjectionTests(ITestOutputHelper output)
{
[Theory]
[InlineData(1)]
[InlineData(2)]
public async Task Summary_projects_only_required_columns_and_retains_global_admin_safety(int adminCount)
{
await using var database = await MariaDbDatabase.CreateAsync();
var recorder = new ReaderRecorder();
await using var db = database.Context(interceptor: recorder);
var linkedAt = new DateTimeOffset(2026, 11, 18, 10, 0, 0, TimeSpan.Zero);
db.Roles.AddRange(new IdentityRole("Admin") { Id = "admins", NormalizedName = "ADMIN" },
new IdentityRole("Member") { Id = "members", NormalizedName = "MEMBER" });
for (var index = 0; index < 75; index++)
{
var id = $"summary-{index:D2}";
db.Users.Add(new ApplicationUser
{
Id = id, Email = id + "@example.test", UserName = id,
FirstName = index == 0 ? "Åse" : null, LastName = index == 0 ? "Nordlys" : null,
DisplayName = index == 0 ? "Reviewed administrator" : null,
EmailConfirmed = index == 0, TwoFactorEnabled = index == 0,
GoogleEmail = index == 0 ? "linked@example.test" : null, GoogleLinkedAt = index == 0 ? linkedAt : null,
ProfileCvText = new string('c', 65_536), ProfileCvStructureJson = new string('j', 65_536),
AvatarImageDataUrl = new string('a', 16_384), PasswordHash = "synthetic-private-hash",
TotpSecretEncrypted = "synthetic-private-totp"
});
db.UserRoles.Add(new IdentityUserRole<string> { UserId = id, RoleId = index < adminCount ? "admins" : "members" });
}
await db.SaveChangesAsync();
db.ChangeTracker.Clear();
recorder.Commands.Clear();
await using var scope = database.App.Services.CreateAsyncScope();
var controller = new UsersController(scope.ServiceProvider.GetRequiredService<UserManager<ApplicationUser>>(),
scope.ServiceProvider.GetRequiredService<RoleManager<IdentityRole>>(), Mock.Of<IAppEmailSender>(),
new ConfigurationBuilder().Build(), NullLogger<UsersController>.Instance,
ExternalOrigin.Parse("http://localhost:3000", production: false), db: db)
{
ControllerContext = new ControllerContext { HttpContext = new DefaultHttpContext
{ User = new ClaimsPrincipal(new ClaimsIdentity([new Claim(ClaimTypes.NameIdentifier, "summary-00")], "test")) } }
};
var result = await controller.List(default);
var rows = Assert.IsType<List<UsersController.UserDto>>(Assert.IsType<OkObjectResult>(result.Result).Value);
Assert.Equal(75, rows.Count);
var current = Assert.Single(rows, row => row.Id == "summary-00");
Assert.Equal("Åse", current.FirstName); Assert.Equal("Nordlys", current.LastName);
Assert.Equal("Reviewed administrator", current.DisplayName);
Assert.Equal("linked@example.test", current.GoogleEmail); Assert.Equal(linkedAt, current.GoogleLinkedAt);
Assert.True(current.EmailConfirmed); Assert.True(current.TwoFactorEnabled); Assert.True(current.IsCurrentUser);
Assert.Equal(adminCount > 1, current.CanRemoveAdmin); Assert.Equal(["Admin"], current.Roles);
var member = rows[^1];
Assert.Null(member.FirstName); Assert.Null(member.GoogleLinkedAt); Assert.False(member.IsCurrentUser);
Assert.True(member.CanRemoveAdmin); Assert.Equal(["Member"], member.Roles);
Assert.Equal(Enumerable.Range(0, 75).Select(index => $"summary-{index:D2}"), rows.Select(row => row.Id));
Assert.Empty(db.ChangeTracker.Entries<ApplicationUser>());
Assert.Equal(2, recorder.Commands.Count);
var sql = recorder.Commands[0];
Assert.Equal(10, sql.Split("FROM", StringSplitOptions.None)[0].Split(',').Length);
foreach (var excluded in new[] { "ProfileCvText", "ProfileCvStructureJson", "AvatarImageDataUrl", "PasswordHash", "TotpSecretEncrypted", "SecurityStamp", "StripeCustomerId", "DashboardLayoutJson" })
Assert.DoesNotContain(excluded, sql, StringComparison.Ordinal);
output.WriteLine($"Actual server:{database.ActualVersion}; users:75; admins:{adminCount}; SELECT columns:10; reader commands:2; excluded large fixture text:11059200 bytes");
output.WriteLine(sql);
}
private sealed class ReaderRecorder : DbCommandInterceptor
{
public List<string> Commands { get; } = [];
public override ValueTask<InterceptionResult<DbDataReader>> ReaderExecutingAsync(DbCommand command,
CommandEventData eventData, InterceptionResult<DbDataReader> result, CancellationToken cancellationToken = default)
{
Commands.Add(command.CommandText);
return base.ReaderExecutingAsync(command, eventData, result, cancellationToken);
}
}
}
+42 -2
View File
@@ -18,10 +18,11 @@ using Microsoft.Data.Sqlite;
using JobTrackerApi.Data;
using Moq;
using Xunit;
using Xunit.Abstractions;
namespace JobTrackerApi.Tests;
public sealed class UsersControllerTests
public sealed class UsersControllerTests(ITestOutputHelper output)
{
[Fact]
public async Task SetRoles_rejects_removing_the_final_administrator()
@@ -171,11 +172,26 @@ public sealed class UsersControllerTests
db.Roles.AddRange(adminRole, memberRole);
var usersToAdd = Enumerable.Range(1, 75).Select(index => User(index == 1 ? "admin-1" : $"user-{index}")).ToList();
usersToAdd[0].TwoFactorEnabled = true;
usersToAdd[0].FirstName = "Åse";
usersToAdd[0].LastName = "Nordlys";
usersToAdd[0].DisplayName = "Reviewed administrator";
usersToAdd[0].GoogleEmail = "linked@example.test";
usersToAdd[0].GoogleLinkedAt = DateTimeOffset.Parse("2026-11-18T10:00:00Z");
usersToAdd[0].EmailConfirmed = true;
foreach (var user in usersToAdd)
{
user.ProfileCvText = new string('c', 65_536);
user.ProfileCvStructureJson = new string('j', 65_536);
user.AvatarImageDataUrl = new string('a', 16_384);
user.PasswordHash = "synthetic-private-password-hash";
user.TotpSecretEncrypted = "synthetic-private-totp";
}
db.Users.AddRange(usersToAdd);
db.UserRoles.Add(new IdentityUserRole<string> { UserId = "admin-1", RoleId = adminRole.Id });
foreach (var user in usersToAdd.Skip(1))
db.UserRoles.Add(new IdentityUserRole<string> { UserId = user.Id, RoleId = memberRole.Id });
await db.SaveChangesAsync();
db.ChangeTracker.Clear();
counter.Reset();
var manager = TestHostFactory.CreateUserManager();
@@ -187,6 +203,28 @@ public sealed class UsersControllerTests
Assert.True(Assert.Single(rows, row => row.Id == "admin-1").TwoFactorEnabled);
Assert.False(Assert.Single(rows, row => row.Id == "user-2").TwoFactorEnabled);
Assert.Equal(2, counter.ReaderCount);
var adminRow = Assert.Single(rows, row => row.Id == "admin-1");
Assert.Equal("Åse", adminRow.FirstName);
Assert.Equal("Nordlys", adminRow.LastName);
Assert.Equal("Reviewed administrator", adminRow.DisplayName);
Assert.Equal("linked@example.test", adminRow.GoogleEmail);
Assert.Equal(usersToAdd[0].GoogleLinkedAt, adminRow.GoogleLinkedAt);
Assert.True(adminRow.EmailConfirmed);
Assert.True(adminRow.IsCurrentUser);
Assert.False(adminRow.CanRemoveAdmin);
Assert.Equal(["Admin"], adminRow.Roles);
Assert.Equal(["Member"], Assert.Single(rows, row => row.Id == "user-2").Roles);
Assert.True(Assert.Single(rows, row => row.Id == "user-2").CanRemoveAdmin);
Assert.Equal(rows.OrderBy(row => row.Email, StringComparer.Ordinal).Select(row => row.Id), rows.Select(row => row.Id));
Assert.Null(Assert.Single(rows, row => row.Id == "user-2").FirstName);
Assert.Empty(db.ChangeTracker.Entries<ApplicationUser>());
var userSql = counter.Commands[0];
var selectedColumns = userSql.Split("FROM", StringSplitOptions.None)[0].Split(',').Length;
output.WriteLine($"User SELECT columns: {selectedColumns}; readers: {counter.ReaderCount}; fixture users:75; large excluded text bytes per user:147456");
output.WriteLine(userSql);
Assert.Equal(10, selectedColumns);
foreach (var excluded in new[] { "ProfileCvText", "ProfileCvStructureJson", "AvatarImageDataUrl", "PasswordHash", "TotpSecretEncrypted", "SecurityStamp", "StripeCustomerId", "DashboardLayoutJson" })
Assert.DoesNotContain(excluded, userSql, StringComparison.Ordinal);
manager.Verify(userManager => userManager.GetRolesAsync(It.IsAny<ApplicationUser>()), Times.Never);
manager.Verify(userManager => userManager.GetUsersInRoleAsync(It.IsAny<string>()), Times.Never);
}
@@ -229,8 +267,9 @@ public sealed class UsersControllerTests
private sealed class CommandCounter : DbCommandInterceptor
{
public int ReaderCount { get; private set; }
public List<string> Commands { get; } = [];
public void Reset() => ReaderCount = 0;
public void Reset() { ReaderCount = 0; Commands.Clear(); }
public override ValueTask<InterceptionResult<DbDataReader>> ReaderExecutingAsync(
DbCommand command,
@@ -239,6 +278,7 @@ public sealed class UsersControllerTests
CancellationToken cancellationToken = default)
{
ReaderCount++;
Commands.Add(command.CommandText);
return base.ReaderExecutingAsync(command, eventData, result, cancellationToken);
}
}
@@ -55,6 +55,19 @@ public sealed class UsersController : ControllerBase
{
var users = await _db.Users.AsNoTracking()
.OrderBy(user => user.Email)
.Select(user => new ApplicationUser
{
Id = user.Id,
Email = user.Email,
UserName = user.UserName,
FirstName = user.FirstName,
LastName = user.LastName,
DisplayName = user.DisplayName,
EmailConfirmed = user.EmailConfirmed,
TwoFactorEnabled = user.TwoFactorEnabled,
GoogleEmail = user.GoogleEmail,
GoogleLinkedAt = user.GoogleLinkedAt
})
.ToListAsync(cancellationToken);
var roleRows = await (
from userRole in _db.UserRoles.AsNoTracking()
-99
View File
@@ -1,99 +0,0 @@
# Standalone local project: do not combine with production Compose or its .env.
services:
database:
image: mariadb:12.2.2@sha256:42a27baaba3e8f3f0159d16381d5a7156661aa91dcc65f663cabb6a6f9503c00
environment:
MARIADB_ROOT_PASSWORD: ${JT_LOCAL_DB_ROOT_PASSWORD:?Run rebuild-windows-docker.ps1 first}
MARIADB_DATABASE: jobtracker
MARIADB_USER: jobtracker
MARIADB_PASSWORD: ${JT_LOCAL_DB_PASSWORD:?Run rebuild-windows-docker.ps1 first}
volumes:
- database:/var/lib/mysql
command: ["--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci"]
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 3s
timeout: 5s
retries: 45
start_period: 20s
restart: unless-stopped
backend:
image: jobjakt-windows-local-backend:latest
build:
context: ..
dockerfile: JobTrackerApi/Dockerfile
environment:
ASPNETCORE_ENVIRONMENT: Development
ASPNETCORE_URLS: http://+:8080
Database__Provider: mariadb
Database__ServerVersion: "12.2.2"
ConnectionStrings__JobTracker: Server=database;Database=jobtracker;User ID=jobtracker;Password=${JT_LOCAL_DB_PASSWORD};SslMode=None
Data__Root: /data
AccountLifecycle__TombstonesRoot: /account-lifecycle/tombstones
Auth__Require: "true"
Auth__JwtKey: ${JT_LOCAL_JWT_KEY:?Run rebuild-windows-docker.ps1 first}
Auth__AdminEmail: ${JT_LOCAL_ADMIN_EMAIL:?Run rebuild-windows-docker.ps1 first}
Auth__AdminPassword: ${JT_LOCAL_ADMIN_PASSWORD:?Run rebuild-windows-docker.ps1 first}
Auth__AllowRegistration: "false"
App__PublicBaseUrl: http://localhost:${JT_LOCAL_PORT:-3000}
App__Version: windows-local
App__CommitSha: ${JT_LOCAL_COMMIT:-unknown}
HttpsRedirection__Enabled: "false"
Proxy__TrustForwardedHeaders: "false"
Ai__BaseUrl: http://127.0.0.1:9
Summarizer__BaseUrl: http://127.0.0.1:9
Ai__ExternalProcessingEnabled: "false"
Email__Enabled: "false"
AccountLifecycle__DeletionEnabled: "false"
Workers__RulesEnabled: "false"
Workers__FollowUpRemindersEnabled: "false"
Workers__SavedJobSearchAlertsEnabled: "false"
Workers__DailyExportEnabled: "false"
Workers__JobEnrichmentEnabled: "false"
Workers__AiOperationsEnabled: "false"
Workers__CvDocumentImportsEnabled: "false"
volumes:
- files:/data
- tombstones:/account-lifecycle/tombstones
depends_on:
database:
condition: service_healthy
networks:
default:
aliases: [backend-web]
healthcheck:
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:8080/ready"]
interval: 5s
timeout: 5s
retries: 45
start_period: 90s
restart: unless-stopped
frontend:
image: jobjakt-windows-local-frontend:latest
build:
context: ../job-tracker-ui
shm_size: 1gb
args:
NEXT_PUBLIC_API_BASE_URL: /api
environment:
APP_PUBLIC_BASE_URL: http://localhost:${JT_LOCAL_PORT:-3000}
INGRESS_MODE: direct
ports:
- "127.0.0.1:${JT_LOCAL_PORT:-3000}:80"
depends_on:
backend:
condition: service_healthy
healthcheck:
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1/health"]
interval: 3s
timeout: 5s
retries: 20
start_period: 10s
restart: unless-stopped
volumes:
database:
files:
tombstones:
-37
View File
@@ -1,37 +0,0 @@
# Rebuild and run locally on Windows
Start Docker Desktop in **Linux containers** mode, then run PowerShell:
```powershell
powershell -NoProfile -ExecutionPolicy Bypass -File "C:\Users\Connor\.codex\worktrees\direct-roadmap-integration\Job tracker\scripts\rebuild-windows-docker.ps1"
```
Open http://localhost:3000 after the script finishes. It rebuilds backend/frontend from that checkout, reports its branch/commit and starts a separate `jobjakt-windows-local` project. It neither pulls Git changes nor selects `main`; run it again after development checkpoints are integrated into this checkout. Working-copy changes are included in Docker's ordinary build context. First build needs internet for existing base images and locked dependencies.
Login is `local-admin@example.test`. The generated password is the `JT_LOCAL_ADMIN_PASSWORD` value in `.env.windows-local` at the checkout root; open that private file locally to read it. The file is ignored by Git. Keep it and use the same checkout for subsequent rebuilds: changing database credentials after volumes exist prevents connection. The separate local database starts empty; existing production accounts/data are not imported.
Useful options:
```powershell
# Use another local port if3000 is occupied.
.\scripts\rebuild-windows-docker.ps1 -Port 3001
# Validate configuration without building or starting containers.
.\scripts\rebuild-windows-docker.ps1 -ValidateOnly
# Rebuild without Docker layer cache when needed.
.\scripts\rebuild-windows-docker.ps1 -NoCache
# Stop this local project, retaining its database/files and credentials.
docker --context desktop-linux compose --project-name jobjakt-windows-local --env-file .env.windows-local -f dev/windows-local.compose.yml stop
```
The last commands run from the same checkout root. `-DockerContext default` is available if that is your local Linux Docker context. The start path rejects remote Docker endpoints and non-Linux engines. The script never deletes volumes or pushes images. Database/files/tombstones have separate named volumes owned by this project; only frontend port3000 is exposed, on127.0.0.1. The API/database are internal.
This stack intentionally has no AI sidecar/Ollama, mail delivery or background provider/model workers. Existing manual application/Career/CV/PDF workflows remain available; generative and sidecar-dependent import functions need their separately approved test stack. AI activation remains a separate owner decision, including model identity and local-only routing. No production Compose/environment is loaded.
## Verification
18November2026: PowerShell parser and rendered Compose contract tests **2/2 PASSED**, zero skips; `-ValidateOnly` twice PASSED, preserving the credential file. Checks cover exact build contexts, three-service allowlist, loopback port, internal API/database, persistent project-owned volumes, same-origin routing, authentication and disabled external/background processing. `python scripts/test-windows-docker.py` executes no build/container commands.
**Docker build/start NOT RUN:** local Docker Desktop Linux engine pipe was absent when inspected. Start Docker Desktop before running the script. Source/static checks do not establish container startup, image builds, Node20 compatibility, database migration parity, PDF fidelity or full release qualification.
+30
View File
@@ -0,0 +1,30 @@
# Admin user-summary SQL projection
18 November 2026. Baseline `63db9c8a`, isolated `codex/perf-mariadb-qualification`. Relevant controller/test source matches A3 `213793c1`; no frontend, route, DTO, schema, role/mutation, package or configuration change.
## Result
The production user list previously loaded all 49 Identity columns, including CV text/structure, avatar data, password hash and encrypted TOTP state, before mapping ten fields into the unchanged summary DTO. EF now selects only those ten required fields. The two-query role batching, global admin count, current-user flag, full list, existing email ordering, null fields and linked-Google timestamp are preserved. Reads remain untracked; create/reset/role/delete and legacy manually-constructed-controller behavior are unchanged.
| Measurement | Before | After |
| --- | ---: | ---: |
| Actual SQLite user SELECT columns | 49 | 10 |
| Actual MariaDB user SELECT columns | Not separately run | 10 |
| Reader commands | 2 | 2 |
| Synthetic users per fixture | 75 | 75 |
Each fixture user has 147,456 ASCII bytes across CV text/structure/avatar fields. Those three fields total **11,059,200 bytes** across the fixture and are now absent from the database result. This is eliminated known fixture content, not a measured wire payload, heap allocation, latency or production workload improvement. The HTTP DTO payload is unchanged. No credentials were returned by the old DTO; no disclosure exploit is claimed. Full Users fetch and role-row growth remain open under PERF11; this change does not constitute pagination.
## Verification
- Original ordinary run: six passed, one failed because the new test compared SQLite BINARY order with culture-sensitive .NET order. The verifier was corrected to ordinal order; no application sorting changed.
- Corrected unchanged-source baseline: six passed, one expected failure, actual SELECT49 rather than10. Native SQL and TRX retain the baseline field list.
- Final affected ordinary subset: **12/12 passed, zero skips**, including seven UsersController tests and existing ownership/current-user checks. The summary case verifies all ten fields, null values, order, 75 rows, arbitrary Member role, current-user/last-admin safety, two queries, no identity role N+1 calls and no tracked partial user entities.
- Actual pinned local **MariaDB12.2.2**: **2/2 passed, zero skips**, separate 75-user one-admin/two-admin fixtures. Actual startup schema, independent generated databases, real EF/Pomelo SELECT10/two commands, returned DTO values, global last-admin state, nulls, ordering and no tracking verified. This targeted run does not extend the earlier98-case result to this new controller source as a full-project run.
- Compilation succeeded. Existing xUnit2012 warning in the earlier checklist native test remains; no warning suppression. No frontend changes require a new frontend build/browser run for this projection; actual HTTP auth and final UI/security acceptance remain separate.
The standard disposable lane used a fresh generated project, loopback port, pinned cached image, tmpfs/no persistent mounts,1CPU/768MiB and existing guarded schema lifecycle. All generated schemas were gone and only the owned test service was removed; user app containers/volumes were not targeted. No production/model/provider/restore execution. Exact source/native result/target/cleanup bindings: [receipts](user-list-projection/evidence/SOURCE_RECEIPTS.json).
Rollback removes only the Select; no data or schema rollback. Plan and preservation scope: [implementation plan](USER_LIST_PROJECTION_PLAN.md). Formal Phase10, Product Review, security, release, human/device and European rollout gates remain open.
Final AST-only graph refresh passed:19,993nodes/49,618edges, including the new native projection test. Existing optional PDF/SQL/symbol-free input warnings retained; no model labeling.
@@ -0,0 +1,15 @@
# User-list projection implementation plan
Existing isolated `codex/perf-mariadb-qualification`, source63db9c8a; relevant API/test baseline equivalent to A3 1ec15429. Owner PERF-01 instructions authorise bounded measured projections while keeping pagination separately open. Sequential root execution: parallel worker quota was unavailable; no competing mutable environment.
Goal: stop loading full CV, avatar, credentials and account integration state for the existing admin summary response. Existing two-query batching is retained. Use EF's ordinary projection into the existing summary inputs; no cache, schema, new DTO, route, package or UI control.
Reach: UsersController.List production context branch; ToDto's ten required user fields; existing UsersControllerTests relational query counter and representative user fixture. Existing legacy/manual-construction branch and all create/role/reset/delete callers retain signatures and semantics. AdminUsersPage remains unchanged and still receives the complete ordered list. This is not completion of PERF11 paging.
Alternatives considered: server pagination would require coordinated DataGrid filtering/sorting/mobile navigation and is larger; restricting fields in SQL immediately removes unnecessary large data while preserving compatibility. Returning fewer DTO fields would break consumers and is rejected.
- [x] Extend existing relational test with large synthetic CV/profile/avatar and credential fields, all summary fields, last-admin/current-user/role assertions, actual selected-column capture and no tracking. Run unchanged application and retain expected projection failure.
- [x] Add only the ten ToDto input fields to the production EF Select. Re-run all UsersControllerTests and relevant existing identity/ownership tests. Measure actual selected fields and excluded synthetic text bytes, without inferring network payload or latency gains.
- [x] Review SQL translation/safety, source-bound evidence, AST refresh, commit and publish; integrate only validated change into A3 and update central TODO/status/checkpoint. Native MariaDB execution remains separate unless run on this exact projection.
Review focus: null summary values; linked Google timestamp; current/last-admin safety and arbitrary role preservation; no extra identity role calls or tracked partial user entities; stable existing email ordering/full result count. Existing tests cover manual fallback and mutation safeguards. Rollback is the Select removal; no data rollback. All formal roadmap/security/release gates remain.
@@ -0,0 +1,161 @@
{
"baseline": "63db9c8a345dead09fd7b6ae95e05b040a952253",
"sourcesLfSha256": {
"JobTrackerApi/Controllers/UsersController.cs": "299b1eadd10e755dd6cf4a80cd35a3d49219d10199c9b6632f970917f86d3870",
"JobTrackerApi.Tests/UsersControllerTests.cs": "1fd014465d4184183be2734f3f27c0500205e6e777572cbb88a537c9d953a375",
"JobTrackerApi.MariaDb.Tests/UserListProjectionTests.cs": "a6301b3e31f050e072dc379de318f56ab07260faf4eb783a63806188ccb28ef5",
"JobTrackerApi.MariaDb.Tests/MariaDbDatabase.cs": "1375d97093f686f77d511ef6d81ad2d62ecf329aa6e7bf53036cd6e199035e40"
},
"tests": {
"ordinary": {
"total": "12",
"executed": "12",
"passed": "12",
"failed": "0",
"error": "0",
"timeout": "0",
"aborted": "0",
"inconclusive": "0",
"passedButRunAborted": "0",
"notRunnable": "0",
"notExecuted": "0",
"disconnected": "0",
"warning": "0",
"completed": "0",
"inProgress": "0",
"pending": "0"
},
"native": {
"total": "2",
"executed": "2",
"passed": "2",
"failed": "0",
"error": "0",
"timeout": "0",
"aborted": "0",
"inconclusive": "0",
"passedButRunAborted": "0",
"notRunnable": "0",
"notExecuted": "0",
"disconnected": "0",
"warning": "0",
"completed": "0",
"inProgress": "0",
"pending": "0"
}
},
"measurement": {
"sqliteSelectedColumnsBefore": 49,
"sqliteAndMariaDbSelectedColumnsAfter": 10,
"readerCommandsBeforeAndAfter": 2,
"users": 75,
"excludedSyntheticTextBytes": 11059200
},
"artifacts": [
{
"file": "user-projection-restore.txt.gz",
"rawSha256": "c04c5ac3fa367ad9d47653c3b55330ee18ff8d44ba63e68d86af098140769237",
"gzipSha256": "e51ad75efbd1bc16a40539d2e98937a404b1ab24fb68ce2870788ab961899d20"
},
{
"file": "user-projection-baseline.txt.gz",
"rawSha256": "1c0e3a60529b35fc31b7d6a8708d5badc6f58c4899d2be93f382b0624d31cf50",
"gzipSha256": "c631f127d0c01ede7b03a3f7e6451c26ef6f8709bad2a6504426aefec0d43c2a"
},
{
"file": "user-projection-baseline-baseline.trx.gz",
"rawSha256": "572817606de7b390ece536d8968d99217f919a7ff09237302c302635d1f3406c",
"gzipSha256": "e711b0d51c832ff524e7b14daa6a99e3bb33f40163fdfae9153767055c7174d5"
},
{
"file": "user-projection-corrected-baseline.txt.gz",
"rawSha256": "26482487c830be2ceb32318b45528f521a9fdebbc0b8e45b74797b85cd8f9938",
"gzipSha256": "236fa9f383ac9e21232c231a52f3ad0a7940bb373c3adbd4d210d03f89c51ff2"
},
{
"file": "user-projection-corrected-baseline-baseline.trx.gz",
"rawSha256": "3fdbe6c1d0163214cc56ed8cb53ae013acb15979a05e5593b40fecdb7e844507",
"gzipSha256": "97a80b668b5f55331aa806128ee7aa18770a8398b1255d5e4d9eadaacf0cbde1"
},
{
"file": "user-projection-final.txt.gz",
"rawSha256": "5bb505bcc5d63439da0941aec429c9918838d57f94c29344b95da60a9d1a2153",
"gzipSha256": "11b7b1f83bb43073072e3b827465ddf549a6ec452e79b240fe7e8a1c11f7e89f"
},
{
"file": "user-projection-final-final.trx.gz",
"rawSha256": "e3f2ea6cc9bb7d8a570ec7965219b42430785ceb63d7de1ff70bb8690b49dd56",
"gzipSha256": "feda4ef9300959d99e689cf69a990bef3834ad4c4dec197572d604854f4bf721"
},
{
"file": "run-user-native.py.gz",
"rawSha256": "8f6f215df6d7b7682dbdbe4f8f78b3165f8ca3cce91de7be9e16a658161c7578",
"gzipSha256": "f49f87f01aeb89fc4129175659d9e9cfc6477701dba2638e9bd4bb25d4c377b4"
},
{
"file": "user-projection-native-users.trx.gz",
"rawSha256": "0277d518ed6824b9cbb18399582def2740ac9561948beb3dbb41a99f32bc444f",
"gzipSha256": "6fd469742eeaaa04faf63d2bf618e46217bc3db1af2119116429e2d4dece2ee3"
},
{
"file": "user-projection-native-test.txt.gz",
"rawSha256": "f96b34b41ab76166a09e30c0a2cc23c22cb6f8c76043e924e92b57e846b35b51",
"gzipSha256": "4c5715f2cab1a988b3b7c3dc4bee884adb7f1c302c4c05f5474dece361a1f394"
},
{
"file": "user-projection-native-test.exit.txt.gz",
"rawSha256": "13bf7b3039c63bf5a50491fa3cfd8eb4e699d1ba1436315aef9cbe5711530354",
"gzipSha256": "7f636460b48b02e48ffda30b26e6cf24cebee6b983bfd77e79a2f7205a71497f"
},
{
"file": "user-projection-native-state.json.gz",
"rawSha256": "50053f4d335d043262ed0c896297d244499df2aa2a45dc809ab519e3c872075c",
"gzipSha256": "00f22c8bd8476aa00c6ae7ce6231b86d3fb4e15b066c21d26e758d67fe6d7ed5"
},
{
"file": "user-projection-native-target.json.gz",
"rawSha256": "4fe08d2103b02dff4f36c2fcdf0ea33f93be4569faf860d55e817839afabe353",
"gzipSha256": "85a15026edc95067c537c99ae8c6ea3aea8f437a790464e01a21f6fd58d55aab"
},
{
"file": "user-projection-native-start.txt.gz",
"rawSha256": "579c2e5e721e73eb96cd0a018767b44c90bd00303383740c7356a2ac94763987",
"gzipSha256": "518e8cd993c377f2ad52ab38364ca9a0f6d318695298e98442dbc01b82b8fb31"
},
{
"file": "user-projection-native-start.exit.txt.gz",
"rawSha256": "13bf7b3039c63bf5a50491fa3cfd8eb4e699d1ba1436315aef9cbe5711530354",
"gzipSha256": "7f636460b48b02e48ffda30b26e6cf24cebee6b983bfd77e79a2f7205a71497f"
},
{
"file": "user-projection-native-cleanup.txt.gz",
"rawSha256": "3dcf82df878854e3eb7ce88365e7208cfea71f66821d510146d63319a503d82d",
"gzipSha256": "2a9bd5be6cbaf5f3d51ec269270c3533c2dd94075693792a25863e654ab7731d"
},
{
"file": "user-projection-native-cleanup.exit.txt.gz",
"rawSha256": "13bf7b3039c63bf5a50491fa3cfd8eb4e699d1ba1436315aef9cbe5711530354",
"gzipSha256": "7f636460b48b02e48ffda30b26e6cf24cebee6b983bfd77e79a2f7205a71497f"
},
{
"file": "user-projection-native-server.txt.gz",
"rawSha256": "c829243b2a81c732267552f0374b4f8ff6f26aad0a3575a3b3c42e8aba068815",
"gzipSha256": "08af88cf26ce1e7dc23c02511d509bc20aa3f435682fd2d1b6386d45159b805c"
},
{
"file": "user-projection-native-server.exit.txt.gz",
"rawSha256": "13bf7b3039c63bf5a50491fa3cfd8eb4e699d1ba1436315aef9cbe5711530354",
"gzipSha256": "7f636460b48b02e48ffda30b26e6cf24cebee6b983bfd77e79a2f7205a71497f"
},
{
"file": "user-projection-native-remaining-schemas.txt.gz",
"rawSha256": "9a271f2a916b0b6ee6cecb2426f0b3206ef074578be55d9bc94f6f3fe3ab86aa",
"gzipSha256": "8afc61325213625995e1de8b0d2df70f01b1d5304993484a41cc9df249f00fad"
},
{
"file": "user-projection-native-resources.compose.yml.gz",
"rawSha256": "b101fe30969f57d2c033757d187b4a1d2a10123e1b7d762bcead64fdb6e367f6",
"gzipSha256": "711a927e50e6104a0820dc66ad5af08376544bcfa244ed3d36599384ac6528c9"
}
]
}
@@ -1,11 +0,0 @@
# Combined connected-workflow validation
18 November 2026. A3 source `1ec15429`; source-equivalent isolated browser checkout `e2629c9d`. A fresh Release API build passed with zero warnings/errors using cached dependencies and no restore. Production frontend source/dependencies are unchanged since the qualified export, so that exact export was reused rather than rebuilding it. API/DLL/spec/config/lock/export hashes are retained.
**Four connected browser cases passed, zero skips/unexpected/flaky, eight zero-violation axe scans/eight screenshots**, 45.4 seconds, one Chromium worker. These are the two EN-desktop/NB-phone discovery→review→explicit tracked application cases plus the two application status→follow-up→calendar→linked workspace→clear cases, now on the combined analytics aggregate and narrowed checklist error classifier. Counts overlap the original packages; do not add reruns to distinct-case coverage.
Only disposable loopback SQLite fixtures were used. Existing external browser traffic guards, fixture search/source/import-preview, and disabled model/import/alert workers remained. No live provider, AI quality, deployed service, production data or device/assistive-technology acceptance is claimed. Existing fixture migration and development Data Protection warnings remain. No HTTP failure appears in this run; that does not explain or retrospectively fix the historical GetReminders cancellation.
The unchanged frontend needs no repeated full Jest/build for this backend integration. Full backend/security/recovery/release and visual/native-language acceptance remain separate. Actual MariaDB 98-case evidence is in its own report; these browser fixtures remain SQLite.
[Native report, build log, all attachments and source receipts](evidence/combined-connected/SOURCE_RECEIPTS.json). Rollback: revert the associated bounded implementation commits; no schema/data migration.
@@ -1,23 +0,0 @@
# Discovery to application: connected native boundary
18 November 2026. Test-only increment on existing `1db5f488` application/export/API, with pinned dependencies unchanged. The two new cases extend the existing `phase7-discovery.spec.ts` fixture and preserve its external-traffic guard. No provider, model or additional international source was activated.
## Verified journey
English/light/1440 desktop and Bokmål/dark/390 phone: discover a synthetic NAV vacancy, open its synthetic source advert, return to results, explicitly review its import preview, choose an existing company, create one actual tracked application, revisit it through the applications interface and verify its full workspace. Search, external advert HTML and import-preview responses are intercepted. Company setup, application creation (201), subsequent API reads, duplicate lookup and foreign-owner denial (404) execute against the isolated actual API and disposable SQLite database.
The application GET DTO does not expose canonical job provenance. A read-only SQLite query joins the linked job with both owner IDs constrained, proving retained source `nav` and country `NO`; the existing generated fixture-root/path guard and query-only connection prevent mutation. Career Profile and company data remain unchanged. Advert language is independently `nb`, including during English UI execution. There is one explicit create, with no automatic creation or alternative-application chooser.
Final result: **2/2 passed, zero skips/unexpected/flaky; four scoped axe scans with zero violations; four retained screenshots**, zero root horizontal overflow. Final TypeScript and scoped ESLint passed. These two cases are additional connected coverage, not a full regression or final A3 acceptance.
The original two failures were verifier mistakes: provenance was asserted on the application DTO rather than its linked job. After correcting that boundary, one desktop assertion still assumed a link where the real keyboard-enabled table exposes a row; the phone exposes a link. Both original and intermediate outputs are retained. No application changes were made to satisfy those assumptions.
## Visual review and limits
The retained desktop workspace shows the approved right-side context and flat section hierarchy. The phone workspace stacks context below content and uses the hybrid bottom navigation. These are full-page captures at the journey's current scroll position: sticky header/bottom navigation appear within the stitched phone image, and the route heading is partly under the header in that capture. This is a capture/scroll review limitation requiring a controlled viewport check, not proof that every screen or header state is accepted. The Bokmål activity entry still displays the server event text `Created`; synthetic company content is English. These captures do not establish complete native-language acceptance or resolve the existing visual discrepancy register.
The fixture advert deadline is historical synthetic data. This package does not exercise live NAV access, provider rights, saved-run ingestion, provider dismissal persistence, extraction/model quality, physical devices, assistive technology, browser zoom, or production. The frozen backend predates the later checklist error-classification correction and analytics aggregate change: combined affected browser validation remains separate.
Exact original/intermediate/final reports, native logs, screenshots, audits, request boundaries, readbacks and LF-normalised source hashes are retained in [evidence receipts](evidence/connected-discovery/SOURCE_RECEIPTS.json). The source test is the rollback unit; no application/data rollback or migration is needed.
AST-only graph refresh passed: 19,963 nodes / 49,440 edges. Existing optional PDF/SQL extractors and symbol-free generated-input warnings remain; no model labeling was run.
@@ -1,55 +0,0 @@
# Native application status, follow-up and calendar connection
18 November 2026. Application baseline `1db5f488f6138e4f0f33749452b7d9f47658f4b0`; roadmap receipt `271d37d1a875256643602db20bbd3c381a291c05`. Isolated branch `codex/a3-connected-followup`. Test/evidence changes only: no application, API, model, provider, data model or scheduling-policy change.
## Missing boundary now exercised
The original 34-route/57-group registers and A3 design/IM10 authority remain unchanged. The existing [controlled follow-up journey](visual-correction/FOLLOWUP_JOURNEY_REVIEW.md) passed eight representative journeys with every response intercepted. It already established the parent refresh-token repair; this package does not repeat that matrix or claim another stale-agenda defect. Existing `phase7-reminders.spec.ts` native tests checked actual reminder dates/history/retry/ownership but did not assert the adjacent calendar's native readback after the user mutation. The separately completed 44-case native package covers other families and is not added to these counts.
Two new cases in the existing `job-tracker-ui/e2e/phase7-reminders.spec.ts` cover EN/light/1440 and Bokmål/dark/390:
- Create a disposable synthetic care-coordinator application, then use the real Applications row menu to set Waiting. Require PATCH204 and durable status readback, preserving the existing follow-up date.
- Open Reminders, schedule three days through the existing control, require PATCH204 and the subsequent actual calendar GET200 with the moved date/recordedAt. The retained policy is absolute-millisecond arithmetic followed by the UTC date slice; no local-calendar/DST reinterpretation.
- Open Month and the populated day, keyboard-open the linked application, require the matching workspace GET200/Waiting, return and retain Month preference.
- Clear the follow-up through the existing control. Require PATCH204, calendar GET200 without that event, the selected day still selected with count zero, unchanged Month mode, empty-day feedback and durable null follow-up with Waiting unchanged.
- Preserve exact status/date payloads and two FollowUpSet history values. No draft/send/model/provider action is issued. Each case records eight reminder GETs from the existing Shell/page/navigation sources, not a claim of one GET per page.
No runtime defect was required to make the new cases pass. The complete affected-file run exposed two inherited verifier failures: both searched for the retired exact header name `Norsk`. Actual snapshots show `Norsk bokmål`. Only those two selector strings changed; existing moved-focus, no-extra-read, explicit retry, captured date and history assertions remain intact. The original negative reports and their source hash are retained.
## Executed results
| Run | Outcome | Accounting |
| --- | --- | --- |
| New focused cases | 2 passed | Initial actual HTTP/browser proof, included again below |
| Affected file before inherited selector repair | 6 passed / 2 failed | Both failures are the obsolete header name, not application behavior |
| Final complete affected file | **8 passed**, zero skipped/unexpected/flaky | Six existing cases plus the two new cases; this is the final total |
Final run retained **21 screenshots and 21 complete all-enabled axe/target-size vectors, zero returned violations**, with incomplete findings preserved. Four screenshots/audits and two native readback records for the new cases are extracted alongside the native receipts. EN desktop and NB phone scheduled-month captures were inspected: recorded date/context, visible selected day and wrapping remain usable in those samples. Full-page sticky navigation can overlay an off-viewport segment in a tall capture; these images do not establish physical-device or comprehensive focus-occlusion acceptance.
Scoped TypeScript compiler API checking the complete spec plus imported types returned zero diagnostics; scoped ESLint and source whitespace checks passed. No full Jest, new application build or backend unit run was performed for this test-only increment.
AST-only `graphify update . --no-cluster` completed exit 0 with 19,930 nodes / 49,369 edges. Generated graph stays local/untracked; missing PDF/SQL extractors and 147 symbol-free inputs (including owned temporary transform-cache data) remain graph limits, not product acceptance gaps.
## Source/runtime identity and isolation
The existing qualified root E-drive frontend export/API DLL were reused read-only through this worktree's own `node_modules`, `out` and API `bin` junctions. Entry comparison found no root working-tree difference from the application baseline under `job-tracker-ui/src` or `JobTrackerApi`. Frontend source tree: `6a8b38361f57f199ebe298d2193de63d90b009e4`. Backend tree: `b7701b2459186f665fe5759a533b6e434cc122b0`, identical at `eb253877` and this baseline, so the previously qualified Release API binary was reused. No installation, shared module/export/binary mutation, rebuild or restore.
The existing Playwright config managed fresh API5302/UI3300, disposable E-drive SQLite, synthetic Identity/CSRF/session accounts and one serial Chromium worker. `PLAYWRIGHT_STATIC_EXPORT=true`, `PLAYWRIGHT_PREBUILT_EXPORT=true`, `PLAYWRIGHT_REUSE_SERVERS=false`; SDK host `C:/Users/Connor/.dotnet/dotnet.exe`; TEMP/TMP and test output remain on E. Model/import/alert workers and delivery remain disabled under the existing fixture contracts. External requests are blocked by the existing owner fixture: final report records zero blocked external attempts. Both owned ports were confirmed closed after the run.
From `job-tracker-ui`, the native test command was:
```text
rtk proxy node node_modules/@playwright/test/cli.js test e2e/phase7-reminders.spec.ts --project chromium --workers=1 --reporter=line,json
```
Exact source, raw/gzip native hashes, original-source derivation, case outcomes and extracted artifacts are bound in [SOURCE_RECEIPTS.json](evidence/connected-calendar/SOURCE_RECEIPTS.json). Traces and disposable credentials stay outside Git.
## Backend log finding remains open
Both affected runs logged `UNIQUE constraint failed: ApplicationChecklistItems.JobApplicationId, ApplicationChecklistItems.SystemKey`. The final log also contains a middleware exception stack naming `JobApplicationsController.GetReminders` at line 689. No backend fix or clean-server claim is made. The focused new-two-case run did not record that uniqueness error; this does not establish absence.
Exact local native log: `E:/Storage/Projects/Active/temp docs/jobjakt-local-build/a3-connected-followup/.artifacts/reminders-qualified.log` (UTF-16LE). Its byte-identical gzip is committed as `evidence/connected-calendar/reminders-qualified.log.gz`. The uniqueness exception chain appears at lines 39/57 following the first existing test marker at line 29. New EN/NB test markers appear at 75/76, followed by the remaining middleware stack through 107 (`GetReminders` at 88). Native EN case start `2026-11-18T12:12:30.248Z`, duration 6,969 ms; NB start `12:12:37.228Z`, duration 7,448 ms; both have empty Playwright error arrays.
Server lines lack request IDs/timestamps, and the existing request-boundary collector records request metadata rather than unsolicited GET response statuses. Therefore this evidence cannot correlate the exception to a specific Shell/page GET or infer its client response status. Selected status/follow-up/calendar/workspace responses are asserted separately. Concurrent Shell/page reminder materialization is a reproduction candidate, not an established cause. Root was notified for independent backend triage.
SQLite migration/Data Protection and Node color-environment warnings remain in raw logs. No warning suppression or database workaround was used. MariaDB/hosted CI, real delivery/providers, timezone/precision/interview scheduling models, native devices/AT/native-language, final owner/A3/Phase10/security/recovery/release acceptance remain separate. No orchestrator, push, main merge or deployment.
@@ -1,162 +0,0 @@
{
"application": "1ec1542936e6f8ce466a8b805f7502ea986f27ab",
"executionBranchHead": "e2629c9d",
"stats": {
"startTime": "2026-11-18T17:57:43.516Z",
"duration": 45413.711,
"expected": 4,
"skipped": 0,
"unexpected": 0,
"flaky": 0
},
"scans": 8,
"screenshots": 8,
"sourcesSha256": {
"JobTrackerApi/Services/AnalyticsService.cs": "0859ad9202bbaf4de810f8b1bc9946cbed061f69105c02993f079715f59aa2b1",
"JobTrackerApi/Services/ApplicationChecklistService.cs": "0c807ab96cbb4a638d3f5ba62b2608cdfb599751df2de4e3d58b6d599b69b5e8",
"JobTrackerApi/bin/Release/net9.0/JobTrackerApi.dll": "c46c42392a544b426db8acaed1ab48d175836069fc9c071c60b6d267bfe29072",
"job-tracker-ui/e2e/phase7-discovery.spec.ts": "bcf2c84d0bc86d6fa6fdf43b62eaa70e066acf3ba1425b9496b6c9ea5ac7de46",
"job-tracker-ui/e2e/phase7-reminders.spec.ts": "dab45b17dcb5963ef45f6ec8b00f5476d2eeb9e14e83776de23235ca94267e45",
"job-tracker-ui/playwright.config.ts": "9252c961ac2779485bb72b24c31d526773d7c09f764eca638c4c1d47235e9f65",
"job-tracker-ui/package-lock.json": "7ebd728f99a1ed9a5334542fb578b30127b4a0c7984efe2913266e89e2fbfbd3",
"job-tracker-ui/out/index.html": "31dfd9b2d2e7ea7d9e696b5485d24d7b8daf0b1e078e6539e94a04955b8ff1f8"
},
"artifacts": [
{
"file": "combined-connected.json.gz",
"bytes": 730768,
"sha256": "469576593c2cd8a03972106f8c4940d0c7370942c26414b66318d8ebe48ef7a8"
},
{
"file": "combined-connected.txt.gz",
"bytes": 1012,
"sha256": "e818d13e41c00f68126935748e3f29a45b8d162c11dab335187c5e75e29280b6"
},
{
"file": "combined-api-build.txt.gz",
"bytes": 195,
"sha256": "2a2b2009fff6684fb11d0de9a34304c802b587d15f9c9f0a619b0717ddc64374"
},
{
"file": "discovery-en-p7-discovery-en-light-1440-connected-fixture-result-return-audit.json",
"bytes": 10841,
"sha256": "abfb946f956a214aa64675ed02508f26ee8b885d9d3f28c87b1a1697e1c38814"
},
{
"file": "discovery-en-p7-discovery-en-light-1440-connected-fixture-result-return.png",
"bytes": 93768,
"sha256": "585938f848e8eb5b8ced8f64fe8fbaa1b61c03e6a6fcb761c474c7d8a7546dac"
},
{
"file": "discovery-en-connected-native-tracker-readbacks.json",
"bytes": 3739,
"sha256": "e0f89c19d78bfcf1f537efc924b87f0647d7949e133f8dd29bbfd65c1265aa3d"
},
{
"file": "discovery-en-p7-discovery-en-light-1440-connected-native-workspace-audit.json",
"bytes": 9267,
"sha256": "3b40499d0a139f6e0fb1e8ad1edc3361c60d8fcbea588c7c85a69c2bc00c9f27"
},
{
"file": "discovery-en-p7-discovery-en-light-1440-connected-native-workspace.png",
"bytes": 122626,
"sha256": "84fd3e413476353bedfe9e7221d1c2140018bd590ad78af5582e30bc8bc4fc38"
},
{
"file": "discovery-en-discovery-request-boundary.json",
"bytes": 1264,
"sha256": "1b566579e51d569be46ed43d6fc8fb8b4cf4959831493bccb0dd67086fe2ed30"
},
{
"file": "discovery-nb-p7-discovery-nb-dark-390-connected-fixture-result-return-audit.json",
"bytes": 11333,
"sha256": "f9a09992219a3a5ff0f9848785227eccb34f336af3281c4343fc6665aab4e52d"
},
{
"file": "discovery-nb-p7-discovery-nb-dark-390-connected-fixture-result-return.png",
"bytes": 41080,
"sha256": "907ab5bba5793caa220a974506b791b28183e1e1b1bde82b26bb8ba3d69634e7"
},
{
"file": "discovery-nb-connected-native-tracker-readbacks.json",
"bytes": 3737,
"sha256": "2b0cb04374867d23b033e542cbd27006f5f25a90dccb7c280c3530faf4f64c5f"
},
{
"file": "discovery-nb-p7-discovery-nb-dark-390-connected-native-workspace-audit.json",
"bytes": 14328,
"sha256": "714231108ce7ee9781e16d3ac6a4780eaada0685e15c2b03ec7e3be713c40614"
},
{
"file": "discovery-nb-p7-discovery-nb-dark-390-connected-native-workspace.png",
"bytes": 81638,
"sha256": "eacdcadd05b014cb45e0038486513fa828a7a099f004c73d3468ebd5d597db1b"
},
{
"file": "discovery-nb-discovery-request-boundary.json",
"bytes": 1264,
"sha256": "1b566579e51d569be46ed43d6fc8fb8b4cf4959831493bccb0dd67086fe2ed30"
},
{
"file": "calendar-en-p7-reminders-en-light-1440-connected-status-scheduled-month-audit.json",
"bytes": 15937,
"sha256": "c5ec062d98a065579d7d90744be53c4d93872e54a5f81facc892cbb4d813ef35"
},
{
"file": "calendar-en-p7-reminders-en-light-1440-connected-status-scheduled-month.png",
"bytes": 108611,
"sha256": "75522112b2266a7c1839dd568425df6a6936c6638daf562e0ac9c7b1e715e302"
},
{
"file": "calendar-en-p7-reminders-en-light-1440-connected-cleared-selected-day-audit.json",
"bytes": 15112,
"sha256": "4cbdca1279d1d34ada9d93edc7a1287cbca1609414f8b83e89d58c17d8d12044"
},
{
"file": "calendar-en-p7-reminders-en-light-1440-connected-cleared-selected-day.png",
"bytes": 103893,
"sha256": "97489a0eac4c270f141c0e443414e91510edbb677e1df14cffe282e1392847a5"
},
{
"file": "calendar-en-connected-calendar-native-readbacks.json",
"bytes": 4543,
"sha256": "6b980f237490ea3adeb2d42e8a7a211046245b240ba5b58f8e25230e6e5f81bd"
},
{
"file": "calendar-en-reminders-request-boundary.json",
"bytes": 2464,
"sha256": "79a6723a8ce0963884787861f4b2a0e794a6164ef07ec1d5d9801bf8ae46c8fb"
},
{
"file": "calendar-nb-p7-reminders-nb-dark-390-connected-status-scheduled-month-audit.json",
"bytes": 16897,
"sha256": "157d6b8b31f076a477ff3be79f203be563b4f69e928d76a6234e4763be21b891"
},
{
"file": "calendar-nb-p7-reminders-nb-dark-390-connected-status-scheduled-month.png",
"bytes": 71335,
"sha256": "cb052d8cbbbd1f947b018fef4a766e5b73d34d9389411d39cac28bbcbc878049"
},
{
"file": "calendar-nb-p7-reminders-nb-dark-390-connected-cleared-selected-day-audit.json",
"bytes": 16099,
"sha256": "d1ea35c624166edceecd80eef7b9443a01e867806cbad96a512cd5947351c93a"
},
{
"file": "calendar-nb-p7-reminders-nb-dark-390-connected-cleared-selected-day.png",
"bytes": 68123,
"sha256": "e1f4dc9eae3ba585e2ae3e0d114fb493da000010453ef70ed95a013e53bab726"
},
{
"file": "calendar-nb-connected-calendar-native-readbacks.json",
"bytes": 4542,
"sha256": "e6ec078dbbed51bc552ee0b9273e70637e27f7a9899ac16dcc8aa9bb36348f31"
},
{
"file": "calendar-nb-reminders-request-boundary.json",
"bytes": 2464,
"sha256": "0bb856c14aecae8dfba9d088858a6662d2ea7346ae73cf4ea20589a71030c8fe"
}
],
"boundary": "Fresh Release API, unchanged frontend export reused; loopback disposable SQLite, external provider/model operations disabled or fixtures. Four cases overlap prior connected evidence."
}
@@ -1 +0,0 @@
{"boundary":"Actual owner HTTP fixtures, follow-up PATCH204, reloads, history and ownership checks use disposable isolated SQLite. Free account entitlements disable model access; the serial runtime disables AI, follow-up delivery and saved-search alert workers. No provider/model/send endpoint, raw SQL or schema is invoked. Controlled PATCH/GET failure and held requests qualify presentation and recovery, not production reliability. Browser request metadata excludes session/CSRF headers. The Shell independently requests the identical reminders?upcomingDays=14 endpoint initially and every60s; observed counts retain that source and do not claim one total GET per page. Existing absolute-millisecond-to-UTC-date scheduling and followMode route metadata are preserved; no DST/calendar or deferred composer qualification is claimed.","sample":{"language":"en","theme":"light","width":1440,"height":900},"waiting":{"id":3,"companyId":3,"company":{"id":3,"ownerUserId":"a49a2972-d293-4792-872d-30a20b770881","name":"Connected synthetic care employer","location":"Oslo","source":"User","recruiterName":null,"recruiterEmail":null,"recruiterLinkedIn":null,"lastContactedAt":null,"nextContactAt":null,"pipelineStage":null},"jobTitle":"Recorded community care coordinator — æøå","status":"Waiting","dateApplied":"2026-01-01T12:00:00","savedAt":"2026-11-18T17:58:10.5808212","responseReceived":false,"responseDate":null,"notes":null,"coverLetterText":null,"jobUrl":null,"description":null,"translatedDescription":null,"descriptionLanguage":null,"tags":null,"deadline":null,"location":null,"salary":null,"salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":"2026-10-14T00:00:00","feedbackRequestedAt":null,"hasResume":false,"hasCoverLetter":false,"hasPortfolio":false,"hasOtherAttachment":false,"isDeleted":false,"deletedAt":null,"daysSince":321,"needsFollowUp":true,"followUpReason":"Waiting 14d","tailoredCvText":null,"workflowSignal":{"actionKey":"package-work","reason":"Tailored CV and saved application answers still need work.","workspaceTab":"tailored-cv","followMode":null,"needsAttention":true,"hasPackageGap":true,"needsInterviewPrep":false,"needsFollowUpAction":true,"hasTailoredCv":false,"hasSavedApplicationAnswerDraft":false,"hasInterviewPrepNotes":false},"shortSummary":null,"fullSummary":null,"version":2},"scheduledItems":[{"jobApplicationId":3,"jobTitle":"Recorded community care coordinator — æøå","companyName":"Connected synthetic care employer","kind":"follow-up","date":"2026-10-16","recordedAt":"2026-10-16T00:00:00"}],"final":{"id":3,"companyId":3,"company":{"id":3,"ownerUserId":"a49a2972-d293-4792-872d-30a20b770881","name":"Connected synthetic care employer","location":"Oslo","source":"User","recruiterName":null,"recruiterEmail":null,"recruiterLinkedIn":null,"lastContactedAt":null,"nextContactAt":null,"pipelineStage":null},"jobTitle":"Recorded community care coordinator — æøå","status":"Waiting","dateApplied":"2026-01-01T12:00:00","savedAt":"2026-11-18T17:58:10.5808212","responseReceived":false,"responseDate":null,"notes":null,"coverLetterText":null,"jobUrl":null,"description":null,"translatedDescription":null,"descriptionLanguage":null,"tags":null,"deadline":null,"location":null,"salary":null,"salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"feedbackRequestedAt":null,"hasResume":false,"hasCoverLetter":false,"hasPortfolio":false,"hasOtherAttachment":false,"isDeleted":false,"deletedAt":null,"daysSince":321,"needsFollowUp":true,"followUpReason":"Waiting 14d","tailoredCvText":null,"workflowSignal":{"actionKey":"package-work","reason":"Tailored CV and saved application answers still need work.","workspaceTab":"tailored-cv","followMode":null,"needsAttention":true,"hasPackageGap":true,"needsInterviewPrep":false,"needsFollowUpAction":true,"hasTailoredCv":false,"hasSavedApplicationAnswerDraft":false,"hasInterviewPrepNotes":false},"shortSummary":null,"fullSummary":null,"version":4},"history":[{"id":5,"type":"FollowUpSet","oldValue":"2026-10-14T00:00:00.0000000","newValue":"2026-10-16T00:00:00.0000000","note":null,"at":"2026-11-18T18:58:13.3698069"},{"id":6,"type":"FollowUpSet","oldValue":"2026-10-16T00:00:00.0000000","newValue":null,"note":null,"at":"2026-11-18T18:58:16.6970157"}],"qualification":"Actual disposable status/followup/calendar/workspace HTTP. Preserved UTC-slice scheduling only; no delivery/provider, timezone migration or interview appointment model."}
@@ -1 +0,0 @@
{"boundary":"Actual owner HTTP fixtures, follow-up PATCH204, reloads, history and ownership checks use disposable isolated SQLite. Free account entitlements disable model access; the serial runtime disables AI, follow-up delivery and saved-search alert workers. No provider/model/send endpoint, raw SQL or schema is invoked. Controlled PATCH/GET failure and held requests qualify presentation and recovery, not production reliability. Browser request metadata excludes session/CSRF headers. The Shell independently requests the identical reminders?upcomingDays=14 endpoint initially and every60s; observed counts retain that source and do not claim one total GET per page. Existing absolute-millisecond-to-UTC-date scheduling and followMode route metadata are preserved; no DST/calendar or deferred composer qualification is claimed.","requests":[{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null},{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null},{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null},{"method":"GET","path":"/api/jobapplications","query":{"page":"1","pageSize":"15","includeDeleted":"false","sortBy":"dateApplied","sortDir":"desc"},"body":null},{"method":"PATCH","path":"/api/jobapplications/3/status","query":{},"body":{"status":"Waiting"}},{"method":"GET","path":"/api/jobapplications","query":{"page":"1","pageSize":"15","includeDeleted":"false","sortBy":"dateApplied","sortDir":"desc"},"body":null},{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null},{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null},{"method":"PATCH","path":"/api/jobapplications/3/followup","query":{},"body":{"followUpAt":"2026-10-16"}},{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null},{"method":"GET","path":"/api/jobapplications/3/status-suggestion","query":{},"body":null},{"method":"GET","path":"/api/jobapplications/3/workspace","query":{},"body":null},{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null},{"method":"PATCH","path":"/api/jobapplications/3/followup","query":{},"body":{"followUpAt":null}},{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null}],"blockedExternalRequests":[]}
@@ -1 +0,0 @@
{"boundary":"Actual owner HTTP fixtures, follow-up PATCH204, reloads, history and ownership checks use disposable isolated SQLite. Free account entitlements disable model access; the serial runtime disables AI, follow-up delivery and saved-search alert workers. No provider/model/send endpoint, raw SQL or schema is invoked. Controlled PATCH/GET failure and held requests qualify presentation and recovery, not production reliability. Browser request metadata excludes session/CSRF headers. The Shell independently requests the identical reminders?upcomingDays=14 endpoint initially and every60s; observed counts retain that source and do not claim one total GET per page. Existing absolute-millisecond-to-UTC-date scheduling and followMode route metadata are preserved; no DST/calendar or deferred composer qualification is claimed.","sample":{"language":"nb","theme":"dark","width":390,"height":844},"waiting":{"id":4,"companyId":4,"company":{"id":4,"ownerUserId":"b5560773-049c-4045-8fdb-9e0eefe17446","name":"Connected synthetic care employer","location":"Oslo","source":"User","recruiterName":null,"recruiterEmail":null,"recruiterLinkedIn":null,"lastContactedAt":null,"nextContactAt":null,"pipelineStage":null},"jobTitle":"Recorded community care coordinator — æøå","status":"Waiting","dateApplied":"2026-01-01T12:00:00","savedAt":"2026-11-18T17:58:19.6056642","responseReceived":false,"responseDate":null,"notes":null,"coverLetterText":null,"jobUrl":null,"description":null,"translatedDescription":null,"descriptionLanguage":null,"tags":null,"deadline":null,"location":null,"salary":null,"salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":"2026-10-14T00:00:00","feedbackRequestedAt":null,"hasResume":false,"hasCoverLetter":false,"hasPortfolio":false,"hasOtherAttachment":false,"isDeleted":false,"deletedAt":null,"daysSince":321,"needsFollowUp":true,"followUpReason":"Waiting 14d","tailoredCvText":null,"workflowSignal":{"actionKey":"package-work","reason":"Tailored CV and saved application answers still need work.","workspaceTab":"tailored-cv","followMode":null,"needsAttention":true,"hasPackageGap":true,"needsInterviewPrep":false,"needsFollowUpAction":true,"hasTailoredCv":false,"hasSavedApplicationAnswerDraft":false,"hasInterviewPrepNotes":false},"shortSummary":null,"fullSummary":null,"version":2},"scheduledItems":[{"jobApplicationId":4,"jobTitle":"Recorded community care coordinator — æøå","companyName":"Connected synthetic care employer","kind":"follow-up","date":"2026-10-16","recordedAt":"2026-10-16T00:00:00"}],"final":{"id":4,"companyId":4,"company":{"id":4,"ownerUserId":"b5560773-049c-4045-8fdb-9e0eefe17446","name":"Connected synthetic care employer","location":"Oslo","source":"User","recruiterName":null,"recruiterEmail":null,"recruiterLinkedIn":null,"lastContactedAt":null,"nextContactAt":null,"pipelineStage":null},"jobTitle":"Recorded community care coordinator — æøå","status":"Waiting","dateApplied":"2026-01-01T12:00:00","savedAt":"2026-11-18T17:58:19.6056642","responseReceived":false,"responseDate":null,"notes":null,"coverLetterText":null,"jobUrl":null,"description":null,"translatedDescription":null,"descriptionLanguage":null,"tags":null,"deadline":null,"location":null,"salary":null,"salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"feedbackRequestedAt":null,"hasResume":false,"hasCoverLetter":false,"hasPortfolio":false,"hasOtherAttachment":false,"isDeleted":false,"deletedAt":null,"daysSince":321,"needsFollowUp":true,"followUpReason":"Waiting 14d","tailoredCvText":null,"workflowSignal":{"actionKey":"package-work","reason":"Tailored CV and saved application answers still need work.","workspaceTab":"tailored-cv","followMode":null,"needsAttention":true,"hasPackageGap":true,"needsInterviewPrep":false,"needsFollowUpAction":true,"hasTailoredCv":false,"hasSavedApplicationAnswerDraft":false,"hasInterviewPrepNotes":false},"shortSummary":null,"fullSummary":null,"version":4},"history":[{"id":9,"type":"FollowUpSet","oldValue":"2026-10-14T00:00:00.0000000","newValue":"2026-10-16T00:00:00.0000000","note":null,"at":"2026-11-18T18:58:22.4492282"},{"id":10,"type":"FollowUpSet","oldValue":"2026-10-16T00:00:00.0000000","newValue":null,"note":null,"at":"2026-11-18T18:58:25.8603492"}],"qualification":"Actual disposable status/followup/calendar/workspace HTTP. Preserved UTC-slice scheduling only; no delivery/provider, timezone migration or interview appointment model."}
@@ -1 +0,0 @@
{"boundary":"Actual owner HTTP fixtures, follow-up PATCH204, reloads, history and ownership checks use disposable isolated SQLite. Free account entitlements disable model access; the serial runtime disables AI, follow-up delivery and saved-search alert workers. No provider/model/send endpoint, raw SQL or schema is invoked. Controlled PATCH/GET failure and held requests qualify presentation and recovery, not production reliability. Browser request metadata excludes session/CSRF headers. The Shell independently requests the identical reminders?upcomingDays=14 endpoint initially and every60s; observed counts retain that source and do not claim one total GET per page. Existing absolute-millisecond-to-UTC-date scheduling and followMode route metadata are preserved; no DST/calendar or deferred composer qualification is claimed.","requests":[{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null},{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null},{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null},{"method":"GET","path":"/api/jobapplications","query":{"page":"1","pageSize":"15","includeDeleted":"false","sortBy":"dateApplied","sortDir":"desc"},"body":null},{"method":"PATCH","path":"/api/jobapplications/4/status","query":{},"body":{"status":"Waiting"}},{"method":"GET","path":"/api/jobapplications","query":{"page":"1","pageSize":"15","includeDeleted":"false","sortBy":"dateApplied","sortDir":"desc"},"body":null},{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null},{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null},{"method":"PATCH","path":"/api/jobapplications/4/followup","query":{},"body":{"followUpAt":"2026-10-16"}},{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null},{"method":"GET","path":"/api/jobapplications/4/status-suggestion","query":{},"body":null},{"method":"GET","path":"/api/jobapplications/4/workspace","query":{},"body":null},{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null},{"method":"PATCH","path":"/api/jobapplications/4/followup","query":{},"body":{"followUpAt":null}},{"method":"GET","path":"/api/jobapplications/reminders","query":{"upcomingDays":"14"},"body":null}],"blockedExternalRequests":[]}
@@ -1 +0,0 @@
{"sample":{"language":"en","theme":"light","width":1440,"height":900},"job":{"id":"connected-en","title":"Faglærer i kunst og håndverk — æøå","company":"Synthetic community learning centre","location":"TRONDHEIM","modifiedAt":"2026-10-09T10:00:00Z","deadline":"2026-10-20T23:59:59Z","url":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-en","source":"nav","sourceName":"NAV Arbeidsplassen","acquisitionType":"searched","retrievedAt":"2026-10-10T10:00:00Z","countryCode":"NO"},"readback":{"id":1,"companyId":1,"company":{"id":1,"ownerUserId":"6c3c000a-f3c7-4fa5-a499-6d01d64e295a","name":"Synthetic community learning centre","location":"Trondheim","source":"User","recruiterName":null,"recruiterEmail":null,"recruiterLinkedIn":null,"lastContactedAt":null,"nextContactAt":null,"pipelineStage":null},"jobTitle":"Faglærer i kunst og håndverk — æøå","status":"Saved","dateApplied":null,"savedAt":"2026-11-18T17:57:58.6731019","responseReceived":false,"responseDate":null,"notes":null,"coverLetterText":null,"jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-en","description":"Syntetisk stilling: planlegg aktiviteter og undervisning i kunst og håndverk. Kilden beholdes ordrett — æøå.","translatedDescription":null,"descriptionLanguage":"nb","tags":null,"deadline":"2026-10-20T00:00:00","location":"TRONDHEIM","salary":null,"salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"feedbackRequestedAt":null,"hasResume":false,"hasCoverLetter":false,"hasPortfolio":false,"hasOtherAttachment":false,"isDeleted":false,"deletedAt":null,"daysSince":null,"needsFollowUp":false,"followUpReason":null,"tailoredCvText":null,"workflowSignal":{"actionKey":"follow-up","reason":"No response yet and no follow-up is scheduled.","workspaceTab":"follow-up","followMode":"waiting-update","needsAttention":true,"hasPackageGap":false,"needsInterviewPrep":false,"needsFollowUpAction":true,"hasTailoredCv":false,"hasSavedApplicationAnswerDraft":false,"hasInterviewPrepNotes":false},"shortSummary":null,"fullSummary":null,"version":1},"opportunity":{"source":"nav","countryCode":"NO"},"duplicates":{"hasDuplicates":true,"matches":[{"id":1,"jobTitle":"Faglærer i kunst og håndverk — æøå","company":"Synthetic community learning centre","jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-en","status":"Saved","dateApplied":null,"reason":"same URL, same company and similar title"}]},"trackerWrites":[{"method":"POST","path":"/api/jobapplications","query":{},"body":{"jobTitle":"Faglærer i kunst og håndverk — æøå","companyId":1,"status":"Saved","location":"TRONDHEIM","salary":"","salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-en","source":"nav","countryCode":"NO","description":"Syntetisk stilling: planlegg aktiviteter og undervisning i kunst og håndverk. Kilden beholdes ordrett — æøå.","translatedDescription":null,"descriptionLanguage":"nb","tags":null,"deadline":"2026-10-20","notes":"","coverLetterText":null,"dateApplied":"2026-11-18"}}],"searches":1,"previews":1,"detailViews":1,"choosers":[],"qualification":"Search, original-source popup HTML and import preview are explicitly synthetic route fixtures, with no provider fetch. Company setup/job POST/readbacks/duplicate check/foreign denial are actual disposable API. Source/country checked on the linked opportunity through a guarded read-only query of this fixture SQLite only; application DTO does not expose them. No full provider integration, canonical geography, import parser or automatic duplicate blocking claim."}
@@ -1 +0,0 @@
{"providerBoundary":"Saved-search list/create/alert PATCH/delete and readbacks use the real isolated owner API and disposable SQLite. Browser vacancy-provider /search and owner /saved-searches/{id}/run responses are intercepted because the server provider has an external NAV base URL. Intercepted runs do not create SavedJobSearchResults: successful intercepted Dismiss establishes presentation only, never runner/history/dismiss persistence or alert delivery. A real missing-result Dismiss 404 is exercised separately. The unchanged saved-search-repair suite and backend fake-provider SQLite tests retain owner/anonymous and real runner/history contracts. External browser traffic and unregistered provider-dependent requests are blocked.","requests":[{"method":"GET","path":"/api/job-discovery/saved-searches","query":{},"body":null},{"method":"GET","path":"/api/job-discovery/search","query":{"q":"kunstlærer","location":"Trondheim"},"body":null}],"blockedProviderRequests":[],"blockedExternalRequests":[],"qualification":"Browser request log contains only method/path/query/JSON payload, with no cookies or authorization/CSRF/session headers. Direct API fixture reads are verified in individual tests; this log is not a server outbound-traffic measurement."}
@@ -1 +0,0 @@
{"sample":{"language":"nb","theme":"dark","width":390,"height":844},"job":{"id":"connected-nb","title":"Faglærer i kunst og håndverk — æøå","company":"Synthetic community learning centre","location":"TRONDHEIM","modifiedAt":"2026-10-09T10:00:00Z","deadline":"2026-10-20T23:59:59Z","url":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-nb","source":"nav","sourceName":"NAV Arbeidsplassen","acquisitionType":"searched","retrievedAt":"2026-10-10T10:00:00Z","countryCode":"NO"},"readback":{"id":2,"companyId":2,"company":{"id":2,"ownerUserId":"b4e8c1e2-4a80-4b0e-b1b8-7090f4d0a690","name":"Synthetic community learning centre","location":"Trondheim","source":"User","recruiterName":null,"recruiterEmail":null,"recruiterLinkedIn":null,"lastContactedAt":null,"nextContactAt":null,"pipelineStage":null},"jobTitle":"Faglærer i kunst og håndverk — æøå","status":"Saved","dateApplied":null,"savedAt":"2026-11-18T17:58:07.3410736","responseReceived":false,"responseDate":null,"notes":null,"coverLetterText":null,"jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-nb","description":"Syntetisk stilling: planlegg aktiviteter og undervisning i kunst og håndverk. Kilden beholdes ordrett — æøå.","translatedDescription":null,"descriptionLanguage":"nb","tags":null,"deadline":"2026-10-20T00:00:00","location":"TRONDHEIM","salary":null,"salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"feedbackRequestedAt":null,"hasResume":false,"hasCoverLetter":false,"hasPortfolio":false,"hasOtherAttachment":false,"isDeleted":false,"deletedAt":null,"daysSince":null,"needsFollowUp":false,"followUpReason":null,"tailoredCvText":null,"workflowSignal":{"actionKey":"follow-up","reason":"No response yet and no follow-up is scheduled.","workspaceTab":"follow-up","followMode":"waiting-update","needsAttention":true,"hasPackageGap":false,"needsInterviewPrep":false,"needsFollowUpAction":true,"hasTailoredCv":false,"hasSavedApplicationAnswerDraft":false,"hasInterviewPrepNotes":false},"shortSummary":null,"fullSummary":null,"version":1},"opportunity":{"source":"nav","countryCode":"NO"},"duplicates":{"hasDuplicates":true,"matches":[{"id":2,"jobTitle":"Faglærer i kunst og håndverk — æøå","company":"Synthetic community learning centre","jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-nb","status":"Saved","dateApplied":null,"reason":"same URL, same company and similar title"}]},"trackerWrites":[{"method":"POST","path":"/api/jobapplications","query":{},"body":{"jobTitle":"Faglærer i kunst og håndverk — æøå","companyId":2,"status":"Saved","location":"TRONDHEIM","salary":"","salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-nb","source":"nav","countryCode":"NO","description":"Syntetisk stilling: planlegg aktiviteter og undervisning i kunst og håndverk. Kilden beholdes ordrett — æøå.","translatedDescription":null,"descriptionLanguage":"nb","tags":null,"deadline":"2026-10-20","notes":"","coverLetterText":null,"dateApplied":"2026-11-18"}}],"searches":1,"previews":1,"detailViews":1,"choosers":[],"qualification":"Search, original-source popup HTML and import preview are explicitly synthetic route fixtures, with no provider fetch. Company setup/job POST/readbacks/duplicate check/foreign denial are actual disposable API. Source/country checked on the linked opportunity through a guarded read-only query of this fixture SQLite only; application DTO does not expose them. No full provider integration, canonical geography, import parser or automatic duplicate blocking claim."}
@@ -1 +0,0 @@
{"providerBoundary":"Saved-search list/create/alert PATCH/delete and readbacks use the real isolated owner API and disposable SQLite. Browser vacancy-provider /search and owner /saved-searches/{id}/run responses are intercepted because the server provider has an external NAV base URL. Intercepted runs do not create SavedJobSearchResults: successful intercepted Dismiss establishes presentation only, never runner/history/dismiss persistence or alert delivery. A real missing-result Dismiss 404 is exercised separately. The unchanged saved-search-repair suite and backend fake-provider SQLite tests retain owner/anonymous and real runner/history contracts. External browser traffic and unregistered provider-dependent requests are blocked.","requests":[{"method":"GET","path":"/api/job-discovery/saved-searches","query":{},"body":null},{"method":"GET","path":"/api/job-discovery/search","query":{"q":"kunstlærer","location":"Trondheim"},"body":null}],"blockedProviderRequests":[],"blockedExternalRequests":[],"qualification":"Browser request log contains only method/path/query/JSON payload, with no cookies or authorization/CSRF/session headers. Direct API fixture reads are verified in individual tests; this log is not a server outbound-traffic measurement."}
@@ -1,216 +0,0 @@
{
"baseline": "1db5f488f6138e4f0f33749452b7d9f47658f4b0",
"roadmap": "271d37d1a875256643602db20bbd3c381a291c05",
"sourcePolicy": "LF-normalized UTF8 source; exact raw/gzip evidence bytes",
"test": {
"path": "job-tracker-ui/e2e/phase7-reminders.spec.ts",
"sha256Lf": "dab45b17dcb5963ef45f6ec8b00f5476d2eeb9e14e83776de23235ca94267e45"
},
"original": {
"originalTestSha256Lf": "b3d7281d510d19aedee125f4d2859fcc1631a01761cd0ca9c042ad43c1cd9ed9",
"originalTestSha256Raw": "fd8abe327ebbfd77fa4d62b245bb1b26dc7b34a2d670b327e9286cbf26abb341"
},
"originalSourceDerivation": "Final spec with exactly two inherited header exact-name Norsk bokmål selectors restored to Norsk",
"application": {
"frontendTree": "6a8b38361f57f199ebe298d2193de63d90b009e4",
"backendTree": "b7701b2459186f665fe5759a533b6e434cc122b0",
"backendQualifiedFrom": "eb2538772e1bfabbeb291e4a5efa177c79074de1",
"rootWorkingSourceDiffVsBaseline": "empty for job-tracker-ui/src and JobTrackerApi at entry"
},
"runs": {
"focused": {
"passed": 2,
"total": 2
},
"affectedOriginal": {
"passed": 6,
"failed": 2,
"total": 8
},
"affectedFinal": {
"passed": 8,
"failed": 0,
"total": 8
}
},
"final": {
"screenshots": 21,
"audits": 21,
"violations": 0,
"externalRequests": 0,
"cases": [
{
"title": "[P7-05 Reminders] actual empty and four workflow groups preserve counts, reasons, routes and owner boundaries",
"status": "passed"
},
{
"title": "[P7-05 connected calendar] en/1440 actual application status, follow-up and adjacent agenda stay connected",
"status": "passed"
},
{
"title": "[P7-05 connected calendar] nb/390 actual application status, follow-up and adjacent agenda stay connected",
"status": "passed"
},
{
"title": "[P7-05 Reminders] plus3, plus7 and clear persist actual dates and one history event per write with existing UTC-date semantics",
"status": "passed"
},
{
"title": "[P7-05 Reminders] held single PATCH locks every row action and failed explicit Retry preserves its captured date and moved focus",
"status": "passed"
},
{
"title": "[P7-05 Reminders] committed PATCH204 followed by a failed reload retries only GET and preserves its single history event",
"status": "passed"
},
{
"title": "[P7-05 Reminders] live EN/Bokmal translates status/date controls and generated reasons without a page-triggered refetch",
"status": "passed"
},
{
"title": "[P7-05 Reminders] eight finite bilingual theme widths preserve long rows and keyboard-accessible actions",
"status": "passed"
}
]
},
"native": [
{
"file": "connected-focused.json.gz",
"rawBytes": 581131,
"rawSha256": "226cfb760e2be6cf79bdd2be506c48ac71febcebab50ce61da8d354c4e978e37",
"gzipBytes": 371798,
"gzipSha256": "a37ab9b85aeb974a8f5836038a461c57e6a05d2d69d40cc51e62fc11bc54a553"
},
{
"file": "connected-focused.log.gz",
"rawBytes": 4652,
"rawSha256": "2b4d62119b0c20b3848250f9d80969f17b4df7acfbbae4f3625d6444be31202a",
"gzipBytes": 1366,
"gzipSha256": "c352cfd9219db1cc4f2f087dd405c2412b82d1994781613defeb197b01bd3db4"
},
{
"file": "reminders-final.json.gz",
"rawBytes": 3866522,
"rawSha256": "b2cedf914ea9c444afd67d281bdab5ab4782dfa1c59060d27adcc313b6375293",
"gzipBytes": 2577189,
"gzipSha256": "37c9b12b94ecf6032d083cbbf001a1ed052d8820b288b1840a88e0dc5bee084e"
},
{
"file": "reminders-final.log.gz",
"rawBytes": 34606,
"rawSha256": "4f11eab476bfe91d7793a70776a8e61ecda5e9c67eb3ea757fa821622d6704cc",
"gzipBytes": 4471,
"gzipSha256": "f1fe9acc7a57bf23e0a9d66a5cdfc0d7c285958148732772397565e9628a0e2c"
},
{
"file": "reminders-qualified.json.gz",
"rawBytes": 4229497,
"rawSha256": "f09e019f813f93efbbce3b4b5310cbd6191b85aa4cc2ed7c5ca8250fcfd58db4",
"gzipBytes": 2830947,
"gzipSha256": "412809283630e2690db41eb8c578061703ba9a163e1a4c161c26768766a8371c"
},
{
"file": "reminders-qualified.log.gz",
"rawBytes": 30294,
"rawSha256": "eace58032f3f7dd9c24b5753c01cce3d991036a7559339cedcb62937557f2186",
"gzipBytes": 3990,
"gzipSha256": "3d881db24c75990edadc9a4390a2173d6000409bf916bf6417377f33cb4e7933"
}
],
"limits": [
"Overlapping runs are not additive",
"SQL checklist uniqueness error remains in final raw server log; not clean-backend acceptance",
"No model/provider/delivery/MariaDB/human/device/AT or whole-A3 acceptance"
],
"artifacts": [
{
"file": "connected-calendar-native-readbacks-en-1440.json",
"bytes": 4545,
"sha256": "934daa73ae6753ad8c9655265325a674dc381953cc8388d66d760044130c0104"
},
{
"file": "connected-calendar-native-readbacks-nb-390.json",
"bytes": 4543,
"sha256": "43a1be26d0184eb8f33b08e0bb7e1fc82cc8c2fd9f6913ada69eec952f082fd4"
},
{
"file": "p7-reminders-en-light-1440-connected-cleared-selected-day-audit-en-1440.json",
"bytes": 15112,
"sha256": "660a1c13db578398904dd7070facd083ffa92ef2e6aab9037d17258b4dec8123"
},
{
"file": "p7-reminders-en-light-1440-connected-cleared-selected-day-en-1440.png",
"bytes": 103972,
"sha256": "adee1afeb5b194742c84c42b1f0bcbf96e30e324abdd472992d759148c3a2c6a"
},
{
"file": "p7-reminders-en-light-1440-connected-status-scheduled-month-audit-en-1440.json",
"bytes": 15937,
"sha256": "ea894d8ee02ff583dae5421eb9c718d68547da805c140eb336606f7d3dee0064"
},
{
"file": "p7-reminders-en-light-1440-connected-status-scheduled-month-en-1440.png",
"bytes": 108690,
"sha256": "830881f6f38db9eb88ebeeb515c6c2cb97af759f56097acdce74f472c876e8b2"
},
{
"file": "p7-reminders-nb-dark-390-connected-cleared-selected-day-audit-nb-390.json",
"bytes": 16099,
"sha256": "343f969b6f90aa67b5492cb47baddf7c47da8ab5d4cd70415d091c70a3a521c5"
},
{
"file": "p7-reminders-nb-dark-390-connected-cleared-selected-day-nb-390.png",
"bytes": 68123,
"sha256": "e1f4dc9eae3ba585e2ae3e0d114fb493da000010453ef70ed95a013e53bab726"
},
{
"file": "p7-reminders-nb-dark-390-connected-status-scheduled-month-audit-nb-390.json",
"bytes": 16901,
"sha256": "8b971da8b075a7d071f1cfa0dcbc968a4f310df541c130b8c1342a0c260422cb"
},
{
"file": "p7-reminders-nb-dark-390-connected-status-scheduled-month-nb-390.png",
"bytes": 71335,
"sha256": "cb052d8cbbbd1f947b018fef4a766e5b73d34d9389411d39cac28bbcbc878049"
}
],
"runtimeArtifacts": [
{
"file": "JobTrackerApi/bin/Release/net9.0/JobTrackerApi.dll",
"realPath": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\next-security-patch\\JobTrackerApi\\bin\\Release\\net9.0\\JobTrackerApi.dll",
"bytes": 11518976,
"sha256": "ac5c11394bcc6fe2272db96fc2f87143c62617120d173e7ae52ce1c15cb16227"
},
{
"file": "job-tracker-ui/out/index.html",
"realPath": "E:\\Storage\\Projects\\Active\\temp docs\\jobjakt-local-build\\next-security-patch\\job-tracker-ui\\out\\index.html",
"bytes": 9260,
"sha256": "31dfd9b2d2e7ea7d9e696b5485d24d7b8daf0b1e078e6539e94a04955b8ff1f8"
}
],
"tools": {
"node": "v24.19.0",
"typescript": "5.9.3",
"playwright": "1.62.1"
},
"checks": {
"specTypecheck": {
"exitCode": 0,
"scope": "complete phase7-reminders spec plus imported source types; no emit/incremental"
},
"scopedLint": {
"exitCode": 0,
"file": "job-tracker-ui/e2e/phase7-reminders.spec.ts"
},
"sourceDiff": {
"exitCode": 0
},
"graph": {
"command": "rtk proxy graphify update . --no-cluster",
"exitCode": 0,
"nodes": 19930,
"edges": 49369,
"scope": "AST only, untracked graph; includes owned transform-cache inputs; no semantic/provider pass"
}
}
}
@@ -1 +0,0 @@
{"boundary":"Actual owner HTTP fixtures, follow-up PATCH204, reloads, history and ownership checks use disposable isolated SQLite. Free account entitlements disable model access; the serial runtime disables AI, follow-up delivery and saved-search alert workers. No provider/model/send endpoint, raw SQL or schema is invoked. Controlled PATCH/GET failure and held requests qualify presentation and recovery, not production reliability. Browser request metadata excludes session/CSRF headers. The Shell independently requests the identical reminders?upcomingDays=14 endpoint initially and every60s; observed counts retain that source and do not claim one total GET per page. Existing absolute-millisecond-to-UTC-date scheduling and followMode route metadata are preserved; no DST/calendar or deferred composer qualification is claimed.","sample":{"language":"en","theme":"light","width":1440,"height":900},"waiting":{"id":7,"companyId":3,"company":{"id":3,"ownerUserId":"04543de0-8158-4a05-a3b0-91e709427821","name":"Connected synthetic care employer","location":"Oslo","source":"User","recruiterName":null,"recruiterEmail":null,"recruiterLinkedIn":null,"lastContactedAt":null,"nextContactAt":null,"pipelineStage":null},"jobTitle":"Recorded community care coordinator — æøå","status":"Waiting","dateApplied":"2026-01-01T12:00:00","savedAt":"2026-11-18T12:12:30.5335702","responseReceived":false,"responseDate":null,"notes":null,"coverLetterText":null,"jobUrl":null,"description":null,"translatedDescription":null,"descriptionLanguage":null,"tags":null,"deadline":null,"location":null,"salary":null,"salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":"2026-10-14T00:00:00","feedbackRequestedAt":null,"hasResume":false,"hasCoverLetter":false,"hasPortfolio":false,"hasOtherAttachment":false,"isDeleted":false,"deletedAt":null,"daysSince":321,"needsFollowUp":true,"followUpReason":"Waiting 14d","tailoredCvText":null,"workflowSignal":{"actionKey":"package-work","reason":"Tailored CV and saved application answers still need work.","workspaceTab":"tailored-cv","followMode":null,"needsAttention":true,"hasPackageGap":true,"needsInterviewPrep":false,"needsFollowUpAction":true,"hasTailoredCv":false,"hasSavedApplicationAnswerDraft":false,"hasInterviewPrepNotes":false},"shortSummary":null,"fullSummary":null,"version":2},"scheduledItems":[{"jobApplicationId":7,"jobTitle":"Recorded community care coordinator — æøå","companyName":"Connected synthetic care employer","kind":"follow-up","date":"2026-10-16","recordedAt":"2026-10-16T00:00:00"}],"final":{"id":7,"companyId":3,"company":{"id":3,"ownerUserId":"04543de0-8158-4a05-a3b0-91e709427821","name":"Connected synthetic care employer","location":"Oslo","source":"User","recruiterName":null,"recruiterEmail":null,"recruiterLinkedIn":null,"lastContactedAt":null,"nextContactAt":null,"pipelineStage":null},"jobTitle":"Recorded community care coordinator — æøå","status":"Waiting","dateApplied":"2026-01-01T12:00:00","savedAt":"2026-11-18T12:12:30.5335702","responseReceived":false,"responseDate":null,"notes":null,"coverLetterText":null,"jobUrl":null,"description":null,"translatedDescription":null,"descriptionLanguage":null,"tags":null,"deadline":null,"location":null,"salary":null,"salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"feedbackRequestedAt":null,"hasResume":false,"hasCoverLetter":false,"hasPortfolio":false,"hasOtherAttachment":false,"isDeleted":false,"deletedAt":null,"daysSince":321,"needsFollowUp":true,"followUpReason":"Waiting 14d","tailoredCvText":null,"workflowSignal":{"actionKey":"package-work","reason":"Tailored CV and saved application answers still need work.","workspaceTab":"tailored-cv","followMode":null,"needsAttention":true,"hasPackageGap":true,"needsInterviewPrep":false,"needsFollowUpAction":true,"hasTailoredCv":false,"hasSavedApplicationAnswerDraft":false,"hasInterviewPrepNotes":false},"shortSummary":null,"fullSummary":null,"version":4},"history":[{"id":10,"type":"FollowUpSet","oldValue":"2026-10-14T00:00:00.0000000","newValue":"2026-10-16T00:00:00.0000000","note":null,"at":"2026-11-18T13:12:33.0301475"},{"id":11,"type":"FollowUpSet","oldValue":"2026-10-16T00:00:00.0000000","newValue":null,"note":null,"at":"2026-11-18T13:12:35.4187892"}],"qualification":"Actual disposable status/followup/calendar/workspace HTTP. Preserved UTC-slice scheduling only; no delivery/provider, timezone migration or interview appointment model."}
@@ -1 +0,0 @@
{"boundary":"Actual owner HTTP fixtures, follow-up PATCH204, reloads, history and ownership checks use disposable isolated SQLite. Free account entitlements disable model access; the serial runtime disables AI, follow-up delivery and saved-search alert workers. No provider/model/send endpoint, raw SQL or schema is invoked. Controlled PATCH/GET failure and held requests qualify presentation and recovery, not production reliability. Browser request metadata excludes session/CSRF headers. The Shell independently requests the identical reminders?upcomingDays=14 endpoint initially and every60s; observed counts retain that source and do not claim one total GET per page. Existing absolute-millisecond-to-UTC-date scheduling and followMode route metadata are preserved; no DST/calendar or deferred composer qualification is claimed.","sample":{"language":"nb","theme":"dark","width":390,"height":844},"waiting":{"id":8,"companyId":4,"company":{"id":4,"ownerUserId":"a89a6f7d-1fbd-445e-8749-5f1b5c4eeab8","name":"Connected synthetic care employer","location":"Oslo","source":"User","recruiterName":null,"recruiterEmail":null,"recruiterLinkedIn":null,"lastContactedAt":null,"nextContactAt":null,"pipelineStage":null},"jobTitle":"Recorded community care coordinator — æøå","status":"Waiting","dateApplied":"2026-01-01T12:00:00","savedAt":"2026-11-18T12:12:37.6164347","responseReceived":false,"responseDate":null,"notes":null,"coverLetterText":null,"jobUrl":null,"description":null,"translatedDescription":null,"descriptionLanguage":null,"tags":null,"deadline":null,"location":null,"salary":null,"salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":"2026-10-14T00:00:00","feedbackRequestedAt":null,"hasResume":false,"hasCoverLetter":false,"hasPortfolio":false,"hasOtherAttachment":false,"isDeleted":false,"deletedAt":null,"daysSince":321,"needsFollowUp":true,"followUpReason":"Waiting 14d","tailoredCvText":null,"workflowSignal":{"actionKey":"package-work","reason":"Tailored CV and saved application answers still need work.","workspaceTab":"tailored-cv","followMode":null,"needsAttention":true,"hasPackageGap":true,"needsInterviewPrep":false,"needsFollowUpAction":true,"hasTailoredCv":false,"hasSavedApplicationAnswerDraft":false,"hasInterviewPrepNotes":false},"shortSummary":null,"fullSummary":null,"version":2},"scheduledItems":[{"jobApplicationId":8,"jobTitle":"Recorded community care coordinator — æøå","companyName":"Connected synthetic care employer","kind":"follow-up","date":"2026-10-16","recordedAt":"2026-10-16T00:00:00"}],"final":{"id":8,"companyId":4,"company":{"id":4,"ownerUserId":"a89a6f7d-1fbd-445e-8749-5f1b5c4eeab8","name":"Connected synthetic care employer","location":"Oslo","source":"User","recruiterName":null,"recruiterEmail":null,"recruiterLinkedIn":null,"lastContactedAt":null,"nextContactAt":null,"pipelineStage":null},"jobTitle":"Recorded community care coordinator — æøå","status":"Waiting","dateApplied":"2026-01-01T12:00:00","savedAt":"2026-11-18T12:12:37.6164347","responseReceived":false,"responseDate":null,"notes":null,"coverLetterText":null,"jobUrl":null,"description":null,"translatedDescription":null,"descriptionLanguage":null,"tags":null,"deadline":null,"location":null,"salary":null,"salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"feedbackRequestedAt":null,"hasResume":false,"hasCoverLetter":false,"hasPortfolio":false,"hasOtherAttachment":false,"isDeleted":false,"deletedAt":null,"daysSince":321,"needsFollowUp":true,"followUpReason":"Waiting 14d","tailoredCvText":null,"workflowSignal":{"actionKey":"package-work","reason":"Tailored CV and saved application answers still need work.","workspaceTab":"tailored-cv","followMode":null,"needsAttention":true,"hasPackageGap":true,"needsInterviewPrep":false,"needsFollowUpAction":true,"hasTailoredCv":false,"hasSavedApplicationAnswerDraft":false,"hasInterviewPrepNotes":false},"shortSummary":null,"fullSummary":null,"version":4},"history":[{"id":14,"type":"FollowUpSet","oldValue":"2026-10-14T00:00:00.0000000","newValue":"2026-10-16T00:00:00.0000000","note":null,"at":"2026-11-18T13:12:40.7958794"},{"id":15,"type":"FollowUpSet","oldValue":"2026-10-16T00:00:00.0000000","newValue":null,"note":null,"at":"2026-11-18T13:12:43.2443118"}],"qualification":"Actual disposable status/followup/calendar/workspace HTTP. Preserved UTC-slice scheduling only; no delivery/provider, timezone migration or interview appointment model."}
@@ -1,110 +0,0 @@
{
"baseline": "1db5f488f6138e4f0f33749452b7d9f47658f4b0",
"qualification": "Test-only connected journeys against frozen existing export/API, no provider/model execution. Native readbacks and four scoped axe scans, not full visual acceptance.",
"stats": {
"startTime": "2026-11-18T17:40:00.807Z",
"duration": 25672.649,
"expected": 2,
"skipped": 0,
"unexpected": 0,
"flaky": 0
},
"sourcesLfSha256": {
"job-tracker-ui/e2e/phase7-discovery.spec.ts": "bcf2c84d0bc86d6fa6fdf43b62eaa70e066acf3ba1425b9496b6c9ea5ac7de46",
"job-tracker-ui/package-lock.json": "7ebd728f99a1ed9a5334542fb578b30127b4a0c7984efe2913266e89e2fbfbd3",
"job-tracker-ui/playwright.config.ts": "9252c961ac2779485bb72b24c31d526773d7c09f764eca638c4c1d47235e9f65",
"job-tracker-ui/src/i18n/translations.ts": "2b29e81921fc44fba95df62497dba18fb8d91568340aa529f7d25eef93b032ab"
},
"artifacts": [
{
"file": "focused.json.gz",
"bytes": 147829,
"sha256": "1124afe68404328500a5134be29b51b0039efdc035146c147539f03900fb29e8"
},
{
"file": "focused.log.gz",
"bytes": 2437,
"sha256": "62fef0f99dfb844ff1562186e01ca819c7e4014b00aa2b1ccb5b859a0e3fb190"
},
{
"file": "corrected.json.gz",
"bytes": 233327,
"sha256": "8de56092bc1e8f90606293b63e55e84ea5842027790b888c6dfdf2dcec23b9e0"
},
{
"file": "corrected.log.gz",
"bytes": 2273,
"sha256": "7a79a52766d2f1d58a0cea5cfdd539f8f27742cd950555d818aae430b53482c9"
},
{
"file": "final.json.gz",
"bytes": 358425,
"sha256": "866e94ea9dc5043b46e3645afdd82a40434061b1ef1740e418e0f2b14c277c37"
},
{
"file": "final.log.gz",
"bytes": 1384,
"sha256": "e98d65b77b35182f0015c55feaa42429e822bd7a28d6e5845e2d56a6fba0d851"
},
{
"file": "en-p7-discovery-en-light-1440-connected-fixture-result-return-audit.json",
"bytes": 10842,
"sha256": "e4e1d4f32458c44791fca7bd034fe9d45700316c9b6052cb776f197e2929ea22"
},
{
"file": "en-p7-discovery-en-light-1440-connected-fixture-result-return.png",
"bytes": 93797,
"sha256": "bc28e6a338769f4baf7ad7dae14e0516c98a19e312114992b8f9326862e838f7"
},
{
"file": "en-connected-native-tracker-readbacks.json",
"bytes": 3739,
"sha256": "e078245f64ce5513057710f0d3c9395f159b9b72438bf38858ebf21a857b7e98"
},
{
"file": "en-p7-discovery-en-light-1440-connected-native-workspace-audit.json",
"bytes": 9268,
"sha256": "e115a6a6872110091799baa9484906779365bf33d36e70053a858288bbfaa07a"
},
{
"file": "en-p7-discovery-en-light-1440-connected-native-workspace.png",
"bytes": 122650,
"sha256": "556c5e697bc05f1094a183ed9493403971643dbbb26e2dd74c2e35e2a69a24b1"
},
{
"file": "en-discovery-request-boundary.json",
"bytes": 1264,
"sha256": "1b566579e51d569be46ed43d6fc8fb8b4cf4959831493bccb0dd67086fe2ed30"
},
{
"file": "nb-p7-discovery-nb-dark-390-connected-fixture-result-return-audit.json",
"bytes": 11333,
"sha256": "f9a09992219a3a5ff0f9848785227eccb34f336af3281c4343fc6665aab4e52d"
},
{
"file": "nb-p7-discovery-nb-dark-390-connected-fixture-result-return.png",
"bytes": 41080,
"sha256": "907ab5bba5793caa220a974506b791b28183e1e1b1bde82b26bb8ba3d69634e7"
},
{
"file": "nb-connected-native-tracker-readbacks.json",
"bytes": 3737,
"sha256": "88610906a3b65175350b5a83b55795e029b878b90cf5967bcead821ed50991ce"
},
{
"file": "nb-p7-discovery-nb-dark-390-connected-native-workspace-audit.json",
"bytes": 14328,
"sha256": "714231108ce7ee9781e16d3ac6a4780eaada0685e15c2b03ec7e3be713c40614"
},
{
"file": "nb-p7-discovery-nb-dark-390-connected-native-workspace.png",
"bytes": 81638,
"sha256": "eacdcadd05b014cb45e0038486513fa828a7a099f004c73d3468ebd5d597db1b"
},
{
"file": "nb-discovery-request-boundary.json",
"bytes": 1264,
"sha256": "1b566579e51d569be46ed43d6fc8fb8b4cf4959831493bccb0dd67086fe2ed30"
}
]
}
@@ -1 +0,0 @@
{"sample":{"language":"en","theme":"light","width":1440,"height":900},"job":{"id":"connected-en","title":"Faglærer i kunst og håndverk — æøå","company":"Synthetic community learning centre","location":"TRONDHEIM","modifiedAt":"2026-10-09T10:00:00Z","deadline":"2026-10-20T23:59:59Z","url":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-en","source":"nav","sourceName":"NAV Arbeidsplassen","acquisitionType":"searched","retrievedAt":"2026-10-10T10:00:00Z","countryCode":"NO"},"readback":{"id":1,"companyId":1,"company":{"id":1,"ownerUserId":"c3b9c5f7-7ffe-4e21-8dfc-0b68365e85ed","name":"Synthetic community learning centre","location":"Trondheim","source":"User","recruiterName":null,"recruiterEmail":null,"recruiterLinkedIn":null,"lastContactedAt":null,"nextContactAt":null,"pipelineStage":null},"jobTitle":"Faglærer i kunst og håndverk — æøå","status":"Saved","dateApplied":null,"savedAt":"2026-11-18T17:40:14.1198041","responseReceived":false,"responseDate":null,"notes":null,"coverLetterText":null,"jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-en","description":"Syntetisk stilling: planlegg aktiviteter og undervisning i kunst og håndverk. Kilden beholdes ordrett — æøå.","translatedDescription":null,"descriptionLanguage":"nb","tags":null,"deadline":"2026-10-20T00:00:00","location":"TRONDHEIM","salary":null,"salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"feedbackRequestedAt":null,"hasResume":false,"hasCoverLetter":false,"hasPortfolio":false,"hasOtherAttachment":false,"isDeleted":false,"deletedAt":null,"daysSince":null,"needsFollowUp":false,"followUpReason":null,"tailoredCvText":null,"workflowSignal":{"actionKey":"follow-up","reason":"No response yet and no follow-up is scheduled.","workspaceTab":"follow-up","followMode":"waiting-update","needsAttention":true,"hasPackageGap":false,"needsInterviewPrep":false,"needsFollowUpAction":true,"hasTailoredCv":false,"hasSavedApplicationAnswerDraft":false,"hasInterviewPrepNotes":false},"shortSummary":null,"fullSummary":null,"version":1},"opportunity":{"source":"nav","countryCode":"NO"},"duplicates":{"hasDuplicates":true,"matches":[{"id":1,"jobTitle":"Faglærer i kunst og håndverk — æøå","company":"Synthetic community learning centre","jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-en","status":"Saved","dateApplied":null,"reason":"same URL, same company and similar title"}]},"trackerWrites":[{"method":"POST","path":"/api/jobapplications","query":{},"body":{"jobTitle":"Faglærer i kunst og håndverk — æøå","companyId":1,"status":"Saved","location":"TRONDHEIM","salary":"","salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-en","source":"nav","countryCode":"NO","description":"Syntetisk stilling: planlegg aktiviteter og undervisning i kunst og håndverk. Kilden beholdes ordrett — æøå.","translatedDescription":null,"descriptionLanguage":"nb","tags":null,"deadline":"2026-10-20","notes":"","coverLetterText":null,"dateApplied":"2026-11-18"}}],"searches":1,"previews":1,"detailViews":1,"choosers":[],"qualification":"Search, original-source popup HTML and import preview are explicitly synthetic route fixtures, with no provider fetch. Company setup/job POST/readbacks/duplicate check/foreign denial are actual disposable API. Source/country checked on the linked opportunity through a guarded read-only query of this fixture SQLite only; application DTO does not expose them. No full provider integration, canonical geography, import parser or automatic duplicate blocking claim."}
@@ -1 +0,0 @@
{"providerBoundary":"Saved-search list/create/alert PATCH/delete and readbacks use the real isolated owner API and disposable SQLite. Browser vacancy-provider /search and owner /saved-searches/{id}/run responses are intercepted because the server provider has an external NAV base URL. Intercepted runs do not create SavedJobSearchResults: successful intercepted Dismiss establishes presentation only, never runner/history/dismiss persistence or alert delivery. A real missing-result Dismiss 404 is exercised separately. The unchanged saved-search-repair suite and backend fake-provider SQLite tests retain owner/anonymous and real runner/history contracts. External browser traffic and unregistered provider-dependent requests are blocked.","requests":[{"method":"GET","path":"/api/job-discovery/saved-searches","query":{},"body":null},{"method":"GET","path":"/api/job-discovery/search","query":{"q":"kunstlærer","location":"Trondheim"},"body":null}],"blockedProviderRequests":[],"blockedExternalRequests":[],"qualification":"Browser request log contains only method/path/query/JSON payload, with no cookies or authorization/CSRF/session headers. Direct API fixture reads are verified in individual tests; this log is not a server outbound-traffic measurement."}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 KiB

@@ -1 +0,0 @@
{"sample":{"language":"nb","theme":"dark","width":390,"height":844},"job":{"id":"connected-nb","title":"Faglærer i kunst og håndverk — æøå","company":"Synthetic community learning centre","location":"TRONDHEIM","modifiedAt":"2026-10-09T10:00:00Z","deadline":"2026-10-20T23:59:59Z","url":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-nb","source":"nav","sourceName":"NAV Arbeidsplassen","acquisitionType":"searched","retrievedAt":"2026-10-10T10:00:00Z","countryCode":"NO"},"readback":{"id":2,"companyId":2,"company":{"id":2,"ownerUserId":"33728467-11f1-4863-97d8-fc14a6b2421d","name":"Synthetic community learning centre","location":"Trondheim","source":"User","recruiterName":null,"recruiterEmail":null,"recruiterLinkedIn":null,"lastContactedAt":null,"nextContactAt":null,"pipelineStage":null},"jobTitle":"Faglærer i kunst og håndverk — æøå","status":"Saved","dateApplied":null,"savedAt":"2026-11-18T17:40:22.5290878","responseReceived":false,"responseDate":null,"notes":null,"coverLetterText":null,"jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-nb","description":"Syntetisk stilling: planlegg aktiviteter og undervisning i kunst og håndverk. Kilden beholdes ordrett — æøå.","translatedDescription":null,"descriptionLanguage":"nb","tags":null,"deadline":"2026-10-20T00:00:00","location":"TRONDHEIM","salary":null,"salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"feedbackRequestedAt":null,"hasResume":false,"hasCoverLetter":false,"hasPortfolio":false,"hasOtherAttachment":false,"isDeleted":false,"deletedAt":null,"daysSince":null,"needsFollowUp":false,"followUpReason":null,"tailoredCvText":null,"workflowSignal":{"actionKey":"follow-up","reason":"No response yet and no follow-up is scheduled.","workspaceTab":"follow-up","followMode":"waiting-update","needsAttention":true,"hasPackageGap":false,"needsInterviewPrep":false,"needsFollowUpAction":true,"hasTailoredCv":false,"hasSavedApplicationAnswerDraft":false,"hasInterviewPrepNotes":false},"shortSummary":null,"fullSummary":null,"version":1},"opportunity":{"source":"nav","countryCode":"NO"},"duplicates":{"hasDuplicates":true,"matches":[{"id":2,"jobTitle":"Faglærer i kunst og håndverk — æøå","company":"Synthetic community learning centre","jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-nb","status":"Saved","dateApplied":null,"reason":"same URL, same company and similar title"}]},"trackerWrites":[{"method":"POST","path":"/api/jobapplications","query":{},"body":{"jobTitle":"Faglærer i kunst og håndverk — æøå","companyId":2,"status":"Saved","location":"TRONDHEIM","salary":"","salaryMin":null,"salaryMax":null,"salaryCurrency":null,"salaryPeriod":null,"nextAction":null,"followUpAt":null,"jobUrl":"https://arbeidsplassen.nav.no/stillinger/stilling/connected-nb","source":"nav","countryCode":"NO","description":"Syntetisk stilling: planlegg aktiviteter og undervisning i kunst og håndverk. Kilden beholdes ordrett — æøå.","translatedDescription":null,"descriptionLanguage":"nb","tags":null,"deadline":"2026-10-20","notes":"","coverLetterText":null,"dateApplied":"2026-11-18"}}],"searches":1,"previews":1,"detailViews":1,"choosers":[],"qualification":"Search, original-source popup HTML and import preview are explicitly synthetic route fixtures, with no provider fetch. Company setup/job POST/readbacks/duplicate check/foreign denial are actual disposable API. Source/country checked on the linked opportunity through a guarded read-only query of this fixture SQLite only; application DTO does not expose them. No full provider integration, canonical geography, import parser or automatic duplicate blocking claim."}
@@ -1 +0,0 @@
{"providerBoundary":"Saved-search list/create/alert PATCH/delete and readbacks use the real isolated owner API and disposable SQLite. Browser vacancy-provider /search and owner /saved-searches/{id}/run responses are intercepted because the server provider has an external NAV base URL. Intercepted runs do not create SavedJobSearchResults: successful intercepted Dismiss establishes presentation only, never runner/history/dismiss persistence or alert delivery. A real missing-result Dismiss 404 is exercised separately. The unchanged saved-search-repair suite and backend fake-provider SQLite tests retain owner/anonymous and real runner/history contracts. External browser traffic and unregistered provider-dependent requests are blocked.","requests":[{"method":"GET","path":"/api/job-discovery/saved-searches","query":{},"body":null},{"method":"GET","path":"/api/job-discovery/search","query":{"q":"kunstlærer","location":"Trondheim"},"body":null}],"blockedProviderRequests":[],"blockedExternalRequests":[],"qualification":"Browser request log contains only method/path/query/JSON payload, with no cookies or authorization/CSRF/session headers. Direct API fixture reads are verified in individual tests; this log is not a server outbound-traffic measurement."}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

-115
View File
@@ -1,9 +1,6 @@
import AxeBuilder from '@axe-core/playwright';
import { spawnSync } from 'node:child_process';
import path from 'node:path';
import { expect, test as base, type APIRequestContext, type APIResponse, type Locator, type Page, type Response, type TestInfo } from '@playwright/test';
import { translations } from '../src/i18n/translations';
import type { Company, JobApplication } from '../src/types';
const apiUrl = 'http://localhost:5302/api';
const savedUrl = `${apiUrl}/job-discovery/saved-searches`;
@@ -213,118 +210,6 @@ async function capture(page: Page, info: TestInfo, sample: Sample, state: string
expect(axe.violations, `${name} complete axe violations`).toEqual([]);
}
for (const sample of [desktop, { language: 'nb', theme: 'dark', width: 390, height: 844 }] as Sample[]) {
test(`[P7-05 connected tracker] ${sample.language}/${sample.width} reviewed provider fixture becomes one durable owned application`, async ({ page, context, playwright, session }, info) => {
test.setTimeout(180_000);
const t = translations[sample.language];
const employer = await json<Company>(await page.request.post(`${apiUrl}/companies`, { headers: session.owner.headers,
data: { name: 'Synthetic community learning centre', location: 'Trondheim', source: 'User' } }), 201);
const canonical = await json<unknown>(await page.request.get(`${apiUrl}/career/profile`));
const job = { ...vacancy(`connected-${sample.language}`, 'Faglærer i kunst og håndverk — æøå'), company: employer.name };
const description = 'Syntetisk stilling: planlegg aktiviteter og undervisning i kunst og håndverk. Kilden beholdes ordrett — æøå.';
let searches = 0; let previews = 0; let detailViews = 0;
const trackerWrites: RequestRecord[] = [];
const choosers: string[] = [];
page.on('filechooser', () => choosers.push('unexpected chooser'));
page.on('request', request => {
const url = new URL(request.url());
if (request.method() !== 'GET' && /^\/api\/(?:jobapplications|companies|attachments)(?:\/|$)/.test(url.pathname)) {
trackerWrites.push({ method: request.method(), path: url.pathname, query: Object.fromEntries(url.searchParams), body: request.postData() ? request.postDataJSON() : null });
}
});
await page.route(`${searchUrl}**`, route => { searches++; return route.fulfill({ json: [job] }); });
await context.route(job.url, route => {
detailViews++;
return route.fulfill({ contentType: 'text/html; charset=utf-8', body: `<!doctype html><html lang="nb"><head><title>Synthetic listing detail</title><link rel="icon" href="data:,"></head><body><main><h1>${job.title}</h1><p>${description}</p></main></body></html>` });
});
await page.route(`${apiUrl}/jobimport/preview`, route => {
expect(route.request().method()).toBe('POST'); expect(route.request().postDataJSON()).toEqual({ url: job.url }); previews++;
return route.fulfill({ json: { success: true, title: job.title, company: employer.name, location: job.location,
description, language: 'nb', translatedDescription: null, sourceUrl: job.url, source: job.source, countryCode: job.countryCode, deadline: job.deadline, tags: [] } });
});
await enter(page, session.owner, sample);
await draftFilters(page, 'kunstlærer', 'Trondheim', sample.language);
await keyboardActivate(page, page.getByRole('button', { name: t.jobDiscoverySearchNav, exact: true }));
const row = article(page, job);
await expect(row.getByText('NAV Arbeidsplassen', { exact: true })).toBeVisible();
await expect(row.getByRole('link', { name: t.jobDiscoveryViewListing, exact: true })).toHaveAttribute('href', job.url);
const opening = page.waitForEvent('popup');
await keyboardActivate(page, row.getByRole('link', { name: t.jobDiscoveryViewListing, exact: true }));
const detail = await opening;
await expect(detail).toHaveURL(job.url);
await expect(detail.getByRole('heading', { name: job.title, exact: true })).toBeVisible();
await expect(detail.getByText(description, { exact: true })).toBeVisible();
await detail.close();
expect(detailViews).toBe(1); expect(searches).toBe(1);
await expect(page.getByLabel(t.jobDiscoveryRoleCompany, { exact: true })).toHaveValue('kunstlærer');
expect(trackerWrites).toEqual([]);
await capture(page, info, sample, 'connected-fixture-result-return');
const previewed = response(page, 'POST', `${apiUrl}/jobimport/preview`);
await keyboardActivate(page, row.getByRole('button', { name: t.jobDiscoverySaveTracker, exact: true }));
expect((await previewed).status()).toBe(200);
const dialog = page.getByRole('dialog');
await expect(dialog).toBeVisible();
await expect(dialog.getByLabel(t.addJobModalJobTitle, { exact: true })).toHaveValue(job.title);
await expect(dialog.getByLabel(t.addJobModalDescriptionOriginal, { exact: true })).toHaveValue(description);
await expect(dialog.getByLabel(t.addJobModalDescriptionLanguage, { exact: true })).toHaveValue('nb');
await expect(dialog.getByLabel(t.addJobModalJobUrl, { exact: true })).toHaveValue(job.url);
expect(previews).toBe(1); expect(trackerWrites).toEqual([]);
await keyboardActivate(page, dialog.getByRole('button', { name: t.continue, exact: true }));
for (let step = 2; step <= 4; step++) await keyboardActivate(page, dialog.getByRole('button', { name: t.skipAndContinue, exact: true }));
const createdResponse = response(page, 'POST', `${apiUrl}/jobapplications`);
await keyboardActivate(page, dialog.getByRole('button', { name: t.createJob, exact: true }));
const created = await json<JobApplication>(await createdResponse, 201);
await expect(dialog).toHaveCount(0);
const readback = await json<JobApplication>(await page.request.get(`${apiUrl}/jobapplications/${created.id}`));
expect(readback).toMatchObject({ id: created.id, jobTitle: job.title, companyId: employer.id, status: 'Saved', jobUrl: job.url,
description, descriptionLanguage: 'nb', followUpAt: null });
// Source/country belong to the linked opportunity, not the compatibility application DTO.
const dataRoot = String(info.config.metadata.isolatedDataRoot);
expect(path.basename(dataRoot)).toMatch(/^jobtracker-e2e-/);
const proof = spawnSync(process.platform === 'win32' ? 'python' : 'python3', ['-c', String.raw`
import json, sqlite3, sys
from pathlib import Path
from contextlib import closing
root = Path(sys.argv[1]).resolve(strict=True)
database = (root / 'jobtracker.db').resolve(strict=True)
assert root.name.startswith('jobtracker-e2e-') and database.parent == root
with closing(sqlite3.connect(database.as_uri() + '?mode=ro', uri=True)) as connection:
connection.execute('PRAGMA query_only=ON')
row = connection.execute('SELECT j.Source, j.CountryCode FROM JobApplications a JOIN Jobs j ON a.JobId=j.Id WHERE a.Id=? AND a.OwnerUserId=? AND j.OwnerUserId=?', (int(sys.argv[2]), sys.argv[3], sys.argv[3])).fetchone()
assert row is not None
print(json.dumps({'source': row[0], 'countryCode': row[1]}))
`, dataRoot, String(created.id), session.owner.id], { encoding: 'utf8' });
expect(proof.status, proof.stderr).toBe(0);
const opportunity = JSON.parse(proof.stdout) as { source: string; countryCode: string };
expect(opportunity).toEqual({ source: 'nav', countryCode: 'NO' });
expect(readback.deadline?.slice(0, 10)).toBe(job.deadline.slice(0, 10));
expect(trackerWrites).toHaveLength(1);
expect(trackerWrites[0]).toMatchObject({ method: 'POST', path: '/api/jobapplications', body: { companyId: employer.id, jobUrl: job.url, status: 'Saved', source: 'nav', countryCode: 'NO' } });
expect(choosers).toEqual([]);
await page.reload();
const tracked = page.getByRole(sample.width >= 768 ? 'row' : 'link', {
name: t.jobTableOpenJob.replace('{title}', job.title).replace('{company}', employer.name), exact: true });
await expect(tracked).toBeVisible();
const workspace = response(page, 'GET', `${apiUrl}/jobapplications/${created.id}/workspace`);
await keyboardActivate(page, tracked);
expect(await json<{ id: number; jobTitle: string; jobUrl: string; description: string }>(await workspace)).toMatchObject({ id: created.id, jobTitle: job.title, jobUrl: job.url, description });
await expect(page).toHaveURL(new RegExp(`/jobs/${created.id}$`));
const duplicates = await json<{ hasDuplicates: boolean; matches: Array<{ id: number }> }>(await page.request.get(`${apiUrl}/jobapplications/duplicate-check`, { params: { companyId: employer.id, jobTitle: job.title, jobUrl: job.url } }));
expect(duplicates.hasDuplicates).toBe(true); expect(duplicates.matches.map(match => match.id)).toContain(created.id);
const other = await playwright.request.newContext();
try {
await login(other, 'e2e@example.test');
expect((await other.get(`${apiUrl}/jobapplications/${created.id}`)).status()).toBe(404);
} finally { await other.dispose(); }
expect(await json<unknown>(await page.request.get(`${apiUrl}/career/profile`))).toEqual(canonical);
expect(await json<Company>(await page.request.get(`${apiUrl}/companies/${employer.id}`))).toMatchObject({ id: employer.id, name: employer.name, location: 'Trondheim', source: 'User' });
expect(trackerWrites).toHaveLength(1); expect(previews).toBe(1);
await info.attach('connected-native-tracker-readbacks', { body: JSON.stringify({ sample, job, readback, opportunity, duplicates, trackerWrites, searches, previews, detailViews, choosers,
qualification: 'Search, original-source popup HTML and import preview are explicitly synthetic route fixtures, with no provider fetch. Company setup/job POST/readbacks/duplicate check/foreign denial are actual disposable API. Source/country checked on the linked opportunity through a guarded read-only query of this fixture SQLite only; application DTO does not expose them. No full provider integration, canonical geography, import parser or automatic duplicate blocking claim.' }), contentType: 'application/json' });
await capture(page, info, sample, 'connected-native-workspace');
});
}
test('[P7-05 Discovery] saved A to manual search clears saved-result context and preserves native saved rows', async ({ page, session }, info) => {
const t = translations.en;
const saved = await createSaved(page, session.owner, 'Recorded saved search A');
+2 -69
View File
@@ -198,73 +198,6 @@ test('[P7-05 Reminders] actual empty and four workflow groups preserve counts, r
} finally { await foreignApi.dispose(); await anonymous.dispose(); }
});
for (const sample of [desktop, { language: 'nb', theme: 'dark', width: 390, height: 844 }] as Sample[]) {
test(`[P7-05 connected calendar] ${sample.language}/${sample.width} actual application status, follow-up and adjacent agenda stay connected`, async ({ page, session }, info) => {
test.setTimeout(180_000);
await page.clock.setFixedTime(new Date(fixedTime));
const t = translations[sample.language];
const employer = await company(page.request, session.owner, 'Connected synthetic care employer');
const row = await job(page.request, session.owner, employer.id, 'Recorded community care coordinator — æøå', {
status: 'Applied', dateApplied: '2026-01-01T12:00:00Z', followUpAt: '2026-10-14T00:00:00Z',
});
await enter(page, session.owner, sample);
await page.goto('/jobs');
await keyboard(page, page.getByRole('button', { name: `${t.jobTableActions}: ${row.jobTitle}`, exact: true }));
const changed = response(page, 'PATCH', `${jobsUrl}/${row.id}/status`);
await keyboard(page, page.getByRole('menuitem', { name: text(t.jobTableSetStatus, { status: t.statusWaiting }), exact: true }));
expect((await changed).status()).toBe(204);
const waiting = await nativeJob(page.request, row.id);
expect(waiting.status).toBe('Waiting');
expect(waiting.followUpAt?.slice(0, 10)).toBe('2026-10-14');
await page.goto('/reminders?source=connected-calendar');
const agenda = page.getByRole('region', { name: t.calendarAgendaTitle, exact: true });
const linkName = `${row.jobTitle} · ${employer.name}`;
const original = agenda.getByRole('link', { name: linkName, exact: true });
await expect(original).toBeVisible();
await expect(article(page, row.jobTitle)).toBeVisible();
const calendarRead = response(page, 'GET', `${apiUrl}/calendar/agenda?from=2026-10-01&to=2026-10-31`);
const scheduled = response(page, 'PATCH', `${jobsUrl}/${row.id}/followup`);
await keyboard(page, snooze(page, row, 3, sample.language));
expect((await scheduled).status()).toBe(204);
const items = await json<Array<{ jobApplicationId: number; kind: string; date: string; recordedAt: string }>>(await calendarRead);
expect(items.filter(item => item.jobApplicationId === row.id)).toMatchObject([{ kind: 'follow-up', date: '2026-10-16' }]);
await expect(original).toBeVisible();
await expect(original.locator('xpath=..').locator('time')).toHaveAttribute('datetime', items.find(item => item.jobApplicationId === row.id)!.recordedAt);
await keyboard(page, page.getByRole('button', { name: t.calendarMonth, exact: true }));
const date = await page.evaluate(language => new Intl.DateTimeFormat(language === 'nb' ? 'nb-NO' : 'en-GB', { dateStyle: 'medium', timeZone: 'UTC' }).format(new Date('2026-10-16T12:00:00Z')), sample.language);
const dayName = text(t.calendarDayEvents, { date, count: 1 });
await keyboard(page, agenda.getByRole('button', { name: dayName, exact: true }));
await expect(original).toBeVisible();
await capture(page, info, sample, 'connected-status-scheduled-month');
const workspace = response(page, 'GET', `${jobsUrl}/${row.id}/workspace`);
await keyboard(page, original);
await expect(page).toHaveURL(new RegExp(`/jobs/${row.id}$`));
expect(await json<{ id: number; status: string }>(await workspace)).toMatchObject({ id: row.id, status: 'Waiting' });
await page.goBack();
await expect(page.getByRole('button', { name: t.calendarMonth, exact: true })).toHaveAttribute('aria-pressed', 'true');
await keyboard(page, agenda.getByRole('button', { name: dayName, exact: true }));
await expect(original).toBeVisible();
const clearingCalendar = response(page, 'GET', `${apiUrl}/calendar/agenda?from=2026-10-01&to=2026-10-31`);
const cleared = response(page, 'PATCH', `${jobsUrl}/${row.id}/followup`);
await keyboard(page, clear(page, row, sample.language));
expect((await cleared).status()).toBe(204);
expect((await json<Array<{ jobApplicationId: number }>>(await clearingCalendar)).filter(item => item.jobApplicationId === row.id)).toEqual([]);
await expect(agenda.getByText(t.calendarDayEmpty, { exact: true })).toBeVisible();
await expect(page.getByRole('button', { name: t.calendarMonth, exact: true })).toHaveAttribute('aria-pressed', 'true');
await expect(agenda.getByRole('button', { name: text(t.calendarDayEvents, { date, count: 0 }), exact: true })).toHaveAttribute('aria-pressed', 'true');
await expect(original).toHaveCount(0);
const final = await nativeJob(page.request, row.id);
expect(final.status).toBe('Waiting'); expect(final.followUpAt).toBeNull();
expect(requests(session, 'PATCH', `/api/jobapplications/${row.id}/status`).map(request => request.body)).toEqual([{ status: 'Waiting' }]);
expect(requests(session, 'PATCH', `/api/jobapplications/${row.id}/followup`).map(request => request.body)).toEqual([{ followUpAt: '2026-10-16' }, { followUpAt: null }]);
expect((await history(page.request, row.id)).map(event => event.newValue?.slice(0, 10) ?? null)).toEqual(['2026-10-16', null]);
expect(session.requests.filter(request => /followup-draft|send-followup/.test(request.path))).toEqual([]);
await capture(page, info, sample, 'connected-cleared-selected-day');
await info.attach('connected-calendar-native-readbacks', { body: JSON.stringify({ boundary, sample, waiting, scheduledItems: items, final,
history: await history(page.request, row.id), qualification: 'Actual disposable status/followup/calendar/workspace HTTP. Preserved UTC-slice scheduling only; no delivery/provider, timezone migration or interview appointment model.' }), contentType: 'application/json' });
});
}
test('[P7-05 Reminders] plus3, plus7 and clear persist actual dates and one history event per write with existing UTC-date semantics', async ({ page, session }, info) => {
test.setTimeout(90_000); await page.clock.setFixedTime(new Date(fixedTime));
const source = await company(page.request, session.owner, 'Recorded scheduling company');
@@ -309,7 +242,7 @@ test('[P7-05 Reminders] held single PATCH locks every row action and failed expl
expect(await history(page.request, row.id)).toEqual([]); await capture(page, info, desktop, 'captured-patch-failure');
await page.clock.setFixedTime(new Date('2026-10-13T23:30:00-08:00'));
await keyboard(page, region(page).getByRole('button', { name: translations.en.retry, exact: true })); await expect.poll(() => attempts).toBe(2);
await expect(region(page)).toBeFocused(); const external = page.locator('header').getByRole('button', { name: 'Norsk bokmål', exact: true });
await expect(region(page)).toBeFocused(); const external = page.locator('header').getByRole('button', { name: 'Norsk', exact: true });
await external.focus(); await expect(external).toBeFocused(); second.release();
await expect(snooze(page, row, 3)).toBeEnabled(); await expect(region(page).getByRole('alert')).toHaveCount(0); await expect(external).toBeFocused();
expect(requests(session, 'PATCH', `/api/jobapplications/${row.id}/followup`).map(request => request.body)).toEqual([{ followUpAt: '2026-10-16' }, { followUpAt: '2026-10-16' }]);
@@ -348,7 +281,7 @@ test('[P7-05 Reminders] live EN/Bokmal translates status/date controls and gener
await expect.poll(() => requests(session, 'GET', '/api/jobapplications/reminders').length).toBeGreaterThanOrEqual(2);
const baseline = requests(session, 'GET', '/api/jobapplications/reminders').length;
const preference = response(page, 'PUT', `${apiUrl}/auth/preferences/language`);
await keyboard(page, page.locator('header').getByRole('button', { name: 'Norsk bokmål', exact: true })); expect((await preference).status()).toBe(204);
await keyboard(page, page.locator('header').getByRole('button', { name: 'Norsk', exact: true })); expect((await preference).status()).toBe(204);
await expect(page.locator('html')).toHaveAttribute('lang', 'nb-NO'); await expect(region(page, 'nb').getByRole('article')).toHaveCount(4);
for (const row of rows) await expect(article(page, row.jobTitle)).toContainText(fixtureReason(row, 'nb'));
await expect(article(page, rows[1].jobTitle).getByText(translations.nb.statusInterview, { exact: true })).toBeVisible();
-83
View File
@@ -1,83 +0,0 @@
[CmdletBinding()]
param(
[ValidateRange(1024, 65535)][int]$Port = 3000,
[ValidateSet('desktop-linux', 'default')][string]$DockerContext = 'desktop-linux',
[switch]$NoCache,
[switch]$ValidateOnly
)
$ErrorActionPreference = 'Stop'
$repo = Split-Path -Parent $PSScriptRoot
$composeFile = Join-Path $repo 'dev/windows-local.compose.yml'
$envFile = Join-Path $repo '.env.windows-local'
$project = 'jobjakt-windows-local'
function Invoke-DockerChecked {
param([string[]]$DockerArguments)
& docker --context $DockerContext @DockerArguments
if ($LASTEXITCODE -ne 0) { throw "Docker failed (exit $LASTEXITCODE). Existing data volumes have been retained." }
}
function New-LocalSecret {
$bytes = New-Object byte[] 32
$random = [System.Security.Cryptography.RandomNumberGenerator]::Create()
try { $random.GetBytes($bytes) } finally { $random.Dispose() }
return ([BitConverter]::ToString($bytes)).Replace('-', '').ToLowerInvariant()
}
Get-Command docker -ErrorAction Stop | Out-Null
$sourceCommit = & git -C $repo rev-parse HEAD
if ($LASTEXITCODE -ne 0) { throw 'Run this script from its existing Git checkout.' }
$sourceBranch = & git -C $repo branch --show-current
Write-Host "Building checkout $sourceBranch at $sourceCommit"
Write-Host 'No fetch, reset, production Compose, image push or volume deletion is performed.'
if (-not (Test-Path -LiteralPath $envFile)) {
# Reuse on later runs: replacing these passwords would break existing volumes.
$lines = @(
"JT_LOCAL_DB_ROOT_PASSWORD=$(New-LocalSecret)",
"JT_LOCAL_DB_PASSWORD=$(New-LocalSecret)",
"JT_LOCAL_JWT_KEY=$(New-LocalSecret)",
'JT_LOCAL_ADMIN_EMAIL=local-admin@example.test',
"JT_LOCAL_ADMIN_PASSWORD=Jt1!$(New-LocalSecret)"
)
[IO.File]::WriteAllLines($envFile, $lines, (New-Object Text.UTF8Encoding($false)))
Write-Host "Created private local credentials: $envFile"
}
$previousPort = $env:JT_LOCAL_PORT
$previousCommit = $env:JT_LOCAL_COMMIT
try {
$env:JT_LOCAL_PORT = [string]$Port
$env:JT_LOCAL_COMMIT = $sourceCommit
$composeArgs = @('compose', '--project-name', $project,
'--env-file', $envFile, '-f', $composeFile)
Invoke-DockerChecked -DockerArguments ($composeArgs + @('config', '--quiet'))
if ($ValidateOnly) {
Write-Host 'Compose configuration is valid; no images built or containers started.'
return
}
$contextJson = & docker context inspect $DockerContext
if ($LASTEXITCODE -ne 0) { throw "Docker context '$DockerContext' was not found. Start Docker Desktop in Linux containers mode." }
$endpoint = ($contextJson | ConvertFrom-Json)[0].Endpoints.docker.Host
if ($endpoint -notlike 'npipe://*') { throw 'This script only starts a local Windows Docker named-pipe engine.' }
$engine = & docker --context $DockerContext info --format '{{.OSType}}' 2>$null
if ($LASTEXITCODE -ne 0 -or $engine -ne 'linux') {
throw 'Start Docker Desktop, select Linux containers, wait until the engine is ready, then rerun this script.'
}
$buildArgs = @('build', 'backend', 'frontend')
if ($NoCache) { $buildArgs = @('build', '--no-cache', 'backend', 'frontend') }
Invoke-DockerChecked -DockerArguments ($composeArgs + $buildArgs)
Invoke-DockerChecked -DockerArguments ($composeArgs + @('up', '-d', '--wait', '--wait-timeout', '300', 'database', 'backend', 'frontend'))
Invoke-DockerChecked -DockerArguments ($composeArgs + @('ps'))
Write-Host "Open http://localhost:$Port"
Write-Host 'Login: local-admin@example.test (password is JT_LOCAL_ADMIN_PASSWORD in the private credentials file).'
Write-Host "Credentials: $envFile"
Write-Host 'Re-running this script rebuilds the current checkout and retains the local database/files.'
}
finally {
$env:JT_LOCAL_PORT = $previousPort
$env:JT_LOCAL_COMMIT = $previousCommit
}
-65
View File
@@ -1,65 +0,0 @@
"""Offline configuration checks; never build images or start containers."""
import json
import os
from pathlib import Path
import shutil
import subprocess
import tempfile
import unittest
ROOT = Path(__file__).resolve().parents[1]
class WindowsDockerTests(unittest.TestCase):
def test_powershell_script_parses(self):
shell = shutil.which('powershell') or shutil.which('pwsh')
if not shell:
self.skipTest('PowerShell is not installed')
script = ROOT / 'scripts/rebuild-windows-docker.ps1'
code = ('$errors=$null; $tokens=$null; '
'[System.Management.Automation.Language.Parser]::ParseFile('
+ "'" + str(script).replace("'", "''") + "'"
+ ', [ref]$tokens, [ref]$errors) | Out-Null; '
'if ($errors.Count) { $errors | Write-Error; exit 1 }')
result = subprocess.run([shell, '-NoProfile', '-Command', code], capture_output=True, text=True)
self.assertEqual(0, result.returncode, result.stderr)
def test_rendered_compose_is_local_persistent_and_uses_this_checkout(self):
with tempfile.TemporaryDirectory() as folder:
env_file = Path(folder) / '.env'
env_file.write_text('\n'.join([
'JT_LOCAL_DB_ROOT_PASSWORD=fixture-root', 'JT_LOCAL_DB_PASSWORD=fixture-database',
'JT_LOCAL_JWT_KEY=fixture-signing-key-not-a-real-secret',
'JT_LOCAL_ADMIN_EMAIL=local-admin@example.test', 'JT_LOCAL_ADMIN_PASSWORD=Fixture1!',
'JT_LOCAL_PORT=3100', 'JT_LOCAL_COMMIT=fixture-commit',
]), encoding='utf-8')
environment = {key: value for key, value in os.environ.items() if not key.startswith('JT_LOCAL_')}
result = subprocess.run([
'docker', 'compose', '--project-name', 'jobjakt-windows-local', '--env-file', str(env_file),
'-f', str(ROOT / 'dev/windows-local.compose.yml'), 'config', '--format', 'json',
], capture_output=True, text=True, env=environment)
self.assertEqual(0, result.returncode, result.stderr)
config = json.loads(result.stdout)
services = config['services']
self.assertEqual({'database', 'backend', 'frontend'}, set(services))
self.assertEqual('jobjakt-windows-local', config['name'])
self.assertFalse(services['database'].get('ports'))
self.assertFalse(services['backend'].get('ports'))
port = services['frontend']['ports'][0]
self.assertEqual(('127.0.0.1', '3100', 80), (port['host_ip'], port['published'], port['target']))
self.assertEqual(ROOT.resolve(), Path(services['backend']['build']['context']).resolve())
self.assertEqual((ROOT / 'job-tracker-ui').resolve(), Path(services['frontend']['build']['context']).resolve())
backend = services['backend']['environment']
self.assertEqual('Server=database;Database=jobtracker;User ID=jobtracker;Password=fixture-database;SslMode=None', backend['ConnectionStrings__JobTracker'])
self.assertEqual('true', backend['Auth__Require'])
self.assertEqual('http://localhost:3100', backend['App__PublicBaseUrl'])
self.assertEqual('false', backend['Ai__ExternalProcessingEnabled'])
self.assertTrue(all(value == 'false' for key, value in backend.items() if key.startswith('Workers__')))
self.assertEqual('direct', services['frontend']['environment']['INGRESS_MODE'])
self.assertEqual('/api', services['frontend']['build']['args']['NEXT_PUBLIC_API_BASE_URL'])
self.assertEqual({'database', 'files', 'tombstones'}, set(config['volumes']))
self.assertFalse(any(volume.get('external') for volume in config['volumes'].values()))
if __name__ == '__main__':
unittest.main()