Skip to content

perf: add compression filter and document HTTP/2 proxy setup (#744)#813

Open
MAN7A-afk wants to merge 823 commits into
bakeronchain:mainfrom
MAN7A-afk:main
Open

perf: add compression filter and document HTTP/2 proxy setup (#744)#813
MAN7A-afk wants to merge 823 commits into
bakeronchain:mainfrom
MAN7A-afk:main

Conversation

@MAN7A-afk
Copy link
Copy Markdown
Contributor

Closes #744

What I did:

  • Added compression filter skipping images, video, audio, and IPFS paths
  • Documented HTTP/2 via proxy
  • Noted static assets are not served here
  • Added latency context explanation

Anuoluwapo25 and others added 30 commits March 28, 2026 15:35
…sts-and-ci-regressions

fix: resolve contract test regressions
…-governance-allowance-expiry-and-escrow-tests

feat: 415 and 436 governance allowance expiry and escrow tests
…ations

feat: replace inline DDL with numbered SQL migrations
…w-auth

fix: restrict reclaim and release auth to escrow record admin
…rses-from-api

feat: fetch frontend courses from backend API
…-learn-token-event-and-comments-security

fix: 418 and 428 learn token event and comments security
Regenerate root and server lock files to include missing packages
(@noble/hashes, sanitize-html and dependencies) that were added in
recent PRs but not committed, causing npm ci failures in CI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Previous lock file was generated with npm 11 (Node 24) but CI uses
npm 10 (Node 22), causing @noble/hashes@2.0.1 and other packages to
appear missing during npm ci. Regenerated with the matching version.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tones

feat: Implement CourseMilestone complete_milestone with LRN reward config
…-wiring

fix: wire Credential.tsx to scholar_nft contract and IPFS
…-bump

fix: add persistent storage TTL bumps to scholar_nft contract
…e-fn

fix(scholar-nft): remove admin param from revoke(), read from storage…
feat: Add contract interaction diagram (Mermaid) to README
Run npx prettier --write on all files that were flagged by the CI
prettier check step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The file was corrupted during a bad merge of the complete-milestones
branch, interleaving fragments from both sides. Restored to the
clean version from commit 3be0456 which includes all complete_milestone
tests with proper MockLearnToken, authorize helpers, and setup().

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…n comment vote endpoint

Fixes bakeronchain#425

- Add a VOTE_COLUMN constant (Record<string, string>) mapping 'upvote' -> 'upvotes' and 'downvote' -> 'downvotes'
- Replace the !['upvote','downvote'].includes(type) guard with !VOTE_COLUMN[type]
- Use const col = VOTE_COLUMN[type] at all three query sites (remove-vote, change-vote, new-vote branches) instead of interpolating the user-supplied `type` value directly into SQL templates
Replace pointer dereferences (*event_contract_id, *topics, *data)
with direct comparisons, and use topics.contains() + data.into_val()
pattern consistent with how other contracts assert events in this repo.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
MockAuthInvoke.args expects Vec<Val> in SDK v23, not Val.
Add Vec to imports and update the IntoVal bound accordingly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…lestone

extend_ttl panics if the key doesn't exist. When complete_milestone is
called without a prior set_milestone_reward, MilestoneLrn key is absent.
Only extend if the key exists (reward defaults to 0 already via unwrap_or).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Anuoluwapo25
Copy link
Copy Markdown
Contributor

please fix conflicts

@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 24, 2026

@MAN7A-afk 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

@Anuoluwapo25
Copy link
Copy Markdown
Contributor

@MAN7A-afk I think you can pull from upstream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

perf: add HTTP/2 and compression middleware to Express backend