{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":775351466,"defaultBranch":"main","name":"good_job","ownerLogin":"mec","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-03-21T08:22:59.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/480578?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1711015141.0","currentOid":""},"activityList":{"items":[{"before":"7db14d0a186fb490fc1882220fdb6a8da91b5040","after":"6ab746053bd53192c3537657a8d4549eacb8e7e4","ref":"refs/heads/add-pghero-to-demo","pushedAt":"2024-03-24T16:48:20.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"bensheldon","name":"Ben Sheldon [he/him]","path":"/bensheldon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/47554?s=80&v=4"},"commit":{"message":"Merge branch 'main' into add-pghero-to-demo","shortMessageHtmlLink":"Merge branch 'main' into add-pghero-to-demo"}},{"before":"639323f60190fa84fc028557e60432af20a5e11b","after":"7db14d0a186fb490fc1882220fdb6a8da91b5040","ref":"refs/heads/add-pghero-to-demo","pushedAt":"2024-03-23T23:10:05.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"bensheldon","name":"Ben Sheldon [he/him]","path":"/bensheldon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/47554?s=80&v=4"},"commit":{"message":"Only run demo-related tests in Development/Demo test","shortMessageHtmlLink":"Only run demo-related tests in Development/Demo test"}},{"before":"bf549ba74de9acf0ab9433dc841855ab7e7a575a","after":"1acb7218a35b0ff868be8f26cf9407672b6a4c5d","ref":"refs/heads/main","pushedAt":"2024-03-22T08:30:40.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"mec","name":"Meyric Rawlings","path":"/mec","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/480578?s=80&v=4"},"commit":{"message":"docs(readme): remove double \"using\" (#1295)","shortMessageHtmlLink":"docs(readme): remove double \"using\" (bensheldon#1295)"}},{"before":"c847de8f930e4a018004e83548be2dca19ebd5ff","after":"639323f60190fa84fc028557e60432af20a5e11b","ref":"refs/heads/add-pghero-to-demo","pushedAt":"2024-03-21T18:24:08.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mec","name":"Meyric Rawlings","path":"/mec","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/480578?s=80&v=4"},"commit":{"message":"Enable PgHero Query Stats\n\nThis does the work to enable historical query stats in PgHero, but the\nPostgres instance backing the service must also be configured, see:\n\nhttps://github.com/ankane/pghero/blob/master/guides/Rails.md#query-stats\n\nWe are:\n\n- adding the tables to store stats\n- setting up a GoodJob cron job to collect the stats and clean old ones\n(the demo app generates a lot of queries)\n\nFor reference, the recommended settings for `postgres.conf`:\n\n```\nshared_preload_libraries = 'pg_stat_statements'\npg_stat_statements.track = all\npg_stat_statements.max = 10000\ntrack_activity_query_size = 2048\n```\n\nSee:\n\nhttps://github.com/ankane/pghero/blob/master/guides/Query-Stats.md","shortMessageHtmlLink":"Enable PgHero Query Stats"}},{"before":"a86a071880c6fa63e1fee152d2318212a4233245","after":"c847de8f930e4a018004e83548be2dca19ebd5ff","ref":"refs/heads/add-pghero-to-demo","pushedAt":"2024-03-21T16:24:39.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mec","name":"Meyric Rawlings","path":"/mec","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/480578?s=80&v=4"},"commit":{"message":"Add spec to cover PgHero basic auth\n\nWe want to be sure PgHero is behind basic auth. This spec validates that\nonce the correct environment variables are set, PgHero will require\nbasic authentication.\n\nWe have to use the rack_test driver so we can use `basic_authorize` to\nset the headers, rack_test is the default in RSpec/Capybara, but we have\nexplicitly set the driver just in case.","shortMessageHtmlLink":"Add spec to cover PgHero basic auth"}},{"before":"baa496893449344fe28963df313eb67521a100b6","after":"a86a071880c6fa63e1fee152d2318212a4233245","ref":"refs/heads/add-pghero-to-demo","pushedAt":"2024-03-21T16:22:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mec","name":"Meyric Rawlings","path":"/mec","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/480578?s=80&v=4"},"commit":{"message":"Add spec to cover PgHero basic auth\n\nWe want to be sure PgHero is behind basic auth. This spec validates that\nonce the correct environment variables are set, PgHero will require\nbasic authentication.\n\nWe have to use the rack_test driver so we can use `basic_authorize` to\nset the headers, rack_test is the default in RSpec/Capybara, but we have\nexplicitly set the driver just in case.","shortMessageHtmlLink":"Add spec to cover PgHero basic auth"}},{"before":"501da1c146e32b6ca5b1494f9f4553ece4c50584","after":"724bf91567c24d6b7a7e88e79761424fcf08e2ea","ref":"refs/heads/add-implicit-sort-order-to-models","pushedAt":"2024-03-21T15:23:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"bensheldon","name":"Ben Sheldon [he/him]","path":"/bensheldon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/47554?s=80&v=4"},"commit":{"message":"Add `DiscreteExecutions` too","shortMessageHtmlLink":"Add DiscreteExecutions too"}},{"before":null,"after":"baa496893449344fe28963df313eb67521a100b6","ref":"refs/heads/add-pghero-to-demo","pushedAt":"2024-03-21T09:59:01.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mec","name":"Meyric Rawlings","path":"/mec","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/480578?s=80&v=4"},"commit":{"message":"Add PGHero to the demo app\n\nWe want to show any helpful performance data in the GoodJob demo app so\nwe are installing PGHero:\n\nhttps://github.com/ankane/pghero\n\nWe have to add Sprockets to the Rails app so the PGHero assets get loaded\ncorrectly, whilst we could have used a more modern asset pipeline,\nSprockets is well supported and a simple drop in to get PGHero running.\n\nPGHero is available at `/pghero`.\n\nWe have not enabled:\n\n- [Suggested indexes](https://github.com/ankane/pghero/blob/master/guides/Rails.md#suggested-indexes)\n- [Historical query stats](https://github.com/ankane/pghero/blob/master/guides/Rails.md#query-stats)\n- [Historical space stats](https://github.com/ankane/pghero/blob/master/guides/Rails.md#historical-space-stats)\n\nAs these may not be suitable for the demo application and can always be\nadded later.","shortMessageHtmlLink":"Add PGHero to the demo app"}},{"before":"eb7a8eb698e9887b8aa7c8ce0378b3e6d9cb12e5","after":"501da1c146e32b6ca5b1494f9f4553ece4c50584","ref":"refs/heads/add-implicit-sort-order-to-models","pushedAt":"2024-03-21T08:26:26.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"mec","name":"Meyric Rawlings","path":"/mec","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/480578?s=80&v=4"},"commit":{"message":"Set an implicit order on models\n\nAs we use uuids as primary keys the order of objects can be unexpected\nwithout an explicit sort order.\n\nBy setting the `implicit_order_column` to `created_at` we get back the\nexpected behaviour of sequential primary keys.\n\nhttps://api.rubyonrails.org/classes/ActiveRecord/ModelSchema.html#method-c-implicit_order_column","shortMessageHtmlLink":"Set an implicit order on models"}},{"before":null,"after":"eb7a8eb698e9887b8aa7c8ce0378b3e6d9cb12e5","ref":"refs/heads/add-implicit-sort-order-to-models","pushedAt":"2024-03-21T08:23:01.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mec","name":"Meyric Rawlings","path":"/mec","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/480578?s=80&v=4"},"commit":{"message":"Set an implicit order on models\n\nAs we use uuids as primary keys the order of objects can be unexpected\nwithout an explicit sort order.\n\nBy setting the `implicit_order_column` to `created_at` we get back the\nexpected behaviour of sequential primary keys.\n\nhttps://api.rubyonrails.org/classes/ActiveRecord/ModelSchema.html#method-c-implicit_order_column","shortMessageHtmlLink":"Set an implicit order on models"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEHfSpCAA","startCursor":null,"endCursor":null}},"title":"Activity ยท mec/good_job"}