Repository navigation
feat(devvit): port to Devvit Web (autowikimod) - #79
Merged
Merged
Conversation
Replace the classic @devvit/public-api scaffold with a Devvit Web server (devvit.json, Hono /internal routes, @devvit/web 0.14.8). - Cron publish every 20 minutes; onModAction dropped because its payload carries no reason text and the cron already reads the mod log. - Renderer ported from build_wiki_content, including FR-7 removal/reason merging and FR-8 approval gating via a Redis hash keyed by target id. - Settings: wiki page (default modlog-devvit), days shown/kept (90), action list, anonymize (cannot be disabled), ignored moderators. - Menu: Publish now, Force rebuild, Test connection.
parity/python_render.py runs the fixture through the unmodified Python publisher; the TS pipeline must reproduce golden.md byte for byte.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ports
devvit/from the classic@devvit/public-apiscaffold to Devvit Web asautowikimod, ahead of the Data API closing to unregistered apps on 2027-01-12.devvit.json+ Hono/internal/*server on@devvit/web0.14.8, built todist/server/index.cjswith@devvit/start.onModActiondropped: its payload carries no reason text and the cron already reads the mod log.build_wiki_content. FR-7 merges a removal with itsaddremovalreason. FR-8 shows approvals only when they reverse a Reddit/AutoModerator removal, looked up in a Redis hash keyed by target id.modlog-devvitfor side-by-side cutover), days shown/kept (90), action list, anonymize (cannot be disabled), ignored moderators. Menu: Publish now, Force rebuild, Test connection.@devvit/test, publish cycle). The golden parity test runs a fixture through the unmodified Python publisher and requires byte-identical TS output; CI regenerates the golden with uv and fails on drift.devvit.ymlworkflow on thehetznerrunner.Not yet uploaded or playtested. Deliberate differences from Python and the live-playtest list are in
devvit-migration/docs/STATUS.md.Supersedes #72 (public-api bump) since the classic package is removed.
🤖 Generated with Claude Code