FlickPond: from video app to reusable media platform

NUS Graduate Certificate, Architecting Scalable Systems
Team 17 · Guruprasath · Ibrahim · Long · 26 Oct 2026
1 / 60

Teams keep rebuilding upload-to-playback; we made it reusable

Course coordinator
batch of recordings
Trainer
one video, kept private
Integrator
builds on the API
Operator
capacity and releases
upload onceprocess laterplay privately
1. Overview
2 / 60

Two clients reuse the APIs of two owned services

Owners
Integrators
Browser app
Publisher CLI
Public HTTPS API2 OpenAPI documents
Media
Processing
S3: sources and outputs
Operators: capacity, releases
Clients never touch databases or service internals.
1. Overview
3 / 60

We kept the engine; we changed ownership and runtime

Inherited (Project 1)
Browser
One FastAPI appPostgres · Redis · MinIO
Worker replicasFFmpeg
As built
Clients
Gateway + authorizer
Media
SQS
Processing
2 Aurora
S3
Lambda + Fargate
Inherited:FFmpegHLSworker replicasbasic CI
1. Overview
4 / 60

Clients reuse the contract; encoders run within caps

1

Reusable platform
2

Fenced state
3

Bounded encoders
4

Measured limits
1. Overview
5 / 60

Seven use cases in scope; sharing and tenants out

Upload · process · play
UC-1 uploadUC-2 processUC-3 play
Retry · batch
UC-4 retryUC-5 bulk publish
Scale · release
UC-6 scale ProcessingUC-7 release
Out of scope: public sharing · tenants · live streaming · regional failover
1. Overview
6 / 60

Proposal to live platform in seventeen days

4 OctProposal9 OctDDD pack12–13 OctExtraction17–18 OctAWS proof20 OctFreeze21–22 OctLane + DB split26 OctPresentfinished 2 days late
2. Project conduct

Three specialist leads share an agreed effort allocation

11 pd
Cloud and delivery
Guruprasath
11 pd
Backend services
Ibrahim
11 pd
Domain and verification
Long
33 pd recorded to 20 Oct vs 31 planned · forecast 36 pd (12 each)
2. Project conduct

Seven use cases are implemented; five issue classes remain

7/7
use cases implemented
Latency (AISS-01)Edge hardening (AISS-02)Schema rollback (AISS-03)Ops hardening (AISS-04)Missing evidence (AISS-05)
Six demonstration recordings remain pending in this checkout.
2. Project conduct

Three drivers shaped every logical decision

1

Release and scale Processing alone
2

Survive duplicates and failures
3

Reuse without internals
3. Logical architecture
10 / 60

Each view answers a different design question

ARCHSS · Views of FlickPond · Kruchten 4+1 / C4 / Rozanski–Woods / arc42
View / modelQuestion it answersNotation usedCourse / view frameworkStable slide IDs
Context & scenariosWho uses it, and why?Scope / use casesARCHSS · 4+1 scenarios
C4 context: scope lens
s6 · s20
Logical / componentWho owns each responsibility?UML components / interfacesARCHSS · 4+1 logical
R–W functional
s12 · s12-processing
Process / runtimeWho sends what, and when?UML numbered sequenceARCHSS · 4+1 process
C4 dynamic / arc42 §6
s13 · s14
DeploymentWhere does each part execute?UML deploymentARCHSS · 4+1 physical
R–W deployment / arc42 §7
s22 · w1-triggers
DDD strategicWhy these context boundaries?Bounded-context mapPE · domain analysis
DDD from assessor feedback
s11 · s16
DDD tacticalWhich entities share invariants?Aggregate / entity / VO modelPE · domain / platform design
DDD from assessor feedback
s17 · w2-job
Data / projectionWhat persists, and how is it fenced?ER + typed schemas / sequencePE · platform data
R–W information
w4-media-main
w4-processing-main · s19
Detailed designWhich classes and calls implement it?UML class / module + sequenceSAD · object design / UML
SDP · pattern application
w3-a-classes · s30 · s31
Development structureWhich source modules depend on which?UML module / componentARCHSS · 4+1 development
Selected source decomposition
s28
w3-processing-components
Delivery pipelineHow are changes checked and promoted?UML activity / swimlanesDevSecOps · delivery processs34 · s68
Framework names describe correspondences; UML, ER and DDD name the model conventions. Security crosses views: s15.
R–W = Rozanski & Woods. C4 is a comparison of scope; the scope/use-case slide is not a formal C4 context diagram.
3. Logical architecture
Configured dc2-live · Main 76282d3 · source only11 / 60

Two services expose APIs and own their data

ARCHSS · Logical view (4+1 logical) · UML components
logical
3. Logical architecture
Configured dc2-live · Main 76282d3 · source only12 / 60

Processing separates commands from encoding

ARCHSS · Logical view continuation · UML components
processing components
Commands · Media → ProcessingProcessingCommandsQueuesubmit / retry / cancel
Work · within ProcessingProcessingWorkQueue + ProcessingShortWorkQueuework
Results · Processing → MediaMediaResultsQueueresult
3. Logical architecture
Configured dc2-live · Main 76282d3 · source only13 / 60

Media commits intent; the scheduled repair sends it

ARCHSS · Process view (4+1 process) · Numbered UML sequence
command handoff
3. Logical architecture
Configured dc2-live · Main 76282d3 · source only14 / 60

Three message flows use four physical queues

ARCHSS · Process view continuation · Numbered UML sequence
work results
3. Logical architecture
Configured dc2-live · Main 76282d3 · source only15 / 60

Media rechecks the cookie; Processing trusts the Actor

ARCHSS · Security perspective across logical / runtime views · AD-09
trust boundary
3. Logical architecture
Configured dc2-live · Main 76282d3 · source only16 / 60

Ownership and execution rules define two contexts

PE · Strategic DDD
CapabilityRules that stay togetherLanguage / consistency boundary
Own, upload, editOwner access; verify and pin source;
adopt Asset + submit intent atomically
Media · User, reservation, Asset, source pin
Publish and playValidate result into local view;
authorize playback; gate source cleanup
Media · public status, projection, playback
Execute and recoverOne Job per Asset; current Attempt;
lease fencing; validated outputs
Processing · Job, Attempt, claim, deadline
Why we keep the other boundaries inside these contexts
Separate Identity: current User checks and Asset ownership remain in Media.
Separate Delivery: playback uses owned Asset + validated projection.
Separate Upload: adoption must commit the source pin, Asset and submit intent together.
One service: merges ownership rules with Attempt/lease rules and encoding execution.
3. Logical architecture
As built · 76282d3 · Boundaries are design interpretations17 / 60

Commands cross contexts; work stays in Processing

PE · Strategic DDD
Formal two-context map with result-model upstream Processing and downstream Media, published language, a Media ACL and internal work
3. Logical architecture
As built · 76282d3 · Boundaries are design interpretations18 / 60

Asset groups ownership with its adopted source value

PE · Tactical DDD / as built at 76282d3
Media Asset root with a persisted source value record and frozen contract Source
3. Logical architecture
As built · 76282d3 · Anaemic records; services enforce the interpreted grouping19 / 60

Job groups Attempt history with current lease rules

PE · Tactical DDD / as built at 76282d3
Processing Job and member Attempts with typed lease attributes and JSON Output value DTO
3. Logical architecture
As built · 76282d3 · Anaemic records; services enforce the interpreted grouping20 / 60

Five message kinds express commands, work and state

PE · Tactical DDD / as built at 76282d3
KindProducer → consumerState change / intentPayload fields (inside Envelope)
submitMedia → Processing controlAdopt new Asset + source pinoperations: list
retryMedia → Processing controlFailed projection permits intent;
Processing adds a new Attempt
{}
identity comes from message_id
cancelMedia → Processing controlAsset tombstone + cleanup intent{}
workProcessing → own encoder
internal work
Current nondeleted Job + Attempt
are both queued
operations: list
resultProcessing state → Media ACLSubmit, claim, finish/fail, retry,
cancel, interruption or redirect
status, outputs, error,
attempt_number
Every envelope: schema_version, message_id/kind, owner/asset/job/attempt IDs, state_version, source, payload.
Cancel before submit: result has null job/attempt/source and {status, cancellation_confirmed, command_message_id}.
Model: commands + full result snapshots; no named JobStarted event stream or event sourcing.
3. Logical architecture
As built · 76282d3 · Selected fields; rules live in service modules21 / 60

An identical replay is ignored; conflicting v3 is rejected

ARCHSS · Information / process views · UML sequence · AD-21
result replay
3. Logical architecture
Configured dc2-live · Main 76282d3 · source only22 / 60

The API accepts intent; S3 carries the video bytes

SAD · Request sequence / platform contract
1 ReservePOST /api/media/
uploads/reservations
201 · owner-scoped S3 grant
2 Upload bytesBrowser / Publisher → S3 POST
Use grant URL + form fields
SourceBucket · ≤100 MiB
3 FinalizePOST .../reservations/{id}/finalize
Verify size / SHA-256 / VersionId
202 · Asset + submit outbox
API path
CloudFront → HTTP API: authorize, then invoke MediaApi
After commit
EventBridge minute tick → MediaRepair → command SQS → ProcessingCommands
Status, edit, retry, delete and playback are additional API operations.
MP4 bytes: signed S3 GET. HLS: Media playlist; Media 307 → S3 segment bytes.
3. Logical architecture
Source configuration · Main 76282d323 / 60

Two route owners expose distinct job identities

ARCHSS · Interface view / public API surface
Method + public path (braces name route parameters)OwnerAuthorizer
GET /api/media/health · GET /api/processing/healthEach serviceNo
POST /api/media/auth/register · /login · /logout (same prefix)MediaNo
GET /api/media/auth/meMediaYes
POST /api/media/uploads/reservationsMediaYes
POST /api/media/uploads/reservations/{reservation_id}/finalizeMediaYes
GET /api/media/jobs · GET /api/media/jobs/{job_id}MediaYes
POST /api/media/jobs/{job_id}/edit · POST .../{job_id}/retryMediaYes
DELETE /api/media/jobs/{job_id} (Asset tombstone + cancel command)MediaYes
GET /api/media/jobs/{job_id}/hls/{path}MediaYes
GET /api/media/admin/jobs · DELETE /api/media/admin/jobs/{job_id}MediaYes + operator
GET /api/processing/jobs?asset_ids=… · GET /api/processing/jobs/{job_id}ProcessingYes
POST /api/processing/jobs/{job_id}/retry · DELETE .../{job_id} (cancel)ProcessingYes + publisher
Media {job_id} = Asset ID; Processing {job_id} = Processing Job ID.
Gateway: 9 routes = 4 protected ANY proxy/root + 5 public exceptions. Authorized roots return 404.
Business operations shown; Media also retains protected FastAPI docs/OpenAPI defaults.
3. Logical architecture
Application operations behind two Gateway integrations24 / 60

Gateway attaches MediaAuthorizer to protected routes

SAD · Authorization sequence / Gateway trust boundary
Protected-request sequence: Gateway invokes MediaAuthorizer, which validates cookie and current User, then Gateway invokes the selected API
Public routes bypass this hook; missing Cookie is rejected at Gateway.
Media revalidates cookie + User; Processing trusts the injected Actor.
3. Logical architecture
Lambda REQUEST authorizer · Cookie identity · TTL 025 / 60

Runtime capacity can idle; the current bill is unknown

AD-10 / AD-12 / AD-27
Choice
Lambda, finite tasks, pausing Aurora
Why
No waiting encoders
Trade-off
Cold starts and DB resume
$3–5
historical idle model
pre-split · not the current total
4. Physical architecture
26 / 60

Public Gateway invokes private Lambda functions

ARCHSS · Deployment view (4+1 physical)
Configured dc2-live deployment: global CloudFront, regional HTTP API, private Lambda deployment sets, separate Aurora clusters, public finite Fargate tasks and SQS
11 Lambdas · 4 queues + 4 DLQs · 5 EventBridge rules · 15 alarms
Full deployment: network, artifacts, queues, events and stores in backup.
4. Physical architecture
dc2-live source configuration · ap-southeast-1 · 76282d327 / 60

Invocations and queue consumers distribute the load

ARCHSS · Concurrency view / capacity decision
TierWhat distributes workConfigured bound / limit
Static + bytesCloudFront caches frontend; S3 serves mediaNo web-server target pool
APIGateway routes → concurrent Lambda invocationsDefault 20 req/s, burst 50; 29 s integration
Commands / results / shortSQS buffers; mappings invoke consumersEach mapping cap 2; short batch 1
Standard encodeLauncher reserves → RunTask;
workers poll SQS and claim one Attempt
Live + unresolved slots counted
against launcher cap 3; finite exit
SQLAurora Serverless v2 scales each cluster0–2 ACU; 1 instance per cluster;
no reader failover target
Decision
No ALB/NLB: Gateway invokes Lambda; encoders pull jobs.
Alternative considered: ALB + ECS HTTP service adds standing infrastructure;
queue workers still need capacity control.
No ECS Service autoscaler. Encoder ceilings: 3 Fargate + 2 short Lambda = 5; AWS quotas still apply.
4. Physical architecture
Subnet placement is a network decision; it does not distribute jobs28 / 60

Processing selects a lane before the launcher runs

SAD · UML activity / component swimlanes
Activity diagram: emit_state calls work_lane with enabled, size and prior Lambda history; relay publishes; short mapping invokes Lambda or launcher reserves and calls RunTask
The dispatcher knows source size and execution history. The launcher decides how many standard workers to start.
4. Physical architecture
processing/messaging.py → processing/short_lane.py29 / 60

Short Lambda redirects only under a live lease

SAD · UML activity / execution admission and lease fence
Short Lambda claims and downloads before source duration and height test; over-bound probe redirects under live lease to new standard Attempt and launcher starts Fargate
Source limits: 60 s and 1080 px height. A short requested edit does not shorten the source probe.
Ordinary error / crash → failed Job → owner retry; it does not automatically redirect.
4. Physical architecture
Short Lambda: 3008 MB · 2048 MB /tmp · 900 s timeout · ≤720 s pipeline30 / 60

Short-lane queue wait fell; end-to-end latency missed

0.26 s
queue wait
vs 32.6 s on Fargate
45.2 s
end to end (warm)
vs 20 s aim
$0.0003
compute only / encode
vs $0.0021 on Fargate
Historical sl1021 · 5 jobs per arm · unequal source bytes and cold-start conditions.
Next: per-stage tracing of the unexplained 35–80 s
4. Physical architecture

Each service owns its durable state

ARCHSS · Physical data view / PE · schemas
Store / ownerPersistent modelConsistency / retention
Aurora media cluster
Media
media_db: users, assets, upload/source pins,
projections, inbox/outbox
Local SQL transactions; result projection is eventual.
Rows retained; backup: 1 day.
Aurora processing cluster
Processing
processing_db: jobs, attempts, guards,
retry/cleanup and delivery/launcher records
Local SQL transactions; DB-time fenced leases.
Rows retained; backup: 1 day.
S3 SourceBucket
Media
Versioned source bytes; adopted staging uploads
and copied edit sources
Exact VersionId pin; asynchronous version cleanup.
No active-object age expiry.
S3 OutputBucket
Processing
Primary + HLS objects under attempt UUIDFenced SQL publication; async version cleanup.
No active-object age expiry.
4 SQS queues + 4 DLQs
Media / Processing
processing-commands · processing-work
processing-work-short* · media-results
At-least-once + SQL dedupe/replay.
Queues 7 days; DLQs 14; redrive after 5 receives.
Supporting stores
Platform / operations
Frontend S3; SSM configuration/activity hints;
CloudWatch logs; local operator journals
Versioned static assets; hints are not job authority.
Logs 7 days; supporting schemas in backup.

PostgreSQL commits state with inbox/outbox records; JSONB embeds nested metadata.

5. Data design
FlickPond · Main 76282d3Why PostgreSQL? · backup32 / 60

Media owns assets, pins and read projections

ARCHSS · Physical data view / PE · schemas
Physical data view · media_db · media_0008
5. Data design
FlickPond · Main 76282d333 / 60

Processing owns each job and its fenced attempts

ARCHSS · Physical data view / PE · schemas
Physical data view · processing_db · processing_0007
5. Data design
FlickPond · Main 76282d334 / 60

Attempt UUIDs isolate each output namespace

ARCHSS · Physical data view / PE · schemas
NamespaceKey / descriptorAuthority
Direct uploadstaging/{owner}/{reservation}/sourceAdopted in place; UploadReservation
pins the exact S3 VersionId.
Edit-derived sourcesources/{owner}/{asset}/sourceVerified parent primary copied to a new Asset;
asset_source_versions stores its pin.
Primary outputjobs/{job}/attempts/{attempt_uuid}/
primary.{mp4,mkv,mp3}
Attempt UUID isolates writes.
SQL finish fences publication.
HLS output…/hls/master.m3u8
…/hls/v{n}/index.m3u8
…/hls/v{n}/seg%05d.ts
Plain uploads only; master uploaded last.
Only master is in the output descriptor list.

Deleting an Asset triggers asynchronous deletion of object versions. Cleanup horizons bound rescans; they do not expire active videos.

5. Data design
FlickPond · Main 76282d335 / 60

Media separates acceptance from publication

ARCHSS · SAD · Media component view
Media separates acceptance from publication
6. Detailed design

Processing owns routing and execution authority

ARCHSS · SAD · Processing component view
Processing owns routing and execution authority
6. Detailed design

One source adoption commits its command

SAD · SDP · UC-1 class/module design
One source adoption commits its command
6. Detailed design

Finalize adopts the bytes it verified

SAD · SDP · UC-1–UC-3 / phase A1
Finalize adopts the bytes it verified
6. Detailed design

Editing commits a new Asset before SQS

SAD · SDP · Edit object interaction
Edit stages a derived Asset and submit intent before later relay
6. Detailed design

Retry preserves the Job and replaces the Attempt

SAD · SDP · UC-4 class design
Retry preserves the Job and replaces the Attempt
6. Detailed design

The old Claim cannot finish the new Attempt

SAD · SDP · UC-4 / phase B3
The old Claim cannot finish the new Attempt
6. Detailed design

Cancellation overlays the persisted Job status

SAD · UC-4 Job statechart
Cancellation overlays the persisted Job status
6. Detailed design

One repository, three images, independent releases

One repository
media/
processing/
contracts/
publisher/
frontend/
Media image
Processing image
Worker imageFargate + short Lambda
Media aliasesreleased alone
Processing aliasesreleased alone
Short encoder aliasworker image · stack managed
7. DevSecOps
44 / 60

The PR base selects the verification policy

DevSecOps · Pipeline verification and evidence · 76282d3
TriggerChecks selectedWhat the result means
PR into dev/closeoutChanged-input lanes
Shared / unknown inputs can select full
Dev gate requires selected tests and V1 checks, plus gitleaks
PR to Main or any other baseFull verificationAll lanes selected, including image scans, DAST execution and combined coverage
Main push / full dispatch / weekly CIFull verification on exact sourceOnly a successful Main push run admits automatic CD

Main has no branch protection. CI aggregates report workflow results. Team merge practice and CD admission are separate controls.

7. DevSecOps

Full CI runs SAST and DAST. Main is unprotected

DevSecOps · Activity view (delivery) · 76282d3
Full CI runs SAST and DAST. Main is unprotected. Formal UML activity view at 76282d3.
SASTSCASecretsImagesDASTH/C = HIGH/CRITICAL

CodeQL SAST runs separately from Full verification. Sonar and cloud DAST: NOT_RUN.

7. DevSecOps
23 Oct CI passed · 25 Oct CI failed · Main settings checked 26 Oct46 / 60

CD admits the same SHA and verifies promoted images

DevSecOps · Pipeline verification and evidence · 76282d3
StepBlocking policyEvidence retained
1. CI admissionAutomatic: successful Main push CI
Manual: Main push or exact-SHA full dispatch
CI admission JSON, 60 days
2. Image verificationTrivy: identity + fixable H/C policy
ECR: COMPLETE, no unaccepted H/C
Config IDs, immutable digests, scan receipts
3. Owner promotionPublic owner smoke must pass
Failed promotion attempts automatic restore
Promotion / restore disposition and prior aliases
4. Upload-to-playbackSeparate post-promotion smoke fails CD on errorRedacted CD result artifacts, 60 days

CD verifies the images it promotes. A green CI run proves the source checks, rather than reuse of the exact image bytes built in CI.

7. DevSecOps

Security testing in the pipeline has distinct failure policies

DevSecOps · Pipeline verification and evidence · 76282d3
EngineTypeWhen it runsBlocks?ResultsDated run
CodeQLSASTGitHub default setup
Separate analysis
No custom CI
alert gate
Native Security tab25 Oct · 40189407647
Ruff SSASTLint selected / fullYes: lint findingsruff-security SARIF
Security tab + summary
23 Oct · 39931072197
npm auditSCAFrontend selected / fullYes: HIGH+Workflow log23 Oct · 39931072197
gitleaksSecretsEvery CI eventYes: findingsgitleaks SARIF
Security tab + summary
23 Oct · 39931072197
Trivy
Inherited matrix
ImageSelected / full
app, media, processing
Yes: fixable H/CJSON + identity, 60d
Filtered SARIF / Security
25 Oct · app / processing failed
Trivy
V1 images
ImageCI selected / full
Manual V1: images=true
Yes: identity +
fixable H/C
JSON + receipt, 60d
Filtered SARIF / Security
25 Oct · V1 passed
OWASP ZAPDASTCI selected / full
Manual / weekly DAST
Execution: full CI
Findings: report-only
Sanitized JSON, 14d
zap-dast SARIF / Security
25 Oct · 16 findings
SonarCloudSAST
NOT_RUN
Workflow configured
Analysis conditional
AdvisoryConfiguration artifact
No analysis result here
25 Oct · analyses skipped

H/C = HIGH/CRITICAL. SARIF upload is best-effort and restricted on fork PRs. V1 images: Media, Processing, Worker; unfixed rows stay in JSON. Preparation/CD scans: backup.

7. DevSecOps

ZAP scans seven local routes; cloud DAST is NOT_RUN

DevSecOps · Pipeline verification and evidence · 76282d3
ServiceSeven active-scan routes
MediaGET /api/media/auth/me
MediaGET /api/media/health
MediaGET /api/media/jobs
MediaGET /api/media/jobs/{job_id}
ProcessingGET /api/processing/health
ProcessingGET /api/processing/jobs
ProcessingGET /api/processing/jobs/{job_id}

Disposable loopback target
V1 Media / Processing handlers + authorizer
Real PostgreSQL · Moto S3 / SQS

Authenticated owner session
Two synthetic owners. Positive reads, cross-owner denial, missing / expired sessions checked. Cookie restricted to local API origin.

Excluded from ZAP active scan
Auth lifecycle POST, uploads, HLS, admin and state-changing operations. Fixture controls are separate from scan coverage.

Bounded OpenAPI API scan
Pinned scanner image, route coverage checks,
1,600 forwarded-request cap, cleanup required.

25 Oct: 16 findings · report-only
7 routes exercised · cleanup PASS
Cloud-edge scan: NOT_RUN
No deployed Gateway / CloudFront / IAM proof
7. DevSecOps

The replaced baseline can retain findings for restore

DevSecOps · Pipeline verification and evidence · 76282d3
Image roleWhat blocksWhat remains visible
New candidateTrivy: fixable H/C or invalid evidence
ECR: unaccepted H/C or incomplete scan
Source SHA, config ID, Trivy and ECR receipts
Kept running imageStrict scan policy still appliesImmutable deployed digest and current scan evidence
Replaced baseline
(restore target only)
Trivy: valid evidence; may record RETAINED_FIXABLE
ECR: COMPLETE, no unaccepted H/C
Retained findings and restore identity in CD receipts

Only the replaced baseline’s Trivy finding policy has this exception. Candidate and kept-image policies, plus ECR validation, remain strict.

7. DevSecOps

Splitting the database also split the wake-up

✗
processing-jobs:503
39728501166
✗
processing-jobs:503
39729654137
✗
processing-jobs:503
39731426830
fix
retry each service, 5/10/15 s
within 180 s
✓
green
39733859422
7. DevSecOps

Cloud surprises became regression tests

Lambda capped at 3008 MB
Resume after rollback
Released migrations frozen
7. DevSecOps
52 / 60

Six demos: three journeys, three qualities (D6 planned)

Use cases
D1
Upload and play
UC-1 · UC-2 · UC-3
D2
Publisher
UC-5
D3
Ownership
UC-3 denial
Quality attributes
D4
Scalability
0 → 3 → 0
D5
Performance
scripted load test
D6
Maintainability
push to production
8. Demo
53 / 60

D1 — An owner uploads once and plays it back

Clip D1 · Sign in, upload, encode, playback
recording pending
D1 · 0:33
UC-1UC-2UC-3
What this proves
Upload, asynchronous processing and owner-only playback work end to end.
8. Demo
54 / 60

D2 — A second application publishes through the contract

Clip D2 · Publisher as a producer
recording pending
D2 · 0:24
UC-50 imports0 DB credentials
What this proves
A second client uses the public contract with no backend access.
8. Demo
55 / 60

D3 — Knowing an ID is not enough

Clip D3 · Ownership and authorization
recording pending
D3 · 0:20
owner ✓other user ✗anonymous ✗
What this proves
The owner is checked at the API: foreign and anonymous requests are denied.
8. Demo
56 / 60

D4 — Capacity follows work: 0 → 3 → 0

Clip D4 · Fargate scale 0→3→0
recording pending
D4 · 0:34
Fargate cap 3Lambda cap 2
What this proves
Fargate encoders rise to three and return to zero; the short lane is bounded.
8. Demo
57 / 60

D5 — A repeatable scripted load test

Clip D5 · Scripted performance
recording pending
D5 · 1:08
10 users · 60 spublic edge
What this proves
A repeatable test, reported with its workload and network path.
8. Demo

D6 — A UI change follows CI admission into CD

Clip D6 · Maintainability: push, CI, CD
recording pending
D6 · to record
pushCICDlive
Planned check
CD admits full CI for the same SHA and retains promotion and smoke evidence.
8. Demo
59 / 60

Reusable clients, fenced state and bounded encoders

1

ReusablePublisher
2

Fenced stateoutbox · lease
3

Bounded encoders3 Fargate + 2 Lambda
4

Measured limitskept misses
Questions?
60 / 60

Backup

Q&A and appendices use the current footer number: type it, then Enter.
Press O for the overview. Stable section IDs appear in speaker notes.
Backup
61 / 147

Five issue classes retain an owner and a next step

Five issue classes, each with an owner and a next step.
IDIssueOwnerNext step
AISS-01Latency missesLong, GuruprasathTrace the unexplained 35–80 s
AISS-02Direct API URL, no WAFGuruprasathCloudFront-only origin + WAF
AISS-03Image-only rollbackIbrahimOld-image / new-schema compatibility gate (planned)
AISS-04Operations hardeningGuruprasathRuleset; deploy privileges; alarm notification
AISS-05Evidence not establishedLong, GuruprasathRun NOT RUN experiments; read the bill
15 alarms are configured; service notification actions remain unwired.
Backup

Recorded effort is an agreed allocation

Team-agreed equal allocations, not timesheets; 1 pd is 8 hours.
MemberSpecialismRecordedForecast
GuruprasathCloud and delivery11 pd12 pd
IbrahimBackend services11 pd12 pd
LongDomain, contracts, verification11 pd12 pd
Total33 pd vs 31 planned36 pd
Backup

Five evidence items remain unestablished

These measurements remain unestablished.
Lost-queue repair: 120 s targetDuplicate output after a worker killRestore drillActual October billPublisher 2 pd effort
Backup
64 / 147

A second client reuses the contract without internals

A second client reuses the contract without internals.
0
service imports
0
DB credentials
495
Python lines, 5 files
no external adoption claimed2 pd effort NOT_MEASURED
Backup
65 / 147

Seven use cases span two services and two clients

Seven use cases, two services, two clients.
UC-1 uploadUC-2 processUC-3 status, playUC-4 retryUC-5 bulk publishUC-6 scale ProcessingUC-7 release alone
Out: public sharing, tenants, live streaming, regional failover
Backup
66 / 147

Media keeps User, Asset and playback checks local

User, Asset and the result projection stay in Media.
User
+
Asset
stay together
Identity revalidation uses a separate session; the Asset and projection are read locally.
Backup
67 / 147

Eleven functions execute roles inside two services

No: a function is a deployment unit inside a service.
2 services
11 functions
Service = rules + data + release unit
Backup
68 / 147

Inbox and fences handle at-least-once delivery

At-least-once delivery, made safe by inbox and fences.
AskedAnswer
Exactly-once?No: at-least-once + inbox + fences
CQRS?Snapshot projection, not full CQRS
Event sourcing?No: event-carried state transfer
Backup
69 / 147

Scaling results were mixed; end-to-end latency missed

Mixed: one scaling miss, one pass; short lane misses end to end.
1.449×
2 workers, target 1.6×
2.347×
3 workers, target 2.1×
45.2 s
short lane, aim 20 s
Historical runs: 6-clip scaling backlog, one run per cap; sl1021 had 5 jobs per arm.
Backup

Release and smoke measure different timing boundaries

About ten minutes for the release step; 15m38s with the smoke.
Earlier releases
10.1–10.3 min
Release step (r1019a)
9m39s
With upload smoke
15m38s
Target: 10 min
Backup

Separate databases retain identity and release coupling

No: authorizer, contracts and stack remain shared.
Media authorizer still supplies the user lookupShared contracts and delivery codeOne stack and one VPC
Backup
72 / 147

The two retry APIs enter different transactions

SAD · UC-4 public entry points
Entry and IDLocal commitNext relay
Media POST /jobs/{job_id}/retryRequestKey + retry MediaOutbox; stored pinMediaRepair → commands SQS → Processing
Processing POST /jobs/{job_id}/retrymessaging.retry_job: RetryRequest + successor + result/work outboxesProcessingRepair → work/results SQS
Processing DELETE /jobs/{job_id}Guard/Job.deleted_at + Attempt cancellation + result outboxProcessing relay → Media result projection
Media DELETE /jobs/{job_id}Asset tombstone + cleanup intent + cancel command outboxMediaRepair → commands; source cleanup waits for result ACK
Media {job_id} is an Asset ID; Processing {job_id} is a Processing Job ID.
Backup

Current spend is unknown; the old model predates the split

Historical model only; current two-cluster total and October bill are unestablished.
$3–5
historical idle model
before database split
$20
monthly budget alert
not a spending cap
$0.0003
compute only / short encode
Backup

AWS API egress uses worker IPv4 and Lambda IPv6

ARCHSS · Deployment view / subnet and egress detail
Two AZ placement sets with four subnets, private IPv6 via egress-only gateway, public Fargate IPv4 via Internet Gateway, and S3 gateway endpoint on all route tables
Backup · Deployment
No inbound Lambda / Worker SG rules · separate outbound egress paths75 / 147

Each cluster has one instance; rollback restores images

Two clusters, one instance each; there is no reader failover target.
1 instance per cluster
additive-schema compatibility policy
Release restores images and aliases, never schema.
Backup
76 / 147

Media enforces account and source uniqueness

ARCHSS · Physical data view / PE · schemas
Physical data view · Media identity and assets
Backup
FlickPond · Main 76282d377 / 147

Dated security evidence has mixed outcomes

DevSecOps · Pipeline verification and evidence · 76282d3
Evidence snapshotObserved outcomeWhat it establishes
23 Oct · CI 39931072197Full CI success
ZAP: 7 routes / 16 findings, cleanup PASS
Hosted local scan executed on 76282d3
25 Oct · CI 40174362164Full CI failed
Inherited app / processing Trivy failed
ZAP and V1 images passed separately
Failure cause not diagnosed here
25 Oct · CodeQL 40189407647Python, JS/TS and Actions analyses succeededSAST executed on the same SHA
Success does not mean zero alerts
22 Oct alert-triage snapshot12 High CodeQL alerts dismissed with reasonsHistorical report evidence
Current alert counts not re-queried
FFmpeg CVE-2025-52290Accepted-unfixed rationale is recordedAccepted / unfixed findings remain distinct
V1 JSON can contain rows omitted from SARIF
Backup
Verified 26 Oct 2026 through authenticated gh · no current alert-count audit78 / 147

Queued delivery repair differs from encoder recovery

SAD · Recovery activity view
Queued delivery repair differs from encoder recovery
Backup

Full verification requires scans, tests and coverage

DevSecOps · Activity view (delivery) · 76282d3
Full verification requires scans, tests and coverage. Formal UML activity view at 76282d3.
SASTSCASecretsImagesDASTH/C = HIGH/CRITICAL

Full PR CI includes every lane. Dev gate omits inherited scans, DAST and combined coverage.

Backup

Appendix A · Deployment and runtime

Full-detail models behind the main talk. Sources: site/assets/uml/*.puml, pinned to Main 76282d3.
Appendix
81 / 147

Three image artifacts deploy eleven Lambda functions

PE · Deployment view / artifact-to-runtime mapping
All eleven Lambda function logical names grouped by MediaImageUri, ProcessingImageUri, WorkerImageUri and related finite task definitions
Backup · Deployment
Processing owns 7 functions; only 6 use ProcessingImageUri82 / 147

Four queues feed three mappings and finite workers

ARCHSS · Deployment view / trigger and message wiring
Four queues with named DLQs, three Lambda event-source mappings, Processing relays and finite Fargate workers
Backup · Deployment
Queue lanes · EventBridge rules and launcher wake are in the next backup83 / 147

Five event rules trigger repair and task launch

ARCHSS · Deployment view / event invocation mapping
Five EventBridge rules invoke live Lambda aliases: Media and Processing repair, launcher, ECS STOPPED handler and output Object Created handler
Backup · Deployment
Processing publishers also wake the launcher after standard work send84 / 147

Two SQL clusters and three buckets retain different state

ARCHSS · Deployment view / persistence and operations detail
CloudFront OAC FrontendBucket, direct browser S3 source POST and output GET, Media source verification, and two separate private Aurora clusters
Encoders GET pinned source and PUT outputs; Media verifies source and reads playlists.
Both SQL clusters use private subnets; all three buckets are private, versioned and retained.
Backup · Deployment
Configured resources and defaults; deployment, gates and alarm states are unverified85 / 147

Appendix B · Domain models (DDD)

Full-detail models behind the main talk. Sources: site/assets/uml/*.puml, pinned to Main 76282d3.
Appendix
86 / 147

Precise names separate ownership from execution

PE · Tactical DDD / as built at 76282d3
TermMeaning in this implementation
AssetAn owner’s uploaded or edit-derived video; Media’s public job ID.
JobProcessing’s execution record; at most one per Asset.
AttemptA numbered execution try; retry creates a new Attempt.
Source pinbucket + key + version_id
sha256 + size_bytes + content_type
.
Asset.source_revision: int is a different field.
LeaseAttempt token + lease expiry + deadline; checked on DB time.
ProjectionMedia’s validated local copy of Processing result snapshots.
Backup · DDD
As built · 76282d3 · Selected fields; rules live in service modules87 / 147

A reservation exists before there is an Asset

PE · Tactical DDD / as built at 76282d3
Independent Media identity and upload reservation roots
Backup · DDD
As built · 76282d3 · Selected fields; rules live in service modules88 / 147

Two models meet through a published language

PE · Strategic DDD
Readable formal context map replacing the previous backup message table
Backup · DDD
As built · 76282d3 · Boundaries are design interpretations89 / 147

Media keeps projections and cleanup in supporting ledgers

PE · Tactical DDD / as built at 76282d3
Typed Media read model, request idempotency, cleanup and orphan ledgers with multiplicities
Backup · DDD
As built · 76282d3 · Selected fields; rules live in service modules90 / 147

Cancellation guards can exist without a Job

PE · Tactical DDD / as built at 76282d3
Typed Processing cancellation guard, retry ledger, task binding and state-version records
Backup · DDD
As built · 76282d3 · Selected fields; rules live in service modules91 / 147

A Claim carries authority; cleanup keeps its own ledger

PE · Tactical DDD / as built at 76282d3
Frozen Claim execution value, real lifecycle module functions and independent cleanup ledger
Backup · DDD
As built · 76282d3 · Selected fields; rules live in service modules92 / 147

Each context owns its inbox and outbox records

PE · Tactical DDD / as built at 76282d3
Separate Media and Processing inbox/outbox classes
Backup · DDD
As built · 76282d3 · Selected fields; rules live in service modules93 / 147

Launcher capacity has its own consistency boundary

PE · Tactical DDD / as built at 76282d3
Processing LauncherControl and LaunchReservation technical model
Backup · DDD
As built · 76282d3 · Selected fields; rules live in service modules94 / 147

Envelopes carry values across the model boundary

PE · Tactical DDD / as built at 76282d3
Envelope · frozen dataclass
schema_version: int
message_id: str
kind: str
owner_id: str
asset_id: str
job_id: str | None
attempt_id: str | None
state_version: int
source: Source | None
payload: dict

UUID identities are serialized as strings.
Emits v1; currently accepts only v1.
Actor is separate API context.

Source · frozen value
bucket: str · key: str
version_id: str · sha256: str
size_bytes: int · content_type: str
Output · local value DTO / JSON
kind: primary | hls_manifest
object_key: str · media_type: str
size_bytes: NonnegativeInt | None
sha256: Digest | None

Contracts validate Envelope and Source.
Service builders define kind-specific payloads; there are no five typed payload classes.
Authority comes from transport/role controls.

Backup · DDD
As built · 76282d3 · Selected fields; rules live in service modules95 / 147

Appendix C · Detailed design

Full-detail models behind the main talk. Sources: site/assets/uml/*.puml, pinned to Main 76282d3.
Appendix
96 / 147

Command acceptance commits before work is sent

SAD · SDP · UC-1–UC-3 / phase A2
Command acceptance commits before work is sent
Backup

Media commits accepted result snapshots

SAD · SDP · UC-1–UC-3 / phase A3
Media commits accepted result snapshots
Backup

Media returns the HLS segment redirect

SAD · UC-3 object interaction
Media returns the HLS segment redirect
Backup

Expired authority produces a failed Job

SAD · UC-4 / phase B1
Expired authority produces a failed Job
Backup

Owner retry stages intent over the stored source

SAD · SDP · UC-4 / phase B2
Owner retry stages intent over the stored source
Backup

Processing commits one successor per retry identity

SAD · SDP · UC-4 successor transaction
Processing commits one successor per retry identity
Backup

A Claim carries captured execution authority

SAD · SDP · UC-2 class design
A Claim carries captured execution authority
Backup

Media owns the public result model

SAD · SDP · UC-3 class/module design
Media owns the public result model
Backup

The upload grant fixes the writable key

SAD · UC-1 reservation interaction
The upload grant fixes the writable key
Backup

Claim precedes download and source admission

SAD · SDP · UC-2 execution detail / download and probe
Claim precedes download and source admission
Backup

The primary descriptor precedes optional HLS

SAD · SDP · UC-2 execution detail / encode and PUT
Verified output descriptors precede fenced finish
Backup

Media separately fences delayed result snapshots

SAD · SDP · UC-4 projection interaction
Media separately fences delayed result snapshots
Backup

A terminal Attempt never returns to queued

SAD · UC-4 Attempt statechart
A terminal Attempt never returns to queued
Backup

Dispatch and admission use different facts

SAD · SDP · Routing policy design
Dispatch and admission use different facts
Backup

The pipeline injects storage and supervision

SAD · SDP · Adapter roles
The pipeline injects storage and supervision
Backup

Messages carry source identity and state versions

SAD · SDP · Published contract types
Messages carry source identity and state versions
Backup

Lease policy lives in functions over owned records

SAD · SDP · UC-4 module operations
Lease policy lives in functions over owned records
Backup

Claim binds one current queued Attempt

SAD · SDP · UC-2 object interaction
Claim and finish each commit under SQL authority
Backup

Uploads and edits retain different source pins

SAD · UC-1 DTO and edit pin classes
Uploads and edits retain different source pins
Backup

MediaRepair publishes committed edit intent

SAD · SDP · Edit object interaction
Edit stages a derived Asset and submit intent before later relay
Backup

Edit stages and copies before adoption

SAD · SDP · Edit object interaction
Edit stages a derived Asset and submit intent before later relay
Backup

Media signs playback from its local projection

SAD · SDP · UC-1–UC-3 / phase A3
Playback reads the accepted result projection
Backup

Submit commits state and delivery intent together

SAD · SDP · UC-2 command transaction
Edit stages a derived Asset and submit intent before later relay
Backup

The optional HLS ladder publishes its master last

SAD · SDP · UC-2 HLS interaction
Edit stages a derived Asset and submit intent before later relay
Backup

Edit adoption commits pin and submit intent together

SAD · SDP · Edit object interaction
Edit stages a derived Asset and submit intent before later relay
Backup

A live finish commits terminal state and result intent

SAD · SDP · UC-2 finish transaction
Edit stages a derived Asset and submit intent before later relay
Backup

Appendix D · Data schemas

Full-detail models behind the main talk. Sources: site/assets/uml/*.puml, pinned to Main 76282d3.
Appendix
123 / 147

Finalized uploads require a source version pin

ARCHSS · Physical data view / PE · schemas
Physical data view · Media upload pins
Backup
FlickPond · Main 76282d3124 / 147

Derived assets retain an immutable source pin

ARCHSS · Physical data view / PE · schemas
Physical data view · Media derived source pins
Backup
FlickPond · Main 76282d3125 / 147

Media versions its local result projection

ARCHSS · Physical data view / PE · schemas
Physical data view · Media result projection
Backup
FlickPond · Main 76282d3126 / 147

A composite request key makes creation replayable

ARCHSS · Physical data view / PE · schemas
Physical data view · Media request identity
Backup
FlickPond · Main 76282d3127 / 147

The legacy retry ledger remains in the schema

ARCHSS · Physical data view / PE · schemas
Physical data view · Media retained legacy retry ledger
Backup
FlickPond · Main 76282d3128 / 147

Media retains deletion progress across retries

ARCHSS · Physical data view / PE · schemas
Physical data view · Media deletion progress
Backup
FlickPond · Main 76282d3129 / 147

Media persists message identity and relay progress

ARCHSS · Physical data view / PE · schemas
Physical data view · Media durable delivery and orphan ledger
Backup
FlickPond · Main 76282d3130 / 147

Job and Attempt preserve the current execution fence

ARCHSS · Physical data view / PE · schemas
Physical data view · Processing jobs and fenced attempts
Backup
FlickPond · Main 76282d3131 / 147

Cancellation can precede a Job

ARCHSS · Physical data view / PE · schemas
Physical data view · Processing retry and cancellation
Backup
FlickPond · Main 76282d3132 / 147

Processing retains cleanup authority per attempt

ARCHSS · Physical data view / PE · schemas
Physical data view · Processing retained output cleanup
Backup
FlickPond · Main 76282d3133 / 147

Processing stages work and result envelopes durably

ARCHSS · Physical data view / PE · schemas
Physical data view · Processing durable delivery
Backup
FlickPond · Main 76282d3134 / 147

SQL records state versions and unique task names

ARCHSS · Physical data view / PE · schemas
Physical data view · Processing versions and task binding
Backup
FlickPond · Main 76282d3135 / 147

The launcher retains its gate and replay request

ARCHSS · Physical data view / PE · schemas
Physical data view · Optional unattended launcher
Backup
FlickPond · Main 76282d3136 / 147

All queue lanes use the same ten-field envelope

ARCHSS · Physical data view / PE · schemas
Envelope fieldJSON type / rule
schema_versioninteger = 1
message_idUUID string
kindsubmit | retry | cancel | work | result
owner_idUUID string
asset_idUUID string
Envelope fieldJSON type / rule
job_idUUID string | null
attempt_idUUID string | null
state_versionstrict integer ≥ 0
sourceSource object | null
payloadJSON object

All keys must exist. A nullable value is JSON null, not an omitted field. The lane does not change the schema.

Source has six fields: bucket, key, version_id, sha256, size_bytes, content_type.

Backup
FlickPond · Main 76282d3137 / 147

Five message kinds cross four physical lanes

ARCHSS · Physical data view / PE · schemas
Kind / laneProduced shape and consumer semantics
submit → processing-commandsSource required; payload {operations:[Operation]}.
Normal finalize: job_id=null, attempt_id=null, state_version=0.
retry → processing-commandsStored Source emitted; payload {}; operations stay on Job.
Consumer request identity: payload.request_id if present, else message_id.
cancel → processing-commandsSource null; payload {}; job/attempt may be null.
SubmissionGuard makes cancel-before-submit durable.
work → processing-work
or processing-work-short*
Job, Attempt and Source required; payload {operations:[Operation]}.
Worker binds envelope to stored Job before reading S3.
result → media-resultsNormal payload {status, outputs:[Output], error, attempt_number}.
Job/Attempt/Source + monotonic version identify the result.

*Optional short lane uses the same work schema. Each lane has its own DLQ; a DLQ stores the original message body.

Backup
FlickPond · Main 76282d3138 / 147

A cancellation result can acknowledge only a guard

ARCHSS · Physical data view / PE · schemas
kind: "result"
job_id: null, attempt_id: null, source: null
state_version: 0   // producer value
payload: {
  "status": "cancelled",
  "cancellation_confirmed": true,
  "command_message_id": "<UUID of cancel command>"
}

The payload has exactly these three keys. Media matches the command ID to its cancel outbox row before source cleanup.

Backup
FlickPond · Main 76282d3139 / 147

JSONB embeds source and output descriptors

ARCHSS · Physical data view / PE · schemas
ValueStored shapeRules
Source{bucket, key, version_id,
sha256, size_bytes, content_type}
Nonempty strings; real VersionId; lowercase 64-hex hash.
Strict integer size: 1…104,857,600 bytes.
Output{kind, object_key, media_type,
size_bytes, sha256}
kind: primary | hls_manifest.
DTO permits null size/hash; Processing finish requires
positive size/hash, unique kinds and exactly one primary.
Launch payload{…RunTask request…}Operational replay JSON, with stable ECS identity
and finite worker overrides; not a video document.
Outbox bodyEnvelope canonical JSONCanonical ordering → body_hash.
Inbox keeps message identity + hash, not full body.

Source VersionId is explicit. Output descriptors use an attempt UUID prefix and do not carry an output VersionId.

Backup
FlickPond · Main 76282d3140 / 147

Operations have types and source-aware checks

ARCHSS · Physical data view / PE · schemas
Operationparams shapeValidation
clip{start:number, end:number}Finite numbers; start ≥ 0; end > start.
crop{x:int, y:int, w:int, h:int}Strict integers; x,y ≥ 0; w,h ≥ 1.
downscale / upscale{height:int}Strict positive integer.
convert{format:"mkv" | "mp3"}Enumerated target format.

operations: [{operation, params}, …] — at most five; no repeated operation; no simultaneous upscale and downscale.

The worker probes the accepted source and validates bounds before FFmpeg. Browser metadata is not the authority.

Backup
FlickPond · Main 76282d3141 / 147

Operational stores have limited responsibilities

ARCHSS · Physical data view / PE · schemas
Store / ownerSchema / keyConsistency / retention
Frontend S3 / platformindex.html; stem.<hash10>.js/css;
vendor/…
Versioned, private; index uploaded last.
Cache policy differs from object retention.
SSM activity hints / service/dc2/{env}/activity/{media|processing}/
{touched|quiet}
String epoch; quiet = "checked_epoch due_epoch".
Missing/malformed hints cause full SQL pass.
SSM configuration / serviceOwner-specific runtime/migration DSNs;
Media JWT secret
Secret configuration, not user/domain records.
Values omitted; no general TTL declared.
Backup
FlickPond · Main 76282d3142 / 147

Diagnostics and journals do not own domain state

ARCHSS · Physical data view / PE · schemas
Store / ownerSchema / keyConsistency / retention
Secrets Manager / platformAurora-managed master passwordBootstrap credential, not an account store.
Managed secret lifecycle.
CloudWatch Logs / serviceFunction/task log eventsDiagnostics only; template retention 7 days.
Local JSON journals / operatorDeployment/session/release stateOutside product request path;
operator files, no central expiry declared.
Backup
FlickPond · Main 76282d3143 / 147

PostgreSQL preserves the implemented write guarantees

ARCHSS · Data-store decision / PE · transaction boundaries
Access patternCurrent SQL guaranteeMongoDB / DynamoDB redesign
Own Asset + result by ID / owner listLocal Asset/projection join; version checksStrong document/item fit; retain owner/deletion
filtering, paging and conditional updates.
Message-driven state transitionOne transaction: inbox + state + outboxMongo multi-document transaction or bounded embedded
events; DynamoDB item transaction or CDC/outbox.
Retry / execution claimsUnique email / asset / task identities; Job lock;
token + deadline fences checked with DB time
Preserve uniqueness reservations, current Attempt,
conditional claims and an explicit clock policy.
Due work / cleanup / capacityDue-time indexes; locked claims; singleton gateDesign due-time partitions/indexes and capacity gate;
account for retries, conflicts and reconciliation.

Decision: retain PostgreSQL authority; keep nested metadata in JSONB and media bytes in S3.

Revisit: measure read latency, volume and idle cost; trial an owner/asset read projection with reconciliation and deletion defined.

Backup
FlickPond · Main 76282d3Return to stores144 / 147

Appendix E · DevSecOps

Full-detail models behind the main talk. Sources: site/assets/uml/*.puml, pinned to Main 76282d3.
Appendix
145 / 147

Preparation and release scans retain different evidence

DevSecOps · Pipeline verification and evidence · 76282d3
Engine / scopeWhen / blocks?Result locationRun evidence
Trivy: selected-owner preparation
Image scan
Manual aws-prep dispatch
Fixable HIGH/CRITICAL blocks
Sanitized selected JSON, image and provenance
No SARIF upload in this workflow
Configuration verified at 76282d3
No preparation run inspected
Trivy + ECR: CD release
Image / registry scan
Deploy or release
Trivy baseline exception
ECR: no unaccepted H/C
CD summaries, redacted receipts and artifacts
No CD SARIF stage
Configuration verified at 76282d3
CI / CodeQL run IDs are not CD scan proof
SonarCloud
SAST workflow configuration only
Conditional dev / full analysis
Advisory, not in Full verification needs
Configuration artifact
Dashboard only if analysis submitted
25 Oct · both analyses skipped

No Semgrep, standalone Bandit or pip-audit invocation was found in the six workflow files and inspected scan entry points.

Backup

CD verifies images and records failed promotions

DevSecOps · Activity view (delivery) · 76282d3
CD verifies images and records failed promotions. Formal UML activity view at 76282d3.

Automatic CD needs its triggering Main push. Manual deploy/release can use an exact-source full CI dispatch.

Backup