8 Commits
Author SHA1 Message Date
CatoandClaude f1e5fbadcd test(planner): the planner is checked signed in on the live site; the E2E sign-in waits for the form (#1822)
* test(planner): the planner is checked signed in, on the live site

Linking a calendar was off in production for a day while unit tests stayed
green. This spec signs in as the E2E account and does what a person does:
a task due today shows in the calendar with its actions, an entry is added,
the account's own feed is linked by its iCal address and read, a public
service says when it is free, and a task is handed to a bot (or the reason
it cannot be is said). It removes what it made. Run by the daily E2E Auth
workflow and on dispatch.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvmcF5JN8LusW4FjQg

* ci(diag): temporary sign-in probe for the live E2E account

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvmcF5JN8LusW4FjQg

* test(planner): the live check hands a task to a bot it makes for the purpose; sign-in waits long enough

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvmcF5JN8LusW4FjQg

* test(e2e): a sign-in that does not land says what it was answered

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvmcF5JN8LusW4FjQg

* test(e2e): sign in only once the form has been taken over by React

All three attempts of the 16:20 UTC run stayed on /auth with 'Enter your
email address.' and no sign-in call: the fields were filled before
hydration and wiped by it, so the form was sent empty. The daily E2E Auth
run failed the same way at 12:07.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmvmcF5JN8LusW4FjQg

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-15 17:43:03 +01:00
CatoandClaude 1008d635f6 fix(e2e): global-setup signs in on the visible form, three tries, and says so when it cannot (#1458)
The sign-in page can hold two email inputs for a moment around hydration (one
hidden). global-setup's bare locator('input[type="email"]') threw a
strict-mode violation, the setup swallowed it ('Proceeding without
storageState'), and every signed-in spec then ran signed out and failed with
'bounced to sign-in' - on one run and not the next (PR #1447/#1448 runs
2026-10-27 22:28 and 22:42). Take the visible input, try three times, and in CI
fail the setup with the real reason instead of a misleading downstream error.


Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE

Co-authored-by: Claude <noreply@anthropic.com>
2026-10-28 00:05:00 +01:00
GandMao Nakamoto b3eae6ebf4 chore(tests): remove orphaned jest-era custom matchers file (#876)
The jest -> vitest migration already completed in an earlier PR (see
vitest.setup.ts's own header: "Ported from jest.setup.ts when the
runner moved from jest 30 + ts-jest (CJS) to Vitest"). One file was
never cleaned up: tests/setup/custom-matchers.ts imported `expect`
from `@jest/globals`, a package that is not even installed anymore
(confirmed: not in package.json, not in node_modules). It also was
never wired into vitest.setup.ts's setupFiles and no test imported it
directly, so it was fully dead -- it would only ever have thrown
MODULE_NOT_FOUND if something had tried to load it.

Deleted rather than ported: none of its matchers
(toBeValidBitcoinAddress, toBeValidUUID, toBeSanitized, etc.) are
referenced by any test, so porting it forward would be adding new,
unused surface rather than fixing something broken.

Full local vitest run confirms this repo's test suite was already
green before this change: 279/279 test files, 2631/2631 tests passing.

Co-authored-by: Mao Nakamoto <41178744+maonakamoto@users.noreply.github.com>
2026-09-01 13:17:53 +00:00
Georgy ButaevandCursor 87eddf8070 fix(e2e): unify credential env vars and repair P0 matrix specs
Add tests/e2e/helpers/credentials.ts as SSOT (E2E_USER_* with legacy
fallback). Fix workflow-matrix project route, message delete payload,
and API response parsing. CI exports legacy aliases for global-setup.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-04 22:10:27 +02:00
g-but 19c6c066f0 test: harden production auth smoke 2026-05-19 19:01:49 +02:00
g-but c520e08f44 fix: harden health/auth test setup and add workflow verification tracker 2026-02-18 13:48:09 +01:00
g-butandClaude Opus 4.5 2df79381f1 feat: streaming AI, canonical rate limiting, cleanup demo pages
Major changes:
- AI streaming: Add unified client for OpenRouter SSE and local (Ollama) providers
- Local AI detection: Auto-detect and configure local model providers
- Rate limiting: Canonical adapters with X-RateLimit-* headers across APIs
- SSE: Add lib/sse.ts for consistent event-stream parsing

Cleanup:
- Remove /demo, /donate, /fund-us, /funding, /fundraising pages
- Simplify ModelSelector component (288 → 80 lines)
- Consolidate timeline queries

New features:
- Voice input component and hook
- Query provider for React Query
- Model registry with status badges
- HTTP headers config

Tests & Docs:
- E2E tests for project creation wizard
- Unit tests for auth, streaming, components
- CHANGELOG.md for version tracking
- Deployment checklist and PR summary docs

Bug fixes:
- Timeline schema and functions migration fixes
- Messaging RLS recursion fix
- Auth callback improvements
- Bitcoin formatting precision
- Lint fixes for unused variables

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 16:02:26 +01:00
Your NameandClaude 2872828779 chore: version 0.1.1 deployment - fix configuration and dependencies
- Bump version to 0.1.1 for tracking
- Add webpack-bundle-optimizer script for Next.js config
- Simplify ESLint configuration to resolve missing dependencies
- Prepare for production deployment with proper version control

This deployment includes:
- Profile update fixes with banner_url support
- LN address validation
- Auth cookie fixes for profile updates
- Various documentation and testing improvements

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-13 09:30:45 +02:00