Repository navigation
chore(deps-dev): bump jsdom from 29.1.1 to 30.1.3 in /src/frontend - #3860
Closed
dependabot[bot] wants to merge 1 commit into
Closed
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
|
Regression details (head_sha: `3dd01408eb22acf5eb16392b9dc9c152a3dcce14`)Seed Backend unit-suite regression diffPer-XML totals
❌ New failures introduced by HEAD (1)Tests failing under HEAD that did not fail under BASE in any seed:
Legend: [F] = assertion failure, [E] = collection or fixture error. Seed Backend unit-suite regression diffPer-XML totals
❌ New failures introduced by HEAD (2)Tests failing under HEAD that did not fail under BASE in any seed:
Legend: [F] = assertion failure, [E] = collection or fixture error. Reproduce locally: |
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/src/frontend/dev/jsdom-30.1.3
branch
2 times, most recently
from
November 4, 2026 04:43
c0d62d1 to
0498f2d
Compare
vybe
added a commit
that referenced
this pull request
Nov 6, 2026
… Payments tab, organization settings form (Abilityai/trinity-enterprise#967) (#3917) Fixes Abilityai/trinity-enterprise#967 — second of two in the ent#965 card-delegation epic (the one-component spending panel; the backend / API / MCP landed as ent#966). **Stacked on #3914** — base is `feature/ent966-nevermined-delegation-backend`; the stack merges together in order on the operator's call (retarget this PR to `dev` after #3914 merges). **Draft until the chain is in.** ## What - **Spending panel** — `components/NeverminedSpendingPanel.vue`, mounted on the agent Payments tab (`views/AgentDetail.vue`). Reads `GET /api/nevermined/agents/{agent}/delegation` and renders every state: not configured (admin link to the organization form), unfunded (Enroll), pending (Retry bind / Discard), funded (live numbers, every one nullable, `status:"unknown"` when Nevermined is unreachable), plus a collapsed "Past mandates (N)" table from `history[]`. Every string names Nevermined as the holder of the card and the mandate (ent#932 wording; `COPY` + `ACTIONS` constants, FORBIDDEN-regex tested). - **Enroll flow** — mints a widget session server-side (`POST …/widget-session`), then runs Nevermined's `setupCard` (one combined iframe, `@nevermined-io/ui-widgets` 1.80.0, dynamic `import()` + `optimizeDeps.include`) inline when the slot is ≥ 440 px, as the SDK's fullscreen overlay below that. The `{paymentMethodId, delegationId}` result is persisted as a pending record (memory + `sessionStorage`) before the bind `POST`, so a lost reply is recoverable with **Retry bind** (same ids, no second mandate). Bind `201` → funded from the response; `409 agent_not_running` / `409 agent_key_present` → the backend message + Retry bind; `429`/`503` → Retry bind held for `Retry-After` seconds; `422` → start again. Esc, tab-leave and unmount destroy the SDK instance; `beforeunload` is armed while the form is up. - **Redirect fallback** — a frame that never boots (8 s) or is CSP-blocked offers "Continue on Nevermined": a fresh session is minted and the hosted page opens with a per-tab nonce as `state`; the return deep-links to the Payments tab (`AgentDetail.applyDeepLinkRouting`), the nonce must match, the three query keys are stripped, and the bind runs from the returned ids (`paymentMethodId` optional, pattern-checked when present — R-I1). - **Revoke** — `ConfirmDialog`, then `DELETE`; the panel renders the backend's `env_note` sentence verbatim (never its own paraphrase). - **Organization form** (admin-only) — `components/settings/NeverminedOrganizationPanel.vue` on Settings › Integrations (`views/Settings.vue`): organization id, environment (sandbox / live, change confirmed), widget secret and agent API key write-only ("paste to rotate"; a blank secret is omitted from the `PUT`); `409 delegations_active` and `422` `detail.message` surfaced. - **Rules module** — `utils/neverminedSpending.js` (`unwrapSession` tolerant of bare / `.session` / `.data`, `unwrapSuccess`, `redirectReturn`, `newNonce` with `randomUUID` → `getRandomValues` → `Math.random` tiers, `recoveryFor`, `RETURN_MISMATCH`, `FALLBACK_CAUSES`); `apiErrorCode` in `utils/apiError.js`. - **CSP, both copies** — `frame-src https://embed.nevermined.app` and `connect-src` + `api.sandbox.nevermined.app` + `api.live.nevermined.app` in `vite.config.js` and `security-headers.conf` (the SDK refreshes its session from the browser); `cspMirrors.spec.js` pins the two copies equal, forbids `nevermined.dev`, and pins the existing `'unsafe-*'` set per copy. `Permissions-Policy: payment=()` is kept (TD-6). - **Docs** — `docs/user-docs/integrations/nevermined-payments.md` (panel, organization form, the hosted-page fallback's one-time session in the address bar, the `/login` bounce), feature flow `nevermined-payments.md`, `public-access.md` §23.8 FR-5, `architecture/frontend.md`; the wording guard `test_ent966_facilitator_wording.py` now scans the panel, the form and the rules module. - **Specs** — `neverminedSpending.spec.js` (59), `neverminedSpendingPanel.mount.spec.js` (50, real memory router), `neverminedOrganizationPanel.mount.spec.js` (13), `cspMirrors.spec.js` (6). ## Rulings carried (orchestrator, on the operator's behalf — plan file) - TD-1 the admin organization form ships **in this issue** on Settings › Integrations (the issue body's own rule: a second form on the Payments tab only if no admin settings home exists) · TD-2 `setupCard` as one combined iframe — the issue's two-step wording is superseded · TD-3 dynamic `import()` + `optimizeDeps.include` · TD-4 SDK fullscreen overlay under 440 px; redirect only for a browser-blocked frame · TD-5 render the past-mandates table from `history[]` · TD-6 keep `Permissions-Policy: payment=()` in both header copies · TD-7 tolerant `unwrapSession` in the panel, no backend delta · TD-8 defer `NeverminedPanel.vue`'s native `confirm()` to #1924 (commented there) · TD-9 accept and document the `/login` bounce on redirect return (no router stash) · TD-10 inline where the slot fits, overlay otherwise. - Deviations from the issue text, accepted: specs under `tests/unit/`; the hard-coded Nevermined-only `connect-src` addition in both CSP copies; `onSuccess` delivers `{result, handle}`; `returnUrl` carries no query and the deep link maps the return to the Payments tab; every added text surface carries "Nevermined holds the card". - Addenda: 409 `agent_key_present` (from ent#966 R9) handled like `agent_not_running` → Retry bind; `env_note` rendered verbatim, no "inert" paraphrase (R10); `notify` prop (`showNotification` seam, as the A2A panel); `loadSdk` prop for the rejects test; `ACTIONS` outside `COPY`; slot measured while visible; Retry-After hold covers bind retries only; Retry bind as its own button; 8 s never-booted timer offers the redirect; the CSP mirror spec forbids `nevermined.dev`, not every `.dev`. - Fix rulings after review (`83bfedd4b23f`, each proved red first): **R-I1** `redirectReturn` follows the `unwrapSuccess` rule — a return without `paymentMethodId` binds (the backend's field is optional, Trinity records only the delegation id, and a strict refusal on the redirect path wrote no pending record, orphaning a mandate Nevermined already created) · **R-I2** dead `COPY.closeForm` removed · **R-I3** a funded read clears a stale pending record with the same delegation id (the mid-POST agent-change leftover), a different id is kept · **R-I4** no fix: the hold resetting on `teardown()` is reachable only by tab-switch/unmount and costs one extra 429/503 against the backend's own `nvm-bind` limiter · **R-I5** `newNonce` second tier is `crypto.getRandomValues`. ## Review + security `/review` (Fable, report-only, `89d1eb6afd2f..941deca`): **MERGEABLE** — 0 CRITICAL / 0 HIGH / 7 INFO. Rider checks (a)–(m) hold: the session token goes only into `initialize` and the fresh-mint redirect URL, nothing logged or stored beyond ids + nonce; nonce + `state` + id-pattern + three-key strip on the return; no open redirect (fixed Nevermined host); CSP both copies; organization secrets write-only and never echoed; auth boundaries UX-only (the backend enforces); ent#932 wording; flow invariants; Retry-After hold; merged state against the live base `3de77a0df8ff`; `.claude` and the enterprise submodule untouched in the range. `/cso --diff`: 2 supported INFO, both accepted as the plan records — the SDK's own iframe `sandbox`/`allow` flags are not tightenable without a fork, and the session token in the top-level URL on the hosted-page fallback (TD-4: reachable only from the never-booted/CSP-blocked offer, fresh mint, `no-store`, Nevermined-side expiry; disclosed in the user doc). Evidence sweep (Opus, merged tree): branch specs + guards 9 files / 184 passed; mutations M1–M8 red (state mismatch, CSP mirror, secret omission, redirect-return strip, Retry-After hold, SDK destroy on teardown, agent-change guard, COPY wording). Fix-step mutations: m1 (re-add the `paymentMethodId` refusal) and m2 (drop `clearPending` in `load()`) each red on exactly the new case. `/validate-pr` (Opus, PR worktree at `83bfedd4b23f`, judged against the stacked base `3de77a0df8ff`, not `dev`): **APPROVE** — review 5624392780, 05:44Z. `npm ci` exit 0; 109 + 19 + 28 + 11 spec passes, wording pytest 11. Mutations M1–M6 and M8 red; **M7 survives** — no case fires the SDK `onClose` during `binding` (W1, Handoffs). W2 = the `applyDeepLinkRouting` one-liner (Before merge). W3 = cross-tracker `Fixes` does not auto-promote (Before merge). ## Tests - Targeted (fix tip, from `src/frontend`): 9 spec files / 173 passed — `neverminedSpending` 59, `neverminedSpendingPanel.mount` 50, `neverminedOrganizationPanel.mount` 13, `cspMirrors` 6, `optimizeDepsIncludeGuard` 11, `rawColorRatchet` 14, `loadingGateRatchet` 6, `sourceTextRatchet` 8, `agentDetailDeepLink` 6. `npm run build` exit 0; `check:tokens` exit 0; wording guard `test_ent966_facilitator_wording.py` 11 passed. Raw-colour scan: both new components `raw_nongray: 0`, `hardcoded_colors: 0`. - Full frontend island (`npm run test:unit`, alone, merged tree): 399/400 files, 6367/6369 tests — `mobileAdminQueueWalk3302.spec.js` 2 × 5 s timeouts in the full run, 4/4 alone on tip and merged, imports nothing in range: load-sensitive / pre-existing; CI's run is the tiebreak. - Not run here: the real Nevermined sandbox (Before merge); `AgentDetail.applyDeepLinkRouting`'s one-liner has no harness. ## Before merge - **Stack:** base is `feature/ent966-nevermined-delegation-backend` (#3914, approved). A stacked PR runs a reduced check set (`backend-unit-test` does not run here) — the first full run comes when this PR retargets to `dev` after #3914 merges. - **Lockfile:** `package-lock.json` was hand-trimmed to the two new entries (npm 10.8.2 rewrote unrelated rollup lines; the committed lockfile was already out of step with `package.json` on the base). `npm ci` exit 0 in the review and both sweep trees; the frontend CI `npm ci` is the proof. - **Sibling PRs — conflicts this branch adds** (test-merged 05:2xZ; operator's merge-order call, siblings not commented): #3913 (ent862 AAuth) — `src/frontend/src/views/Settings.vue`, both add a Settings › Integrations panel row; #3858 and #3860 (dependabot, frontend) — `package-lock.json`, whichever lands second regenerates the lockfile. Twelve other open PRs share files with this range with no added conflict. - **Live-only AC (operator's sandbox click-through):** inline form at ≥ 440 px and the overlay below it (375 px), bind → funded; the hosted-page fallback and its deep-link return (including the `/login` bounce, TD-9); Retry bind after a refused bind; revoke; the `AgentDetail` mount line; `Permissions-Policy: payment=()`'s effect on any wallet button inside the frame (TD-6); light and dark themes. If Nevermined wraps the widget-session body, the one-line unwrap in `mint_widget_session` goes on the ent#966 branch (D1). - **Tier:** built OSS core per the ent#965 default; the operator's tier call and the widget-gap questions (ask `ent965-widget-gaps`) are open. - §23.8 FR-5 "Status: 🚧 In Progress" flips to shipped at merge. - **Cross-tracker label (validate W3):** `Fixes Abilityai/trinity-enterprise#967` does not auto-promote — set `status-in-dev` on ent#967 by hand after merge (same for ent#966 on #3914). ## Handoffs - #1924 — `NeverminedPanel.vue` still uses the native `confirm()`; recorded there (TD-8). - ent#889 (Settings section rows) — the panel's `can_share` / deep-link dependency is recorded in the plan §1.1; the mover re-reads it (D4). - Not built, revisit only if the click-through hits it: a router stash for the redirect return across a `/login` bounce (D3, TD-9); a retained hold deadline across `teardown()` (R-I4). - Follow-up test (validate W1, mutation M7): one mount case that fires the SDK `onClose` while `phase === 'binding'` — the guard in `NeverminedSpendingPanel.vue` keeps `closeForm()` from dropping the phase mid-bind (Enroll re-enabled, `beforeunload` hold removed); the `bound` half of the guard is redundant with the `mine !== flow` check. Recorded on ent#967. - ent#966's per-agent spend key, pre-flight `bindable` hint, and the wider ent#932 wording sweep remain on that PR's handoff list. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/src/frontend/dev/jsdom-30.1.3
branch
from
November 6, 2026 09:23
0498f2d to
c248913
Compare
Bumps [jsdom](https://github.com/jsdom/jsdom) from 29.1.1 to 30.1.3. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Commits](jsdom/jsdom@v29.1.1...v30.1.3) --- updated-dependencies: - dependency-name: jsdom dependency-version: 30.1.3 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/src/frontend/dev/jsdom-30.1.3
branch
from
November 7, 2026 06:34
c248913 to
3dd0140
Compare
Contributor
Author
|
Superseded by #4451. |
dependabot
Bot
deleted the
dependabot/npm_and_yarn/src/frontend/dev/jsdom-30.1.3
branch
November 10, 2026 21:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps jsdom from 29.1.1 to 30.1.3.
Release notes
Sourced from jsdom's releases.
... (truncated)
Commits
058c0f530.1.3fcd1fd1Cascade parsed longhands independentlya3ee786Cascade computed style properties on demandf42dc15Resolve colors before caching or using currentcolor074b1fbCompute background-position lengths against the final font sized19598cApply style rules nested in multiple@mediarules45d626cRule out attribute selector subjects before matching3ff0a5bUpgrade Undici and remove abort workarounds8813bb1Ignore CSS declarations with unparseable math functions63712d8Fix XHR credentials across redirects