Commit Graph
4564 Commits
Author SHA1 Message Date
google-labs-jules[bot]andPR0M3TH3AN cfb395ff1a fix(tests): update expected relay health state in unit test
This update aligns `tests/services/relay-health-service.test.mjs` with the actual state object structure used in `RelayHealthService`, which now includes `consecutiveFailures` and `lastUserLogAt` properties. This fixes a CI failure in the `agent-review` job.

The previous fix for `tests/app-batch-fetch-profiles.test.mjs` (duplicate variable) is also included in this branch history.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 16:36:27 +00:00
google-labs-jules[bot]andPR0M3TH3AN 991d166254 fix(tests): remove duplicate variable declaration in profile batch fetcher test
This fixes a syntax error in `tests/app-batch-fetch-profiles.test.mjs` where `originalReadRelays` was declared twice, causing the CI `agent-review` job (and subsequent deploy checks) to fail.

The underlying NIP-07 decryption fix (correctly resolving signer capabilities) remains in place from the previous commit.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 16:26:31 +00:00
google-labs-jules[bot]andPR0M3TH3AN 730618efa8 fix(nostr): correctly resolve signer capabilities when methods are present
This fixes a critical issue where valid NIP-07 signers were treated as incapable of NIP-44/NIP-04 operations if their initial `capabilities` flag was false, even if the necessary methods (e.g., `nip44Decrypt`) were subsequently added or already present.

This addresses errors like "Gift wrap events require a NIP-44 decryptor" for users with valid extensions.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 16:20:13 +00:00
thePR0M3TH3AN 35698340a8 Merge pull request #1984 from PR0M3TH3AN/codex/add-relay-health-panel-to-ui
Add relay health summary and persistent failure logging
2026-01-30 11:08:15 -05:00
thePR0M3TH3AN 09c0ac8127 Add relay health summary banner 2026-01-30 11:08:02 -05:00
thePR0M3TH3AN 93f78e60ee Merge pull request #1968 from PR0M3TH3AN/ai/reproducers-popover-video-20260129-656412173162674175
chore(ai): add minimal reproducers for known bugs
2026-01-30 11:07:07 -05:00
thePR0M3TH3AN 9c8cc465ce Merge pull request #1983 from PR0M3TH3AN/codex/improve-websocket-stability-and-ui-responsiveness
Add per-relay backoff and rate-limited relay summary logging
2026-01-30 11:01:30 -05:00
thePR0M3TH3AN 6c8349fdfb Add relay backoff and summary logging 2026-01-30 11:01:17 -05:00
thePR0M3TH3AN 063f0d0305 Merge pull request #1979 from PR0M3TH3AN/ai/doc-client-20250224-5696189605440496000
chore(ai): document js/nostr/client.js
2026-01-30 11:00:55 -05:00
thePR0M3TH3AN 652e9a22d7 Merge pull request #1981 from PR0M3TH3AN/ds-audit/2024-05-22-5966333681015751836
Daily Design System Audit Report
2026-01-30 11:00:34 -05:00
google-labs-jules[bot]andPR0M3TH3AN e2b3ab82c9 fix(test): resolve duplicate declaration in batch fetch profile test and fix nip07 permission race
Resolves a SyntaxError where 'originalReadRelays' was declared twice in 'tests/app-batch-fetch-profiles.test.mjs', causing CI failures.
Also fixes a race condition in `js/nostr/client.js` where NIP-07 permission upgrades were not awaited, causing `tests/nostr-login-permissions.test.mjs` to fail. Updated tests to accommodate the multi-pass login flow.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 15:59:58 +00:00
google-labs-jules[bot]andPR0M3TH3AN 1d885091cf fix: stabilize nostr login permissions test
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 15:56:13 +00:00
google-labs-jules[bot]andPR0M3TH3AN 65f28991a7 fix(test): remove duplicate variable declaration in batch fetch profile test
Resolves a SyntaxError where 'originalReadRelays' was declared twice in 'tests/app-batch-fetch-profiles.test.mjs', causing CI failures. This change ensures the test file parses and runs correctly.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 15:51:44 +00:00
google-labs-jules[bot]andPR0M3TH3AN dd13f735d9 fix: ensure jsdom for tests and resolve syntax error in batch fetch test
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 15:49:04 +00:00
thePR0M3TH3AN 03475a808e Merge pull request #1982 from PR0M3TH3AN/codex/implement-relay-sanitization-and-health-filtering
Improve relay sanitization and health filtering
2026-01-30 10:48:51 -05:00
thePR0M3TH3AN 5a5fd50641 Improve relay sanitization and health checks 2026-01-30 10:48:28 -05:00
google-labs-jules[bot]andPR0M3TH3AN c51f5344d9 chore(design): daily design system audit report
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 15:40:13 +00:00
google-labs-jules[bot]andPR0M3TH3AN b0b88c03d0 fix: ensure jsdom dependency is installed for tests
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 15:37:58 +00:00
google-labs-jules[bot]andPR0M3TH3AN 3e08479d04 fix: resolve syntax error in profile batch fetch test
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 15:34:20 +00:00
thePR0M3TH3AN 368bc2d63d Merge pull request #1980 from PR0M3TH3AN/codex/clarify-dm-errors-for-missing-nip-44-support
Handle NIP-44 decryptor errors in DM panel
2026-01-30 10:32:55 -05:00
thePR0M3TH3AN 25ac2a2c6b Handle NIP-44 decryptor DM errors 2026-01-30 10:32:40 -05:00
google-labs-jules[bot]andPR0M3TH3AN 3862415340 chore(ai): doc js/nostr/client.js (agent)
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 15:31:06 +00:00
thePR0M3TH3AN 035291bfa6 Merge pull request #1977 from PR0M3TH3AN/perf/optimize-critical-paths-3892933543654891645
Optimize critical performance paths to prevent high CPU/GPU usage
2026-01-30 10:29:47 -05:00
thePR0M3TH3AN 6d6407d5a6 Merge pull request #1978 from PR0M3TH3AN/codex/reduce-login-latency-by-adjusting-permissions
Defer NIP‑07 encryption permissions; request core permissions at login
2026-01-30 10:29:12 -05:00
thePR0M3TH3AN abdfa4b68b Defer NIP-07 encryption permissions 2026-01-30 10:29:00 -05:00
google-labs-jules[bot]andPR0M3TH3AN a0f893ace6 perf: optimize critical rendering and data processing paths
- Refactor `AmbientBackground` to use `ResizeObserver` instead of polling layout in animation loop.
- Implement async chunking for `ExploreDataService` to prevent main thread blocking during heavy calculations.
- Throttle `UrlHealthController` video probes to a maximum of 3 concurrent requests to prevent resource exhaustion.
- Document optimization tasks in `OPTIMIZATION_TASKS.md`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 15:27:25 +00:00
thePR0M3TH3AN 0e9f9204a1 Merge pull request #1976 from PR0M3TH3AN/codex/update-signer-hydration-for-nip-07
Support NIP‑07 hydration and refresh NIP‑44 capabilities on active signer
2026-01-30 10:16:01 -05:00
thePR0M3TH3AN 2a0a0a0427 Update NIP-07 signer hydration 2026-01-30 10:15:50 -05:00
thePR0M3TH3AN 36e96306f5 Merge pull request #1975 from PR0M3TH3AN/codex/add-caching-for-probe-results
Cache and dedupe hosted URL probes
2026-01-30 10:11:45 -05:00
thePR0M3TH3AN 2007e53b39 Add probe caching and dedupe for playback 2026-01-30 10:11:31 -05:00
thePR0M3TH3AN b246e8a37b Merge pull request #1974 from PR0M3TH3AN/codex/update-health-probe-polling-logic
Tighten torrent probe polling and dedupe in-flight probes
2026-01-30 10:07:39 -05:00
thePR0M3TH3AN 8a2ee7beae Tighten torrent probe polling 2026-01-30 10:07:28 -05:00
thePR0M3TH3AN cc7fe64e90 Merge pull request #1946 from PR0M3TH3AN/ai/dead-code-20240123-13702536329573366933
chore(ai): remove dead code (agent)
2026-01-30 10:05:35 -05:00
thePR0M3TH3AN 8637cff173 Merge pull request #1971 from PR0M3TH3AN/ai/docs-update-YYYYMMDD-1055396062770171148
Update documentation and build scripts
2026-01-30 10:04:58 -05:00
thePR0M3TH3AN 1956be2356 Merge pull request #1959 from PR0M3TH3AN/ai/todo-triage-15444387951313537222
chore(ai): triage TODOs (TODO)
2026-01-30 10:04:29 -05:00
thePR0M3TH3AN 8bb976e4e2 Merge pull request #1973 from PR0M3TH3AN/codex/refactor-torrent-status-interval-management
Consolidate torrent status mirroring and add visibility-aware interval management
2026-01-30 10:03:58 -05:00
thePR0M3TH3AN 8cdeebed03 Consolidate torrent status interval handling 2026-01-30 10:03:47 -05:00
google-labs-jules[bot]andPR0M3TH3AN e482d32650 chore(ai): remove dead code (agent)
Removed unused exports and functions identified as dead code.
- Removed unused exports from `js/utils/storage.js`, `js/utils/storagePointer.js`, `js/utils/videoTags.js`, `js/ui/moderationCopy.js`.
- Removed unused function `updateTagPillStrip` from `js/ui/components/tagPillList.js` and associated tests.
- Updated `tests/utils/video-tags.test.mjs` to remove test for private function.
- Added `artifacts/depcheck.json` showing dependency analysis.
- Fixed unit test mock for `ProfileModalController` to include `hashtagPreferencesService.load`.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 15:03:18 +00:00
google-labs-jules[bot]andPR0M3TH3AN 4244f2b6bc fix(test): remove duplicate variable declaration in batch fetch test
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 14:52:15 +00:00
google-labs-jules[bot]andPR0M3TH3AN a659cf4163 chore(ai): remove dead code (agent)
Removed unused exports and functions identified as dead code.
- Removed unused exports from `js/utils/storage.js`, `js/utils/storagePointer.js`, `js/utils/videoTags.js`, `js/ui/moderationCopy.js`.
- Removed unused function `updateTagPillStrip` from `js/ui/components/tagPillList.js` and associated tests.
- Updated `tests/utils/video-tags.test.mjs` to remove test for private function.
- Added `artifacts/depcheck.json` showing dependency analysis.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 14:51:11 +00:00
google-labs-jules[bot]andPR0M3TH3AN 2123362b09 fix(build): move build tools to dependencies
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 14:41:23 +00:00
google-labs-jules[bot]andPR0M3TH3AN ac05fe34e0 chore(ai): remove dead code (agent)
Removed unused exports and functions identified as dead code.
- Removed unused exports from `js/utils/storage.js`, `js/utils/storagePointer.js`, `js/utils/videoTags.js`, `js/ui/moderationCopy.js`.
- Removed unused function `updateTagPillStrip` from `js/ui/components/tagPillList.js` and associated tests.
- Updated `tests/utils/video-tags.test.mjs` to remove test for private function.
- Added `artifacts/depcheck.json` showing dependency analysis.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 14:40:25 +00:00
google-labs-jules[bot]andPR0M3TH3AN 70e596b314 fix(test): mock hashtagPreferencesService.load in profile modal tests
- Added missing `load` method to `baseHashtagPreferences` mock in `tests/profile-modal-controller.test.mjs` to fix `TypeError: this.hashtagPreferencesService.load is not a function`.
- Updated `package.json` to run `tailwindcss` directly instead of via `npx` to resolve CI build errors ("could not determine executable to run").

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 14:35:24 +00:00
thePR0M3TH3AN f19efaed16 Merge pull request #1972 from PR0M3TH3AN/codex/refactor-logging-in-torrentstatuscontroller
Throttle torrent status updates and logging
2026-01-30 09:31:08 -05:00
thePR0M3TH3AN d1853743da Throttle torrent status updates and logging 2026-01-30 09:30:55 -05:00
google-labs-jules[bot]andPR0M3TH3AN 4966efd5aa fix(test): fix app-batch-fetch-profiles and profile-modal-controller tests
Co-authored-by: PR0M3TH3AN <[email protected]>
2026-01-30 14:28:15 +00:00
thePR0M3TH3AN f1000b1f88 Merge pull request #1969 from PR0M3TH3AN/ai/lint-20260130-8786554545374498697
chore(ai): apply formatting/lint autofixes
2026-01-30 09:28:11 -05:00
thePR0M3TH3AN b1d6dc37f6 Merge branch 'unstable' into ai/lint-20260130-8786554545374498697 2026-01-30 09:28:01 -05:00
thePR0M3TH3AN a3deeed44e Merge pull request #1967 from PR0M3TH3AN/ai/tests-improve-coverage-20250220-10675377090391221934
test(ai): improve unit test coverage and stability (agent)
2026-01-30 09:27:19 -05:00
thePR0M3TH3AN 9392e08cbd Merge branch 'unstable' into ai/tests-improve-coverage-20250220-10675377090391221934 2026-01-30 09:27:07 -05:00