Skip to content

Fix cache invalidation, claim evidence, migrations, and policy dates - #801

Merged
nonsobethel0-dev merged 1 commit into
Parashield-Protocol:mainfrom
Fuher1:fix/issues-787-790
Oct 20, 2026
Merged

nonsobethel0-dev merged 1 commit into
Parashield-Protocol:mainfrom
Fuher1:fix/issues-787-790

Conversation

@Fuher1

@Fuher1 Fuher1 commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace blocking Redis KEYS cache invalidation with incremental SCAN batches and document the strategy.
  • Add authenticated claim evidence uploads that reject empty submissions, validate file signatures/types/sizes, and persist evidence bytes.
  • Remove migrations from production application startup; add a separate migration command, Docker Compose migration profile, and Prisma migration lock metadata.
  • Validate policy PATCH date combinations using the effective existing/new coverage window and revalidate oracle-key coverage.

Verification

  • Focused issue regression tests pass: Redis large-keyspace scan, evidence upload, policy date updates, and production startup.
  • Full Jest suite: 42 suites passed, 30 failed (744 tests; 645 passed, 99 failed). Failures are blocked by existing duplicate declarations in src/oracle/oracle.service.ts and related baseline errors.
  • npm run build remains blocked by pre-existing errors in Oracle, Stellar, policy, benchmark, and security-header modules.

Closes #787
Closes #788
Closes #789
Closes #790

@drips-wave

drips-wave Bot commented Oct 19, 2026

Copy link
Copy Markdown

@Fuher1 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@nonsobethel0-dev
nonsobethel0-dev merged commit 8e35c07 into Parashield-Protocol:main Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment