Skip to content

Sync #108 with main (brings in #117) - #122

Merged
Zacharon merged 26 commits into
dependabot/npm_and_yarn/electric-sql-eecdcba6a9from
sync/electric-sql-group-main-20261117
Nov 17, 2026
Merged

Zacharon merged 26 commits into
dependabot/npm_and_yarn/electric-sql-eecdcba6a9from
sync/electric-sql-group-main-20261117

Conversation

@Zacharon

Copy link
Copy Markdown
Owner

Brings current main (cee2cb9, which includes #117's forge-staging move to Node 22) into the #108 Dependabot branch. @dependabot rebase was requested but produced no push; a rebase needs a force-push, which the all-branch ruleset blocks (non_fast_forward). No conflicts. Net diff vs main is only Dependabot's package.json/package-lock.json bump.

Local, merged tree + pglite 0.5.16 / pglite-postgis 0.2.16: tests/usgs-ingestion-tests.mjs and tests/usgs-recovery-tests.mjs pass on Node 22.18.0 and crash on Node 20.20.2, which matches #117's diagnosis.

🤖 Generated with Claude Code

Zacharon and others added 26 commits October 18, 2026 12:32
Replace the hand-synced copy with `@AGENTS.md` so the two files
cannot drift; AGENTS.md is the single source.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.39.1 to 4.39.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v4.39.1...v4.39.3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.39.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Selecting a USGS report should keep the same evidence through detail,
timeline/replay and export. The composed flow now shares response-clock
scores and an evidence projection, closes the saved Filters state when
opening detail, and restores the globe return target after a
programmatic flight.

Validation on local offline fixtures:
- 21 headless Edge checks: keyboard select/Back, timeline, time windows,
real JSON/Markdown downloads, 390px/320px layouts, native Tab traversal,
actual Cesium Back/refresh/resize, zero exceptions and zero upstream
reads.
- `npm run check:syntax`; `npm run validate -- --offline` (10 checks,
zero failures; source URL reachability skipped).
- Offline platform, USGS spine/export, aviation (57 negative imports),
selection, semantic globe, provider-deadline and audit-repair
regressions passed.
- Review-map size and four WHY links passed. Current main is merged;
RSS/security and aviation modules retain main's behavior. No raw
evidence, caches, browser profiles or local logs are committed.

This is a draft for independent review. Browser evidence is synthetic
and local; dated cache replay is not live coverage. Owner visual
acceptance, independent H3, hosted/live verification, source activation
and deployment remain open. No merge or deployment requested.

The generated globe page was regenerated locally to resolve a Windows
line-ending check; it contributes no Git content change. The inherited
instructions-only commit also contributes no final diff against main.

# Review map: `work/skills-usgs-compose-20261113` → `origin/main`

> Generated by `pr_map.py` for `72d42ba2..f842264` (merge base → head).
Areas, dependencies and risk flags are guesses from paths, imports and
keywords. Use them to decide where to look, not as proof that something
is safe.

## What this change is for

Make USGS selection, replay and export preserve the same evidence and
response-time scores. Fix mobile drawer recovery and globe Back camera
continuity while preserving current source protections and aviation
behavior.

## At a glance

| Files | Lines changed | Lines to review | Generated or lock-file lines
| Areas | Risk-flagged files | Parts |
|---:|---:|---:|---:|---:|---:|---:|
| 19 | +443 / −16 | 459 | 0 | 9 | 1 | 1 |

## Start here

Read these first. They carry risk or many other changed files depend on
them.

1.
[`src/intelligence/event-evidence.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/intelligence/event-evidence.js)
— auth, used by 3 changed files
2.
[`src/events/event-quality.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/events/event-quality.js)
— used by 7 changed files
3.
[`src/artifacts/event-artifacts.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/artifacts/event-artifacts.js)
— used by 5 changed files
4.
[`docs/USGS_SPINE_CONTRACT.md`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/docs/USGS_SPINE_CONTRACT.md)
— used by 4 changed files
5.
[`src/events/event-normalizer.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/events/event-normalizer.js)
— used by 4 changed files
6.
[`src/ui/osint-dashboard-v2/artifact-export.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/ui/osint-dashboard-v2/artifact-export.js)
— used by 3 changed files
7.
[`src/data/local-public-preview.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/data/local-public-preview.js)
— used by 3 changed files

## Dependency graph

A solid arrow points from a file to a changed file it imports or
explains itself with (`WHY:`); a dotted arrow is a Markdown link. Red
boxes carry a risk flag.

```mermaid
flowchart LR
  subgraph g0["docs"]
    n0["LAST_30_DAYS.md<br/>+9/−0"]
    n1["NEXT_TASK_QUEUE.md<br/>+9/−0"]
    n2["USGS_SPINE_CONTRACT.md<br/>+89/−0"]
  end
  subgraph g1["scripts"]
    n3["preview-usgs-milestone.mjs<br/>+32/−0"]
    n4["runtime-usgs-flow.mjs<br/>+54/−0"]
  end
  subgraph g2["src"]
    n5["app-controller.js<br/>+10/−3"]
  end
  subgraph g3["src/artifacts"]
    n6["event-artifacts.js<br/>+2/−0"]
    n17["usgs-composition-tests.mjs<br/>+31/−0"]
    n18["usgs-spine-tests.mjs<br/>+82/−0"]
  end
  subgraph g4["src/data"]
    n7["local-public-preview.js<br/>+2/−1"]
    n8["orchestrator.js<br/>+9/−2"]
  end
  subgraph g5["src/events"]
    n9["event-normalizer.js<br/>+2/−2"]
    n10["event-quality.js<br/>+15/−0"]
  end
  subgraph g6["src/intelligence"]
    n11["event-evidence.js<br/>+56/−0"]
  end
  subgraph g7["src/map"]
    n12["cesium-adapter.js<br/>+24/−4"]
  end
  subgraph g8["src/ui"]
    n13["artifact-export.js<br/>+9/−1"]
    n14["event-artifact-card.js<br/>+1/−0"]
    n15["event-detail-drawer.js<br/>+5/−2"]
    n16["shell.js<br/>+2/−1"]
  end
  n0 -.-> n2
  n1 -.-> n2
  n3 --> n7
  n5 --> n2
  n5 --> n6
  n5 --> n9
  n5 --> n10
  n5 --> n13
  n5 --> n16
  n6 --> n11
  n7 --> n10
  n8 --> n10
  n9 --> n10
  n10 --> n2
  n11 --> n2
  n11 --> n10
  n12 --> n2
  n13 --> n6
  n13 --> n10
  n14 --> n6
  n14 --> n9
  n15 --> n9
  n15 --> n11
  n15 --> n14
  n16 --> n15
  n17 --> n6
  n17 --> n7
  n17 --> n13
  n18 --> n6
  n18 --> n7
  n18 --> n9
  n18 --> n10
  n18 --> n11
  n18 --> n13
  n18 --> n15
  classDef risk fill:#fde2e1,stroke:#c0392b,color:#111
  class n11 risk
```

Some changed files import each other in a loop, so the order below
breaks the loop arbitrarily.

## Areas

### docs

_3 files · +107/−0_

| File | Change | +/− | Depends on | Used by | Notes |
|---|---|---:|---|---|---|
|
[`docs/LAST_30_DAYS.md`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/docs/LAST_30_DAYS.md)
| modified | +9/−0 | `USGS_SPINE_CONTRACT.md` (link) | — | — |
|
[`docs/NEXT_TASK_QUEUE.md`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/docs/NEXT_TASK_QUEUE.md)
| modified | +9/−0 | `USGS_SPINE_CONTRACT.md` (link) | — | — |
|
[`docs/USGS_SPINE_CONTRACT.md`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/docs/USGS_SPINE_CONTRACT.md)
| added | +89/−0 | — | `app-controller.js`, `event-quality.js`,
`event-evidence.js`, `cesium-adapter.js` | — |

### scripts

_2 files · +86/−0_

| File | Change | +/− | Depends on | Used by | Notes |
|---|---|---:|---|---|---|
|
[`scripts/preview-usgs-milestone.mjs`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/scripts/preview-usgs-milestone.mjs)
| added | +32/−0 | `local-public-preview.js` | — | — |
|
[`scripts/runtime-usgs-flow.mjs`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/scripts/runtime-usgs-flow.mjs)
| added | +54/−0 | — | — | — |

### src

_1 files · +10/−3_

| File | Change | +/− | Depends on | Used by | Notes |
|---|---|---:|---|---|---|
|
[`src/app-controller.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/app-controller.js)
| modified | +10/−3 | `USGS_SPINE_CONTRACT.md`, `event-artifacts.js`,
`event-normalizer.js`, `event-quality.js`, `artifact-export.js`,
`shell.js` | — | why (line 1072):
[`docs/USGS_SPINE_CONTRACT.md#drawer-recovery`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/docs/USGS_SPINE_CONTRACT.md#drawer-recovery)
|

### src/artifacts

_3 files · +115/−0_

| File | Change | +/− | Depends on | Used by | Notes |
|---|---|---:|---|---|---|
|
[`src/artifacts/event-artifacts.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/artifacts/event-artifacts.js)
| modified | +2/−0 | `event-evidence.js` | `app-controller.js`,
`artifact-export.js`, `event-artifact-card.js`,
`usgs-composition-tests.mjs`, `usgs-spine-tests.mjs` | — |
|
[`tests/usgs-composition-tests.mjs`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/tests/usgs-composition-tests.mjs)
| added | +31/−0 | `event-artifacts.js`, `local-public-preview.js`,
`artifact-export.js` | — | — |
|
[`tests/usgs-spine-tests.mjs`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/tests/usgs-spine-tests.mjs)
| added | +82/−0 | `event-artifacts.js`, `local-public-preview.js`,
`event-normalizer.js`, `event-quality.js`, `event-evidence.js`,
`artifact-export.js`, `event-detail-drawer.js` | — | — |

### src/data

_2 files · +11/−3_

| File | Change | +/− | Depends on | Used by | Notes |
|---|---|---:|---|---|---|
|
[`src/data/local-public-preview.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/data/local-public-preview.js)
| modified | +2/−1 | `event-quality.js` | `preview-usgs-milestone.mjs`,
`usgs-composition-tests.mjs`, `usgs-spine-tests.mjs` | — |
|
[`src/data/providers/orchestrator.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/data/providers/orchestrator.js)
| modified | +9/−2 | `event-quality.js` | — | — |

### src/events

_2 files · +17/−2_

| File | Change | +/− | Depends on | Used by | Notes |
|---|---|---:|---|---|---|
|
[`src/events/event-normalizer.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/events/event-normalizer.js)
| modified | +2/−2 | `event-quality.js` | `app-controller.js`,
`event-artifact-card.js`, `event-detail-drawer.js`,
`usgs-spine-tests.mjs` | — |
|
[`src/events/event-quality.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/events/event-quality.js)
| modified | +15/−0 | `USGS_SPINE_CONTRACT.md` | `app-controller.js`,
`local-public-preview.js`, `orchestrator.js`, `event-normalizer.js`,
`event-evidence.js`, `artifact-export.js`, `usgs-spine-tests.mjs` | why
(line 63):
[`docs/USGS_SPINE_CONTRACT.md#response-clock`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/docs/USGS_SPINE_CONTRACT.md#response-clock)
|

### src/intelligence

_1 files · +56/−0_

| File | Change | +/− | Depends on | Used by | Notes |
|---|---|---:|---|---|---|
|
[`src/intelligence/event-evidence.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/intelligence/event-evidence.js)
| added | +56/−0 | `USGS_SPINE_CONTRACT.md`, `event-quality.js` |
`event-artifacts.js`, `event-detail-drawer.js`, `usgs-spine-tests.mjs` |
auth (content: password); why (line 24):
[`docs/USGS_SPINE_CONTRACT.md#evidence-boundary`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/docs/USGS_SPINE_CONTRACT.md#evidence-boundary)
|

### src/map

_1 files · +24/−4_

| File | Change | +/− | Depends on | Used by | Notes |
|---|---|---:|---|---|---|
|
[`src/map/cesium-adapter.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/map/cesium-adapter.js)
| modified | +24/−4 | `USGS_SPINE_CONTRACT.md` | — | why (line 381):
[`docs/USGS_SPINE_CONTRACT.md#camera-continuity`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/docs/USGS_SPINE_CONTRACT.md#camera-continuity)
|

### src/ui

_4 files · +17/−4_

| File | Change | +/− | Depends on | Used by | Notes |
|---|---|---:|---|---|---|
|
[`src/ui/osint-dashboard-v2/artifact-export.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/ui/osint-dashboard-v2/artifact-export.js)
| modified | +9/−1 | `event-artifacts.js`, `event-quality.js` |
`app-controller.js`, `usgs-composition-tests.mjs`,
`usgs-spine-tests.mjs` | — |
|
[`src/ui/osint-dashboard-v2/event-artifact-card.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/ui/osint-dashboard-v2/event-artifact-card.js)
| modified | +1/−0 | `event-artifacts.js`, `event-normalizer.js` |
`event-detail-drawer.js` | — |
|
[`src/ui/osint-dashboard-v2/event-detail-drawer.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/ui/osint-dashboard-v2/event-detail-drawer.js)
| modified | +5/−2 | `event-normalizer.js`, `event-evidence.js`,
`event-artifact-card.js` | `shell.js`, `usgs-spine-tests.mjs` | — |
|
[`src/ui/osint-dashboard-v2/shell.js`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/ui/osint-dashboard-v2/shell.js)
| modified | +2/−1 | `event-detail-drawer.js` | `app-controller.js` | —
|

## Explanations linked from code

4 `WHY:` link(s) in changed code; 0 broken.

-
[`src/app-controller.js:1072`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/app-controller.js)
→
[`docs/USGS_SPINE_CONTRACT.md#drawer-recovery`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/docs/USGS_SPINE_CONTRACT.md#drawer-recovery)
-
[`src/events/event-quality.js:63`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/events/event-quality.js)
→
[`docs/USGS_SPINE_CONTRACT.md#response-clock`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/docs/USGS_SPINE_CONTRACT.md#response-clock)
-
[`src/intelligence/event-evidence.js:24`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/intelligence/event-evidence.js)
→
[`docs/USGS_SPINE_CONTRACT.md#evidence-boundary`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/docs/USGS_SPINE_CONTRACT.md#evidence-boundary)
-
[`src/map/cesium-adapter.js:381`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/src/map/cesium-adapter.js)
→
[`docs/USGS_SPINE_CONTRACT.md#camera-continuity`](https://github.com/Zacharon/live-map/blob/f842264c639910b6d9e5d18aa0f6c5ea4155b970/docs/USGS_SPINE_CONTRACT.md#camera-continuity)

## Reviewer checklist

- [ ] The change does what the intent above says, and nothing it says it
leaves alone was touched.
- [ ] Every risk-flagged file was read line by line:
`src/intelligence/event-evidence.js`
- [ ] Each `WHY:` link opens and still matches the code beside it.
- [ ] Generated and lock-file changes match their manifest changes.
- [ ] Tests cover the behavior change, not just the lines.


Created with GPT-6.1 Sol in T3 Code (Codex harness).

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…a v2) and hosted acceptance probe notes

Extends the frozen multi-site incident evaluation with Reuters-attributed
grid-region reports and focused query/negative tests, and records the
2026-10-19 PARTIAL hosted acceptance probe.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…urce URLs

The refresh button now reports the actual outcome (refreshed, partial,
no provider data, public snapshots, failed) instead of always saying
'Refreshed'; Watch reset also clears the verification filter; NWS alert
links go through safeSourceUrl. Adds audit-repair regressions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
setGlobeMode reused webglAvailable() on every render, creating and
releasing a temporary GPU context each time. A live viewer already proves
capability; context loss and forced-failure flags still take precedence
and teardown re-probes. Adds a local measurement script and record.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action)
from 4.39.1 to 4.39.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/github/codeql-action/releases">github/codeql-action's
releases</a>.</em></p>
<blockquote>
<h2>v4.39.3</h2>
<ul>
<li>Fixed diff-informed alert filtering incorrectly removing alerts in
changed files whose paths contain spaces, special characters, or
non-ASCII characters. <a
href="https://redirect.github.com/github/codeql-action/pull/4283">#4283</a></li>
</ul>
<h2>v4.39.2</h2>
<ul>
<li>Update default CodeQL bundle version to <a
href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.27.4">2.27.4</a>.
<a
href="https://redirect.github.com/github/codeql-action/pull/4284">#4284</a></li>
<li><em>Upcoming breaking change</em>: CodeQL version 2.22.3 and earlier
were discontinued on 16 October 2026 alongside GitHub Enterprise Server
3.18, and will be unsupported by the next minor release of the CodeQL
Action. Added a deprecation warning for customers using these versions
of CodeQL. <a
href="https://redirect.github.com/github/codeql-action/pull/4266">#4266</a></li>
<li>Starting with macOS 27 and Xcode 27, traced analyses are
unsupported. See <a
href="https://github.blog/changelog/2026-10-19-codeql-changes-for-macos-27-xcode-27-and-swift-6-4/">this
blog post for more information</a>. The CodeQL Action will now try to
identify if a workflow is about to perform a traced analysis on version
27 or above of macOS or Xcode. If so, the CodeQL Action will emit a
corresponding warning that will also be visible on the <a
href="https://docs.github.com/en/code-security/how-tos/find-and-fix-code-vulnerabilities/manage-your-configuration/use-the-tools-status-page-for-code-scanning">Tool
Status Page</a>. This check will be rolled out following this release of
the CodeQL Action. <a
href="https://redirect.github.com/github/codeql-action/pull/4221">#4221</a></li>
<li>The undocumented TRAP cache cleanup feature that could be enabled
using the <code>CODEQL_ACTION_CLEANUP_TRAP_CACHES</code> environment
variable has been removed, as announced in the release notes for CodeQL
Action 4.35.2. The <code>analyze</code> Action now warns if this
environment variable is set. If you used TRAP cache cleanup to limit
Actions cache usage, we recommend disabling TRAP caching by passing the
<code>trap-caching: false</code> input to the <code>init</code> Action.
<a
href="https://redirect.github.com/github/codeql-action/pull/4243">#4243</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/github/codeql-action/blob/main/CHANGELOG.md">github/codeql-action's
changelog</a>.</em></p>
<blockquote>
<h2>4.39.3 - 04 Nov 2026</h2>
<ul>
<li>Fixed diff-informed alert filtering incorrectly removing alerts in
changed files whose paths contain spaces, special characters, or
non-ASCII characters. <a
href="https://redirect.github.com/github/codeql-action/pull/4283">#4283</a></li>
</ul>
<h2>4.39.2 - 03 Nov 2026</h2>
<ul>
<li>Update default CodeQL bundle version to <a
href="https://github.com/github/codeql-action/releases/tag/codeql-bundle-v2.27.4">2.27.4</a>.
<a
href="https://redirect.github.com/github/codeql-action/pull/4284">#4284</a></li>
<li><em>Upcoming breaking change</em>: CodeQL version 2.22.3 and earlier
were discontinued on 16 October 2026 alongside GitHub Enterprise Server
3.18, and will be unsupported by the next minor release of the CodeQL
Action. Added a deprecation warning for customers using these versions
of CodeQL. <a
href="https://redirect.github.com/github/codeql-action/pull/4266">#4266</a></li>
<li>Starting with macOS 27 and Xcode 27, traced analyses are
unsupported. See <a
href="https://github.blog/changelog/2026-10-19-codeql-changes-for-macos-27-xcode-27-and-swift-6-4/">this
blog post for more information</a>. The CodeQL Action will now try to
identify if a workflow is about to perform a traced analysis on version
27 or above of macOS or Xcode. If so, the CodeQL Action will emit a
corresponding warning that will also be visible on the <a
href="https://docs.github.com/en/code-security/how-tos/find-and-fix-code-vulnerabilities/manage-your-configuration/use-the-tools-status-page-for-code-scanning">Tool
Status Page</a>. This check will be rolled out following this release of
the CodeQL Action. <a
href="https://redirect.github.com/github/codeql-action/pull/4221">#4221</a></li>
<li>The undocumented TRAP cache cleanup feature that could be enabled
using the <code>CODEQL_ACTION_CLEANUP_TRAP_CACHES</code> environment
variable has been removed, as announced in the release notes for CodeQL
Action 4.35.2. The <code>analyze</code> Action now warns if this
environment variable is set. If you used TRAP cache cleanup to limit
Actions cache usage, we recommend disabling TRAP caching by passing the
<code>trap-caching: false</code> input to the <code>init</code> Action.
<a
href="https://redirect.github.com/github/codeql-action/pull/4243">#4243</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/github/codeql-action/commit/33d7b85da1a04171e211befe2c739303b9a4c066"><code>33d7b85</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/4299">#4299</a>
from github/update-v4.39.3-064910ba2</li>
<li><a
href="https://github.com/github/codeql-action/commit/24393f8692ae5a8fb94c4f5829ffa08cea01bd1b"><code>24393f8</code></a>
Update changelog for v4.39.3</li>
<li><a
href="https://github.com/github/codeql-action/commit/064910ba27454a2e49b06301d31c8bdb6260942f"><code>064910b</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/4297">#4297</a>
from github/mbg/update-glob</li>
<li><a
href="https://github.com/github/codeql-action/commit/f532ac59513f8fec856dc3741f181dfde834861b"><code>f532ac5</code></a>
Update <code>glob</code> to <code>14.0.3</code></li>
<li><a
href="https://github.com/github/codeql-action/commit/8cd4dfa419b17fd3b276bcb3b5c8748f295b8282"><code>8cd4dfa</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/4280">#4280</a>
from github/mbg/ci/validate-yaml</li>
<li><a
href="https://github.com/github/codeql-action/commit/cea289b43230a13cdddc3fc4cfd8e356d5d768cd"><code>cea289b</code></a>
Return different exit code when a language is not recognised</li>
<li><a
href="https://github.com/github/codeql-action/commit/7287bb3627bde2ffd3789afa43a43a0511810b81"><code>7287bb3</code></a>
Remove <code>exclude</code> entry that's no longer needed</li>
<li><a
href="https://github.com/github/codeql-action/commit/8eb7cdf7ab805363e62b913faddb8a2784cc67a1"><code>8eb7cdf</code></a>
Use normal <code>.editorconfig</code> pattern</li>
<li><a
href="https://github.com/github/codeql-action/commit/160e5474d2e750e875371c96fdc89d206270114a"><code>160e547</code></a>
Merge remote-tracking branch 'origin/main' into
mbg/ci/validate-yaml</li>
<li><a
href="https://github.com/github/codeql-action/commit/913e1bb775545322a3613f16c3483c0ac3050da5"><code>913e1bb</code></a>
Merge pull request <a
href="https://redirect.github.com/github/codeql-action/issues/4283">#4283</a>
from github/sam-robson/decode-diff-informed-sarif-uris</li>
<li>Additional commits viewable in <a
href="https://github.com/github/codeql-action/compare/v4.39.1...v4.39.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github/codeql-action&package-manager=github_actions&previous-version=4.39.1&new-version=4.39.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
Dependabot #108 (pglite 0.5.16, pglite-postgis 0.2.16) fails forge-staging:
CREATE EXTENSION postgis cannot load postgis-3.so on Node 20 ("null
function or function signature mismatch"). Reproduced locally with main's
migrations only: fails on Node 20.20.2, loads on Node 22.18.0 and 24.16.0;
0.5.13 loads on Node 20. PGlite is a test-only devDependency, so only this
job moves to Node 22. The tests themselves are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Resolve docs/LAST_30_DAYS.md by keeping main's file and inserting this
branch's 2026-10-30 entry in date order.
Brings current `main` (1b9fb5c) into the #111 branch, through a PR
because the repository ruleset requires PRs on all branches.

The only conflict was in `docs/LAST_30_DAYS.md`. I kept main's file
verbatim and inserted this branch's 2026-10-30 entry in date order. The
branch's stale `Last updated: 2026-10-17` line was dropped; main's `Last
updated` line stays.

Local checks on the merged tree: `npm run check:syntax` pass; `node
tests/run-tests.mjs` all passed (127 ok, LF export); `node --test
tests/audit-repair-tests.mjs` 51/51; validator --offline 10/10; `node
--check scripts/measure-globe-local.mjs` pass.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
`setGlobeMode` called `webglAvailable()` on every render, and each call
creates and releases a temporary GPU context. In a local synthetic run,
20 chokepoint toggles made 22 to 24 extra getContext calls. When a
viewer is already live, this change reuses `globeHandle.ok`. Context
loss and the forced-failure flag still take precedence, and teardown
triggers a new probe.

- 3-line code change in `src/map/globe-controller.js`, plus
`scripts/measure-globe-local.mjs` and
`docs/GLOBE_PERFORMANCE_LOCAL_2026-10-30.md`.
- The record does not claim an overall latency gain. Repeat elapsed
times varied.
- Checked locally on 2026-11-17: `node --check` on both files. The
record lists syntax, offline validator and globe tests passing on
2026-10-30.

Shared commit: `390b9a6` (CLAUDE.md imports AGENTS.md) is also PR #109;
merging that first shrinks this diff.

**Draft because it doesn't merge cleanly yet:** the branch was cut from
`390b9a6`, 40 commits behind current `main`. Main needs merging in
before review. Conflict is limited to `docs/LAST_30_DAYS.md`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Conflicts resolved keeping both sides:
- event-detail-drawer.js: main's evidence-record section and import, plus
  this branch's safeSourceUrl import and retrieval-time line.
- tests/audit-repair-tests.mjs: this branch's refresh tests, then main's
  source-URL retry tests.
- docs/LAST_30_DAYS.md, docs/NEXT_TASK_QUEUE.md: main's files verbatim with
  this branch's 2026-10-31 entries inserted in date order.
Brings current `main` (72a80f2) into the #112 branch, through a PR
because the repository ruleset requires PRs on all branches.

Conflicts resolved keeping both sides:
- `src/ui/osint-dashboard-v2/event-detail-drawer.js`: main's
`projectUsgsEvidence` import and Evidence record section, plus this
branch's `safeSourceUrl` import and the Retrieved line with its note.
- `tests/audit-repair-tests.mjs`: both sides appended tests at the end.
This branch's refresh/NWS/clock tests come first, then main's source-URL
retry tests.
- `docs/LAST_30_DAYS.md`, `docs/NEXT_TASK_QUEUE.md`: main's files
verbatim with this branch's 2026-10-31 entries in date order.

Local checks on the merged tree: check:syntax pass; `node --test
tests/audit-repair-tests.mjs` 67/67; `node tests/run-tests.mjs` all
passed (127 ok, LF export); `node tests/cluster-drawer-regression.mjs`
pass; validator --offline 10/10.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Manual refresh used to say "Refreshed" whatever the outcome. Now:

- The button reports the real result: reports refreshed, partial data,
no provider data, saved public reads, public snapshots, or refresh
failed. Generation guards stop an old timer from overwriting feedback
for a newer request.
- Clear report filters also resets the verification filter.
- NWS alert links go through `safeSourceUrl` and keep the alert's own
web/GeoJSON identity, never the collection URL.
- Regressions are added to `tests/audit-repair-tests.mjs`.

Checked locally on 2026-11-17: `node --test
tests/audit-repair-tests.mjs`: 65 pass, 0 fail.

Shared commit: `390b9a6` (CLAUDE.md imports AGENTS.md) is also PR #109;
merging that first shrinks this diff.

**Draft because it doesn't merge cleanly yet:** the branch was cut from
`390b9a6`, 40 commits behind current `main`. Main needs merging in
before review. Conflicts include code:
`src/ui/osint-dashboard-v2/event-detail-drawer.js` and
`tests/audit-repair-tests.mjs`, plus the two docs logs. Browser and
keyboard acceptance haven't been run.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Resolve docs/LAST_30_DAYS.md by keeping main's file and inserting this
branch's 2026-10-21, 2026-10-19 and 2026-10-18 entries in date order (main's
newer 'Last updated' line kept). Resolve docs/NEXT_TASK_QUEUE.md by adding
this branch's three dated Context Updates bullets above main's 2026-09-13 one.
Brings current `main` (ed88dc2) into the #113 branch, through a PR
because the repository ruleset requires PRs on all branches.

- `docs/LAST_30_DAYS.md`: main's file verbatim, with this branch's
2026-10-21, 2026-10-19 and 2026-10-18 entries inserted in date order.
Main's newer `Last updated` line is kept over the branch's 2026-10-21
one.
- `docs/NEXT_TASK_QUEUE.md`: this branch's three dated Context Updates
bullets go above main's 2026-09-13 bullet.

Local checks on the merged tree: check:syntax pass; `node
tests/run-tests.mjs` all passed (129 ok, LF export); multi-site
evaluation pass (28 rejected mutations); Ukraine grid evaluation pass (7
regions, 25 rejected); audit-repair 67/67; validator --offline 10/10.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
… Ukraine grid) (#113)

This is an offline evaluation only: test fixtures, a validator and docs,
with no provider, API or UI change.

- `af147e2`: frozen St Petersburg multi-site incident fixture,
attributed to AP, Reuters syndication and RFE/RL, with region-label
geography only.
- `d7f3149`: schema v2 for Reuters-attributed Ukrainian grid-region
reports. Exact assets, damage, outage start, restoration and cessation
stay unknown or false. Also adds `docs/HOSTED_ACCEPTANCE_2026-10-19.md`,
a PARTIAL hosted probe record that leaves acceptance open.

Checked locally on 2026-11-17: `node
tests/multi-site-incident-evaluation-tests.mjs` passed (28 rejected
mutations), and `node tests/ukraine-grid-incident-evaluation-tests.mjs`
passed (7 regions, 25 rejected mutations).

Draft because it doesn't merge cleanly yet: the branch is 54 commits
behind `main`, with conflicts in `docs/LAST_30_DAYS.md` and
`docs/NEXT_TASK_QUEUE.md`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
No conflicts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings current `main` (46db8f7) into the #117 branch, through a PR
because the repository ruleset requires PRs on all branches. No
conflicts. On the merged tree: audit-repair 67/67, run-tests all passed
(LF export), validator --offline 10/10.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
## Why
Dependabot #108 (`@electric-sql/pglite` 0.5.13 -> 0.5.16,
`pglite-postgis` 0.2.13 -> 0.2.16) fails `forge-staging` test 6:

```
could not load library "/pglite/lib/postgresql/postgis-3.so": could not load dynamic lib: /pglite/lib/postgresql/postgis-3.so
RuntimeError: null function or function signature mismatch
```

The failure is real. It is not a missing secret: the Forge checkout
succeeded under Dependabot's token, and tests 1-5 passed.

## Reproduction (local, main's `db/migrations/001` + `002` only, fresh
`PGlite.create({ extensions: { postgis } })`)
| pglite / postgis | Node 20.20.2 | Node 22.18.0 | Node 24.16.0 |
|---|---|---|---|
| 0.5.13 / 0.2.13 | loads | (not run) | (not run) |
| 0.5.16 / 0.2.16 | **fails, same error** | loads | loads |

## Change
- `validate.yml`, `forge-staging` job only: `node-version: 20` -> `22`,
with a comment saying why.
- Docs that name the Node version:
`FORGE_STAGING_INTEGRATION_2026-10-21.md`, `LOCAL_VALIDATION.md`, plus a
`LAST_30_DAYS.md` entry.

PGlite is a test-only devDependency, not used by `src/`, `netlify/` or
`functions/`. The other jobs and `engines` stay on Node 20. No test was
changed, skipped or weakened.

## Checks
On a main export with this change applied: `node --test
tests/audit-repair-tests.mjs` 51/51, `node tests/run-tests.mjs` all
passed, `live-map-validator --offline` 10/10. After this merges,
`@dependabot rebase` on #108 runs forge-staging on Node 22 with 0.5.16.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Brings in #117 (forge-staging on Node 22). No conflicts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Zacharon
Zacharon merged commit 8421bef into dependabot/npm_and_yarn/electric-sql-eecdcba6a9 Nov 17, 2026
7 checks passed
@@ -0,0 +1,32 @@
import http from 'node:http';import {readFile,writeFile,mkdir} from 'node:fs/promises';import path from 'node:path';
import {execFileSync} from 'node:child_process';
import {createHash} from 'node:crypto';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants