๐ Deployment Comparison
Compare Lambda versions, review change diffs, and assess deployment risk ยท us-east-1
Current Prod Version
v39
prod alias
Total Versions
39+
Deployed to date
Last Deploy
2026-03-21
05:40 UTC
Rollback Target
v38
Previous known-good
๐ Version Diff
FROM VERSION
TO VERSION
+ // DG-033: /beak/pageview analytics endpoint
+ exports.handler = async (event) => {
+ const { page, referrer } = JSON.parse(event.body || '{}');
+ await dynamodb.put({ TableName: AUDIT_LOG_TABLE,
+ Item: { pk: 'pageview#'+Date.now(), page, referrer, ts: new Date().toISOString() }
+ }).promise();
+ return { statusCode: 200, body: JSON.stringify({ ok: true }) };
+ };
const certHandler = require('./cert');
const beakHandler = require('./beak');
+const pageviewHandler = require('./pageview');
router.post('/beak/pageview', pageviewHandler);
// No other changes in v39
๐ Deploy History
v39
DG-033: /beak/pageview route added
Analytics endpoint for page view tracking ยท EventBridge push
2026-03-21 05:40 UTC
LOW RISK
v38
DC-038: lambda_alias_version in status response
Enables alias drift detection in Mission Control
2026-03-21 05:33 UTC
LOW RISK
v37
SD-034/035/038 prior batch merged
AgentMail cert email + multi-fix batch
2026-03-21 05:31 UTC
MED RISK
v36
SD-034: AgentMail cert email wired
/beak/cert/issue now sends transactional email via AgentMail
2026-03-21 05:24 UTC
MED RISK
v35
Birth cert metadata enrichment
Captures ip_address, user_agent, country at issuance time
2026-03-21 05:18 UTC
LOW RISK
๐ก๏ธ Risk Assessment
v39 Risk Factors
โ
No schema changes โ backward compatible
โ
Additive route only โ no existing routes modified
โ
Same memory / timeout configuration
โ
No new external dependencies
โ
Rollback: aws lambda update-alias --name prod --function-version v38
Rollback Command
aws lambda update-alias \
--function-name spaceduckling-api \
--name prod \
--function-version 38 \
--region us-east-1