Skip to content

Bump axios from 1.7.2 to 1.12.0 - #1

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/axios-1.12.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/axios-1.12.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 19, 2025 •

Copy link
Copy Markdown
Contributor

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps axios from 1.7.2 to 1.12.0.

Release notes

Sourced from axios's releases.

Release v1.12.0

Release notes:

Bug Fixes

Features

  • adapter: surface low‑level network error details; attach original error via cause (#6982) (78b290c)
  • fetch: add fetch, Request, Response env config variables for the adapter; (#7003) (c959ff2)
  • support reviver on JSON.parse (#5926) (2a97634), closes #5924
  • types: extend AxiosResponse interface to include custom headers type (#6782) (7960d34)

Contributors to this release

Release v1.11.0

Release notes:

Bug Fixes

  • form-data npm pakcage (#6970) (e72c193)
  • prevent RangeError when using large Buffers (#6961) (a2214ca)
  • types: resolve type discrepancies between ESM and CJS TypeScript declaration files (#6956) (8517aa1)

Contributors to this release

... (truncated)

Changelog

Sourced from axios's changelog.

1.12.0 (2025-09-11)

Bug Fixes

Features

  • adapter: surface low‑level network error details; attach original error via cause (#6982) (78b290c)
  • fetch: add fetch, Request, Response env config variables for the adapter; (#7003) (c959ff2)
  • support reviver on JSON.parse (#5926) (2a97634), closes #5924
  • types: extend AxiosResponse interface to include custom headers type (#6782) (7960d34)

Contributors to this release

1.11.0 (2025-07-22)

Bug Fixes

  • form-data npm pakcage (#6970) (e72c193)
  • prevent RangeError when using large Buffers (#6961) (a2214ca)
  • types: resolve type discrepancies between ESM and CJS TypeScript declaration files (#6956) (8517aa1)

Contributors to this release

... (truncated)

Commits
  • 0d8ad6e chore(release): v1.12.0 (#7013)
  • fd7f404 fix: release pr run
  • a2edc36 fix: dont add dist on release
  • 9ec86de fix: adding build artifacts
  • 945435f fix(node): enforce maxContentLength for data: URLs (#7011)
  • 28e5e30 chore(sponsor): update sponsor block (#7005)
  • d03f245 chore(CI): fixed release info script to use npm registry instead of git as fi...
  • a0bc911 chore: removing dist files from src (#7002)
  • c959ff2 feat(fetch): add fetch, Request, Response env config variables for the adapte...
  • a9f47af fix(fetch-adapter): set correct Content-Type for Node FormData (#6998)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript labels Sep 19, 2025
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/axios-1.12.0 branch from 1831bd7 to 1fb81e6 Compare September 19, 2025 12:14
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/axios-1.12.0 branch from 1fb81e6 to ddae7b7 Compare September 19, 2025 14:55
@thinkclay thinkclay closed this Sep 22, 2025
@dependabot @github

dependabot Bot commented on behalf of github Sep 22, 2025

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/axios-1.12.0 branch September 22, 2025 22:23
thinkclay added a commit that referenced this pull request Aug 19, 2026
Phase 3, screen 1 of the prototype-parity plan (#622). Closes five items from
§12 of the ATS design brief in one screen.

LANES — the pipeline as stage-grouped, full-width rows, now the default view
with Board and Metrics alongside. Seven columns already overflow a laptop and
the recruiter and NationSearch flows have eleven and twelve, so the board's
answer to "more stages" is sideways scrolling that hides work. Rows also have
room for the columns a card cannot carry. This answers open question #1 in the
ATS brief.

DAYS IN STAGE (§12 #7) — the board showed days since *applied*, which is a
different and much less useful number: a candidate who applied 30 days ago and
moved to Interview yesterday is not stale, and one who applied 8 days ago and
has sat untouched in New is. `stage-timing.ts` derives the real figure from
`stageHistory` — the transitions recorded in core.application_activity — by
taking the most recent entry into the current status, so a candidate moved
backwards gets a fresh clock. No history means the candidate has never moved,
and their clock starts at appliedAt, which is correct rather than a fallback:
entering the pipeline IS their entry into `new`.

It returns null rather than 0 when timestamps do not parse, and clamps future
timestamps to now — local Supabase has been observed running behind the host
clock, which would otherwise render as "-2d in stage".

Overdue is per-stage against the promises the public transparency stats are
computed from, and every overdue row carries a reason ("Overdue — screening
decision"), because an amber number alone says something is wrong without
saying what. Terminal stages are never overdue: nobody is waiting on a hired
candidate.

ALSO CLOSED
  §12 #8   score, source, union status and assignee are on every row — these
           are the reasons an employer picks one candidate over another and
           none of them were on a card
  §12 #9   each stage gets its own empty state saying what would fill it,
           instead of "No applications" seven times
  §12 #17  Withdrawn reads as "Withdrawn by candidate" rather than a grey pill
           in a red column — the conflation the data model works to prevent
  §12 #6   the Interview column was error[50], the same red as rejected, so
           advancing a candidate moved them into a column that reads as a
           warning. It is a progress stage and now tints with the primary ramp

Rows sort stalest-first within each stage, so the row that most needs acting
on is the one at the top.

TEST SEAM — scf-core resolves @scaffald/ui to a mock, so the four new
primitives are added there. They mirror the real contracts rather than being
stubbed: LaneGroup honours count/emptyState and Lane renders age first, since
a stub that dropped those would make the screen logic under test unobservable.
The change is additive — 171 insertions, zero deletions — so no existing
consumer is affected.

Verified: typecheck clean on scf-core and scaffald-app; lint clean; 17 new
stage-timing tests and 11 new Lanes tests, all passing; an existing mock
consumer (TeamMembersList) still passes.

Not verified: the screen has not been seen rendering — it is behind auth and
the office role. Note also that the full scf-core suite cannot be run locally:
an unfiltered vitest run OOMs the worker, which is why prepush excludes it.

Co-Authored-By: Claude Opus 5 <[email protected]>
thinkclay added a commit that referenced this pull request Aug 20, 2026
…n primitives (#621)

* feat(redesign): phase 1 tokens, prototype reference shots, and the parity plan

Applies the SCF prototype (~/Development/SCF-Prototype) to the app. This is
Phase 0 + Phase 1 of docs/plans/redesign/2026-08-19-prototype-parity-plan.md.

PHASE 0 — the reference. 58 screenshots of the prototype, 29 screens across
five roles at desktop 1440x900 and mobile 390x844, captured by driving the
prototype's own state (capture-prototype.mjs re-runs it when the prototype
moves). The plan doc records what the prototype decides that we have not,
and measures the audit's findings against our code: 699 literal fontSize
sites across 15 values, ~350 literal borderRadius across a dozen, 392 raw
hex across 57 files, three separate page-header components.

PHASE 1 — tokens, in the @scaffald/ui submodule (see its own commit). Teal
stays the one primary; amber becomes the reserved attention role.

App-side changes here:

- global.css declares 'Scaffald Display' for headings, with a Georgia
  fallback so the serif intent survives until the Cormorant WOFF2 lands.
  The family name is indirect so swapping the display face later is a change
  to two rules rather than to every component.

- login-screen.tsx: the title hard-coded `fontFamily: 'RobotoSerif_400Regular'`
  in an inline style, which overrode getFontFamily entirely and pinned the
  screen to the body serif — the token system could never reach it. Removed.
  It was also an H5 used as a card title; H5 is now the body-size step, so
  this is an H4, which preserves the shipped 17px exactly.

Verified: typecheck clean across @scaffald/ui, scf-core and scaffald-app;
UI suite 634/655, identical to the pre-change baseline; auth feature tests
44/46 with 0 failures; lint clean; computed styles and both themes confirmed
in the browser on a cold Metro cache.

Not included: the Cormorant Garamond WOFF2 files (downloading them needs
sign-off), and the prototype push to Scaffald/Prototype@main.

Co-Authored-By: Claude Opus 5 <[email protected]>

* feat(fonts): self-host Cormorant Garamond as the display face

Completes Phase 1. Headings now render in the prototype's actual face on web
rather than falling back to Georgia.

Cormorant Garamond is a variable font, so one 37 KB WOFF2 covers the whole
weight axis — Google serves the same file for its 400 and 600 faces, which is
why this is one file and not the two the plan assumed.

The fallback moved to its own family name ('Scaffald Display Fallback') and
into the stack that getFontFamily emits. Declared as a second @font-face under
the same family it shadowed the real font entirely: the browser matched it and
never requested the WOFF2, so headings rendered as Georgia while still looking
serif in a screenshot. It keeps `size-adjust: 92%` to stop headings jumping
size during the swap.

Native is unchanged and still on Roboto — see getFontFamily for why.

Verified: font served 200 (37776 bytes), document.fonts.check true, and
Cormorant measures 119.9px against the fallback's 125.23px for the same
string, confirming the real face is what loaded. Typecheck clean across all
three packages; UI suite 634/655, identical to baseline.

Co-Authored-By: Claude Opus 5 <[email protected]>

* feat(redesign): phase 2 primitives, first caller, and two plan corrections

Picks up the four screen primitives from the @scaffald/ui submodule (see its
own commit) and proves them on one screen.

MIGRATED — the ATS applications screen now uses ScreenHeader + ListToolbar.
It gains the kicker and the tip the prototype gives it, a collapse caret, and
moves its count out of an ad-hoc subtitle ("14 total applications") into the
toolbar's result slot, which owns the one "{n} {noun}" template. This is the
only screen migrated so far — the plan warns that a mechanical sweep produces
a diff nobody can review, so the rest go per-screen in phase 3.

DELETED — features/office/components/OfficePageHeader.tsx, which had zero
callers. SaaSSectionHeader is also unused by the app but stays: it is a
published export of the component library with stories and a docs page, so
removing it is an API decision rather than dead-code cleanup.

TWO CORRECTIONS to the plan, both from checking rather than assuming:

1. The prototype push is unnecessary. github.md's sync note claims
   Scaffald/Prototype@main still holds the 13 Aug build against 677 KB
   locally, and I repeated that as the one item with a real bus factor. After
   a fetch, local main and origin/main are the same commit and the file is
   772,808 bytes on both. The note is stale; the reference was never
   laptop-only.

2. "Three competing page headers" overstated it. Two of the three are dead,
   and the third is a toolbar, not a header. Recorded in the ui commit.

Verified: typecheck clean across all three packages; lint clean; UI suite 670
tests / 649 passing / the same 21 pre-existing environment failures.

NOT verified: the migrated ATS screen has not been seen rendering. It sits
behind auth and the office role, and reaching it means authenticating — which
I do not do. The dev server is up on :8087 if you want to look.

Co-Authored-By: Claude Opus 5 <[email protected]>

* feat(ats): Lanes view for the pipeline, and a real days-in-stage clock

Phase 3, screen 1 of the prototype-parity plan (#622). Closes five items from
§12 of the ATS design brief in one screen.

LANES — the pipeline as stage-grouped, full-width rows, now the default view
with Board and Metrics alongside. Seven columns already overflow a laptop and
the recruiter and NationSearch flows have eleven and twelve, so the board's
answer to "more stages" is sideways scrolling that hides work. Rows also have
room for the columns a card cannot carry. This answers open question #1 in the
ATS brief.

DAYS IN STAGE (§12 #7) — the board showed days since *applied*, which is a
different and much less useful number: a candidate who applied 30 days ago and
moved to Interview yesterday is not stale, and one who applied 8 days ago and
has sat untouched in New is. `stage-timing.ts` derives the real figure from
`stageHistory` — the transitions recorded in core.application_activity — by
taking the most recent entry into the current status, so a candidate moved
backwards gets a fresh clock. No history means the candidate has never moved,
and their clock starts at appliedAt, which is correct rather than a fallback:
entering the pipeline IS their entry into `new`.

It returns null rather than 0 when timestamps do not parse, and clamps future
timestamps to now — local Supabase has been observed running behind the host
clock, which would otherwise render as "-2d in stage".

Overdue is per-stage against the promises the public transparency stats are
computed from, and every overdue row carries a reason ("Overdue — screening
decision"), because an amber number alone says something is wrong without
saying what. Terminal stages are never overdue: nobody is waiting on a hired
candidate.

ALSO CLOSED
  §12 #8   score, source, union status and assignee are on every row — these
           are the reasons an employer picks one candidate over another and
           none of them were on a card
  §12 #9   each stage gets its own empty state saying what would fill it,
           instead of "No applications" seven times
  §12 #17  Withdrawn reads as "Withdrawn by candidate" rather than a grey pill
           in a red column — the conflation the data model works to prevent
  §12 #6   the Interview column was error[50], the same red as rejected, so
           advancing a candidate moved them into a column that reads as a
           warning. It is a progress stage and now tints with the primary ramp

Rows sort stalest-first within each stage, so the row that most needs acting
on is the one at the top.

TEST SEAM — scf-core resolves @scaffald/ui to a mock, so the four new
primitives are added there. They mirror the real contracts rather than being
stubbed: LaneGroup honours count/emptyState and Lane renders age first, since
a stub that dropped those would make the screen logic under test unobservable.
The change is additive — 171 insertions, zero deletions — so no existing
consumer is affected.

Verified: typecheck clean on scf-core and scaffald-app; lint clean; 17 new
stage-timing tests and 11 new Lanes tests, all passing; an existing mock
consumer (TeamMembersList) still passes.

Not verified: the screen has not been seen rendering — it is behind auth and
the office role. Note also that the full scf-core suite cannot be run locally:
an unfiltered vitest run OOMs the worker, which is why prepush excludes it.

Co-Authored-By: Claude Opus 5 <[email protected]>

* fix(ats): segmented control for the view switch, not three Buttons

Picks up the layout fixes from the @scaffald/ui submodule and fixes the same
inversion on the app side.

The view switch gave the ACTIVE view `variant="outline"` and left the other
two on the default filled variant — so Board and Metrics rendered as the
primary action while the view you were actually on looked disabled. It reads
as a segmented control now, which is what the prototype uses and what the
control is for.

It carries an explicit width: SegmentedControl's segments are `flex: 1` inside
a container with no intrinsic width, so left to the header row it collapsed to
160px and clipped "Metrics" to "Metr…". Worth fixing centrally later — noted
rather than done here, because the component has other callers and there is
currently no automated gate that would catch a regression in them (#375, #469).

Found by rendering the primitives in Storybook, which needs no auth and so is
the first look any of this work has had at a real browser.

Verified: typecheck clean across all three packages; lint clean; Lanes tests
11/11; UI suite 649/670 with the same 21 pre-existing failures.

Co-Authored-By: Claude Opus 5 <[email protected]>

* chore(ui): point the submodule at merged main (Scaffald/ui#18)

The branch pointer would have referenced a commit that only exists on
redesign/phase1-tokens; the squash merge rewrote it. This points at
8b27d54 on origin/main so a fresh clone can resolve the submodule.

Typecheck clean across all three packages against the merged pointer.

Co-Authored-By: Claude Opus 5 <[email protected]>

---------

Co-authored-by: Claude Opus 5 <[email protected]>
thinkclay added a commit that referenced this pull request Aug 21, 2026
…loading/error (#623)

* feat(ats): wire the candidate detail header — four dead surfaces

Phase 3, screen 2 (#622). Closes §12 items #1, #2, #3 and #15 from #539.

#1 THREE BUTTONS THAT DID NOTHING. "Advance to Interview", "Reject" and
"Send Message" rendered, pressed, and had no handlers at all.

  Advance now names the ACTUAL next stage instead of always claiming
  "Interview" — which was wrong for most of the pipeline and from `new` would
  have skipped Screening entirely. It hides on terminal stages, where there is
  nothing to advance to.

  Reject routes through ApplicationStatusChangeModal rather than firing at the
  API, because rejection is a critical change and the one action a candidate
  experiences as final. It hides once a candidate has already withdrawn:
  collapsing withdrawn into rejected is what breaks funnel conversion and EEO
  adverse-impact counts (#533).

  Send Message opens the Messages tab, where the composer already lives.

#2 NO NAME IN THE HEADER. The identity row showed title and location only —
the name existed solely in the modal chrome, so the route version at
/office/applications/[id] had no name anywhere on the page.

#3 A 24PX AVATAR, smaller than the body text beside it. Now 48, with two
initials rather than one lonely letter.

#15 TABS WITH NO COUNTS. An employer could not tell there were twelve unread
messages without opening the tab. Notes and Messages carry counts now, read
from the SAME query keys the tabs themselves use — react-query serves both
from one cache entry, so this costs no extra request. Zero and loading both
render nothing: a tab reading "Notes · 0" is noise, and a tab that flashes
"· 0" before "· 12" is worse than one that simply gains a count.

The rules live in candidate-actions.ts rather than inline, so they can be
tested without mounting a component that needs six SDK hooks and a tab system.
All four debts were logic *absent* rather than logic wrong, which is exactly
the kind of thing that comes back without a test.

Also fixes a shape error caught by typecheck: GetMessagesResponse nests its
array under `.data`, not `.messages`.

Verified: typecheck clean on scf-core and scaffald-app; lint clean; 16 new
tests passing.

Not verified: the screen has not been seen rendering — behind auth and the
office role.

Co-Authored-By: Claude Opus 5 <[email protected]>

* fix(ats): keep the header mounted through loading and error, and add a retry

Phase 3 continued (#622). Closes §12 items #10 and #11 from #539.

#10 LOADING REPLACED THE WHOLE SCREEN. Both loading and error were early
returns, so a refresh blanked the header, the view switch and the filters and
left one centred spinner. The page appeared to vanish, and an employer lost
the controls they were part-way through using — including the filters that
caused the refetch in the first place. Both states now render inside the
content region, below a header that stays put.

#11 THE ERROR STATE HAD NO WAY OUT. No retry, so the only recovery was a full
page reload — which also discarded the filters. There is a Try again button
wired to the query's `refetch`, which the hook has always returned and nothing
has ever called.

One consequence of keeping the header mounted: the toolbar's result count now
renders during states where the count is not yet known. It takes `undefined`
rather than `0` while loading or errored, because a literal "0 applications"
above a spinner asserts an empty pipeline before anything is known.

Verified: typecheck clean on scf-core and scaffald-app; lint clean; Lanes
tests still 11/11.

Co-Authored-By: Claude Opus 5 <[email protected]>

---------

Co-authored-by: Claude Opus 5 <[email protected]>
thinkclay added a commit that referenced this pull request Aug 22, 2026
…that close (#627)

Phase 3, final §12 items (#622). Closes #12 and #13 from #539 — all 18 done.

ROOT CAUSE, SHARED BY BOTH. The stage-transition table lived inside a
useCallback inside useApplicationStatusChange, so nothing outside that hook
could ask "what is legal from here?". The board could not close illegal drop
targets during a drag, and no alternative input could offer a list of legal
moves. Hoisting it to module scope and exporting ALLOWED_TRANSITIONS,
isValidStatusTransition and allowedTargetsFor is most of the fix.

#12 THE BOARD WAS POINTER-ONLY.

  Keyboard: PointerSensor was the only sensor registered. dnd-kit ships a
  KeyboardSensor that gives Space to lift, arrows to move between droppables
  and Space to drop — so the fix is registering it, not building a parallel
  interaction.

  Mobile: a keyboard sensor does not help a phone. One stage renders at a time
  behind a Tabs control, so there is no second column on screen to drag a card
  to — cross-stage moves were impossible, not merely awkward. Each card now
  carries explicit move buttons for its legal targets, which works by touch,
  by keyboard and by mouse. They route through the same `changeStatus` the
  drag path uses, so the confirm modal for critical moves and the transition
  guard apply identically: a second INPUT, not a second code path.

  Targets are computed from the CARD's status, not the column's — `withdrawn`
  cards live in the rejected column and must not inherit its moves.

#13 ILLEGAL DROPS FAILED SILENTLY AFTER THE DROP. A column accepted any card,
then rejected the move and surfaced an error the user could not have
predicted. Columns that cannot legally receive the dragged card now register
as `disabled` droppables — the card will not land there — and dim to 0.35 with
aria-disabled, so the constraint is visible during the drag rather than
explained afterwards. Nothing dims at rest; a column is only closed while
something is actually in the air.

12 tests on the table, including one invariant worth keeping: the candidate
header's advance button and the board read from two different sources
(NEXT_STAGE and ALLOWED_TRANSITIONS), and if they drift the header offers a
button the guard silently refuses — which is exactly the class of bug §12 #1
was. The test asserts they agree for every stage.

Verified: typecheck clean on scf-core and scaffald-app; lint clean; 12 new
tests; /office/applications renders through the authenticated harness with no
new console errors.

NOT verified visually: the seeded org has zero applications, so the board has
no cards and neither the move buttons nor the dimmed columns could be seen
rendering. The behaviour is covered by tests, not by eye.

Co-authored-by: Claude Opus 5 <[email protected]>
thinkclay added a commit that referenced this pull request Aug 22, 2026
* feat(ats): a keyboard and touch path for the board, and drop targets that close

Phase 3, final §12 items (#622). Closes #12 and #13 from #539 — all 18 done.

ROOT CAUSE, SHARED BY BOTH. The stage-transition table lived inside a
useCallback inside useApplicationStatusChange, so nothing outside that hook
could ask "what is legal from here?". The board could not close illegal drop
targets during a drag, and no alternative input could offer a list of legal
moves. Hoisting it to module scope and exporting ALLOWED_TRANSITIONS,
isValidStatusTransition and allowedTargetsFor is most of the fix.

#12 THE BOARD WAS POINTER-ONLY.

  Keyboard: PointerSensor was the only sensor registered. dnd-kit ships a
  KeyboardSensor that gives Space to lift, arrows to move between droppables
  and Space to drop — so the fix is registering it, not building a parallel
  interaction.

  Mobile: a keyboard sensor does not help a phone. One stage renders at a time
  behind a Tabs control, so there is no second column on screen to drag a card
  to — cross-stage moves were impossible, not merely awkward. Each card now
  carries explicit move buttons for its legal targets, which works by touch,
  by keyboard and by mouse. They route through the same `changeStatus` the
  drag path uses, so the confirm modal for critical moves and the transition
  guard apply identically: a second INPUT, not a second code path.

  Targets are computed from the CARD's status, not the column's — `withdrawn`
  cards live in the rejected column and must not inherit its moves.

#13 ILLEGAL DROPS FAILED SILENTLY AFTER THE DROP. A column accepted any card,
then rejected the move and surfaced an error the user could not have
predicted. Columns that cannot legally receive the dragged card now register
as `disabled` droppables — the card will not land there — and dim to 0.35 with
aria-disabled, so the constraint is visible during the drag rather than
explained afterwards. Nothing dims at rest; a column is only closed while
something is actually in the air.

12 tests on the table, including one invariant worth keeping: the candidate
header's advance button and the board read from two different sources
(NEXT_STAGE and ALLOWED_TRANSITIONS), and if they drift the header offers a
button the guard silently refuses — which is exactly the class of bug §12 #1
was. The test asserts they agree for every stage.

Verified: typecheck clean on scf-core and scaffald-app; lint clean; 12 new
tests; /office/applications renders through the authenticated harness with no
new console errors.

NOT verified visually: the seeded org has zero applications, so the board has
no cards and neither the move buttons nor the dimmed columns could be seen
rendering. The behaviour is covered by tests, not by eye.

Co-Authored-By: Claude Opus 5 <[email protected]>

* test(smoke): capture the Board and Metrics views, not just routes

The pipeline's Board and Metrics views are client state behind a segmented
control, not routes, so a route-only sweep never saw either. The board in
particular carries the keyboard/touch move controls and the closed drop
targets added in #627 — the exact code that had no other way of being looked
at, and which shipped verified by tests alone.

The harness now clicks through to both and screenshots them.

WHAT THIS IMMEDIATELY SETTLED. #627 shipped with "not verified visually: the
seeded org has zero applications". That turned out to be wrong about the
cause, in a way worth recording:

  - the database has 16 applications across all 8 statuses; Unicorn owns 12
  - [email protected] holds an org-scoped `admin` assignment on Unicorn, and
    the access lookup resolves it correctly even under RLS
  - the endpoint still returned `{"data":[],"total":0}` for him while
    returning 12 for the org OWNER

That is precisely the bug the comment in employer-applications.ts says was
fixed — org admin sees 0, owner sees 12. It was not a live bug. The local edge
runtime was serving the MAIN checkout, whose working tree is behind
origin/main and predates that fix. Restarting `supa functions serve` from a
current tree returned all 12 immediately.

Worth knowing, because a stale edge runtime reproduces a fixed authz bug
faithfully enough to be filed again. `grep` the served checkout before
believing an API result that looks like a known issue.

With real data the pipeline verifies end to end: days-in-stage leads every row
(14d, 12d, 9d…), overdue reasons are per-stage ("no first response yet",
"screening decision", "awaiting inquiry reply"), and every card offers exactly
its legal targets — New → Screening/Closed, Screening → Inquired/Interview/
Closed, Inquired → Interview/Offer/Closed.

Co-Authored-By: Claude Opus 5 <[email protected]>

---------

Co-authored-by: Claude Opus 5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant