Skip to content

Upgrade framework and page middleware; version website assets - #88

Merged
dblock merged 1 commit into
masterfrom
upgrade/rack-server-pages-0.3.0
Oct 25, 2026
Merged

dblock merged 1 commit into
masterfrom
upgrade/rack-server-pages-0.3.0

Conversation

@dblock

@dblock dblock commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Upgrade slack-ruby-bot-server to the released 2.3.0 and rack-server-pages to 0.3.0. Add explicit compatible dependency constraints; keep the dependency update narrowly scoped.

Version local CSS, JavaScript, image, favicon, and stylesheet background-image URLs through the escaped asset_path helper. Keep /styles.css as the public URL while rendering styles.css.erb so nested image URLs change when image content changes.

Configure template Cache-Control: private, no-cache centrally through config.server_pages in the framework initializer. Remove the per-template header assignments from the shared head partial and generated stylesheet. Preserve static-file ETag/timestamp defaults and the existing revalidation policy; versioned URLs are not immutable archives. Update website caching guidance and changelog.

Load application initializers before test support builds the Capybara middleware stack, matching production boot order. Adapt the health-error regression to stub the Slack API instead of the old unfiltered model-selection implementation, and cover 2.3.0 deactivation/explicit failed-ping behavior for revoked installations.

Validation

Full local suite: 72 examples, 0 failures, including browser refresh/background-image coverage, HTML/generated-CSS headers, content-versioned asset URLs, static ETag validation, and health-check errors. RuboCop auto-correction and baseline regeneration completed with no new exclusions or increased limits.

Authored by Copilot (AI), on behalf of @dblock.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dblock
dblock force-pushed the upgrade/rack-server-pages-0.3.0 branch from a24c645 to c189784 Compare October 25, 2026 21:03
@dblock dblock changed the title Upgrade rack-server-pages to 0.3.0 and version website assets Upgrade framework and page middleware; version website assets Oct 25, 2026
@dblock
dblock merged commit d92e052 into master Oct 25, 2026
4 checks passed
@dblock
dblock deleted the upgrade/rack-server-pages-0.3.0 branch October 25, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant