@smart-cloud/publisher-exporter 1.1.66 → 1.1.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -213,11 +213,31 @@ DynamoDB heartbeats while a synchronous Lambda invocation is running and
213
213
  forwards them to the existing runtime progress snapshot. Workers write those
214
214
  rows directly with conditionally increasing sequence numbers.
215
215
 
216
- Rewrite requests carry the original object MIME type, and workers preserve it
217
- when writing transformed HTML, CSS, JavaScript, or other text back to S3. After
216
+ Workers prefer the origin response `Content-Type`, fall back to the resource
217
+ extension only when the header is absent or invalid, and preserve that value
218
+ when writing transformed HTML, CSS, JavaScript, or other text back to S3. The
219
+ deploy worker includes `Content-Type` in its unchanged-object decision. After
218
220
  upgrading from an earlier delegated rewrite implementation, republish affected
219
221
  targets to replace already incorrect object metadata.
220
222
 
223
+ Render workers terminate orphaned Playwright Chromium processes and remove
224
+ stale `playwright_chromiumdev_profile-*` directories before launching Chromium
225
+ and after closing it. If Chromium disconnects during
226
+ a page render, the worker starts a clean browser and retries that URL once.
227
+ Structured `Remote worker checkpoint.` records include the request, job, task,
228
+ page, attempt, remaining Lambda time, process memory, `/tmp` and `/dev/shm`
229
+ space, and the visible Playwright profile count. Lambda `Runtime.ExitError`
230
+ events are emitted by the platform after the runtime has already stopped, so
231
+ the last checkpoint before the matching `REPORT` line identifies where the
232
+ runtime disappeared. This CloudWatch Logs Insights query keeps both records in
233
+ one timeline:
234
+
235
+ ```text
236
+ fields @timestamp, @requestId, @message
237
+ | filter @message like /Remote worker checkpoint|Remote worker runtime diagnostic|Runtime.ExitError/
238
+ | sort @timestamp asc
239
+ ```
240
+
221
241
  The saved runtime configuration remains compatible with older exporters:
222
242
 
223
243
  ```json