Repository navigation
Fix CI after the pwa.pit.world sweep (own-host check in reddit sync) - #104
Merged
Merged
Conversation
…he move The domain sweep (#103) moved the reddit-sync fixture to c0upons.pwa.pit.world, but the own-site check still only matched c0upons.com, so our own coupons reposted to r/couponcodes would be re-imported as new listings (with store 'pit.world'). The check now matches both the pwa host and the retired c0upons.com. Test expectations for the CLI upgrade URL and bbs thread links now assert the pwa host. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ThreatCrush Security Scan40 finding(s) MEDIUM: 33 | LOW: 7
Snippets are redacted; ThreatCrush never prints matched credential material. |
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.
Master CI has been red since #103.
Runtime fix:
apps/web/lib/reddit-sync.tsdeclined posts that link back to us only when the host wasc0upons.com(a regex-escaped form the sweep deliberately left alone). Now that the app lives onc0upons.pwa.pit.world, our own coupons reposted to r/couponcodes would come back in as new listings with storepit.world. The check now matches the pwa host and the retired c0upons.com.Tests: CLI upgrade URL (
test/versions.test.mjs) and bbs thread links (test/bbs-post.test.mjs) now assert the pwa host.Local:
bun run typecheck && bun run testgreen (91 pass).🤖 Generated with Claude Code