Skip to content

Instantly share code, notes, and snippets.

View ddinchev's full-sized avatar

Dimitar Dinchev ddinchev

View GitHub Profile
@ddinchev
ddinchev / merge-window-guard.yml
Created October 9, 2025 13:25
Merge Window Guard
name: Merge Window Guard (UTC 13:00 cutoff)
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
concurrency:
group: merge-window-guard-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
** Erubis 2.6.6
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................- destroying a user destroys its tracks (ERROR - 1)
1)
ActiveRecord::StatementInvalid in 'User#destroy destroying a user destroys its tracks'
Mysql::Error: Table 'soundcloud_test.track_counts_week_201421' doesn't exist: INSERT INTO track_counts_week_201421 (track_id, favoritings) VALUES (206545269, -1) ON DUPLICATE KEY UPDATE favoritings=COALESCE(favoritings, 0) + -1;
/vagrant/vendor/bundle/ruby/1.9.1/gems/activerecord-2.3.9/lib/active_record/connection_adapters/abstract_a