No description
Find a file
Graham McIntire 872c94bea1
Fix bugs and performance: Oban chain, 0-cent prices, duplicate queries, regex fragility
- Fix Oban self-scheduling chain silently dying (remove unique constraint so after block can schedule next job)
- Fix Natchez and TrueShotAmmo extract_price defaulting to 0 for missing price data
- Fix caliber_matcher redundant String.downcase inside Enum.find (pre-downcase outside loop)
- Fix runner.ex double iteration (Enum.map + Enum.count merged into single Enum.reduce)
- Fix price_stats_for_caliber firing 3 queries instead of 2 (merge all_time + thirty_day via FILTER)
- Fix PSA duplicate Floki.find on same selector (merge extract_title + extract_url)
- Fix PubSub broadcast carrying no caliber IDs (now includes IDs; clients skip irrelevant reloads)
- Fix BulkAmmo ^ anchor skipping non-leading round counts
- Fix TargetSportsUSA fragile exact text match 'Add To Cart' (use case-insensitive contains)
- Fix SgAmmo dead destructure {_, _, _} = row
- Fix text_detector brass/nickel detection order
- Fix Natchez GraphQL string interpolation (add escape_gql_string)
- Fix chart data triple Enum.map merged into single reduce
- Change Oban scraping queue workers from 2 to 1 (only one needed with Process.sleep)
2026-06-21 18:14:49 -05:00
assets Update dependencies 2026-04-22 15:28:07 -05:00
config Fix bugs and performance: Oban chain, 0-cent prices, duplicate queries, regex fragility 2026-06-21 18:14:49 -05:00
lib Fix bugs and performance: Oban chain, 0-cent prices, duplicate queries, regex fragility 2026-06-21 18:14:49 -05:00
priv Update dependencies 2026-05-11 10:12:53 -05:00
rel/overlays/bin Fix executable permissions on release scripts 2026-03-12 07:55:19 -05:00
test Fix bugs and performance: Oban chain, 0-cent prices, duplicate queries, regex fragility 2026-06-21 18:14:49 -05:00
.dockerignore Add Dokku deployment configuration 2026-03-11 16:51:44 -05:00
.formatter.exs Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
.gitignore Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
.tool-versions chore: pin erlang 28.5 and elixir 1.19.5-otp-28 2026-05-05 16:38:15 -05:00
AGENTS.md Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00
app.json Add Dokku deployment configuration 2026-03-11 16:51:44 -05:00
CLAUDE.md Add credo with --strict mode and fix all issues 2026-03-12 13:35:12 -05:00
Dockerfile Add Dokku deployment configuration 2026-03-11 16:51:44 -05:00
mix.exs Add credo with --strict mode and fix all issues 2026-03-12 13:35:12 -05:00
mix.lock Update dependencies, add Plausible analytics, fix Oban unique states warning 2026-06-06 12:43:19 -05:00
Procfile Add Dokku deployment configuration 2026-03-11 16:51:44 -05:00
README.md Initial implementation of ammo price tracker 2026-03-11 15:58:12 -05:00

Ammoprices

To start your Phoenix server:

  • Run mix setup to install and setup dependencies
  • Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Learn more