Skip to content

Fix dev container CI by returning server_protocol to upstream value - #443

Open
Rub21 wants to merge 3 commits into
stagingfrom
fix-devcontainer-secure-cookies
Open

Fix dev container CI by returning server_protocol to upstream value#443
Rub21 wants to merge 3 commits into
stagingfrom
fix-devcontainer-secure-cookies

Conversation

@Rub21

@Rub21 Rub21 commented Jul 20, 2026

Copy link
Copy Markdown
Member

Fixes OpenHistoricalMap/issues#1407
Fixes OpenHistoricalMap/issues#1180

The dev container CI was failing because settings.yml had server_protocol=https (introduced in 234f272). With that value the app tries to work with Secure cookies, which does not work for tests.

I have also fixed the teaspoon locationCookie tests by using the Mapnik layer. This is the same change as in #439, but I had to include it here too to make sure all tests pass.

@Rub21
Rub21 requested a review from 1ec5 July 20, 2026 19:47
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 29773436014

Warning

No base build found for commit 061a1be on staging.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 96.455%

Details

  • Patch coverage: No coverable lines changed in this PR.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 7362
Covered Lines: 7101
Line Coverage: 96.45%
Coverage Strength: 896.51 hits per line

💛 - Coveralls

@1ec5 1ec5 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Once this is in, I’ll rebase #439 to only fix the remaining issue there.

Comment thread config/settings.yml
Comment on lines +2 to +3
server_protocol: "http"
server_url: "openstreetmap.example.com"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure that OpenHistoricalMap/issues#1091 hasn’t regressed per #301 (comment).

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.

Dev container build fails on CI Hundreds of ohm-website test failures on staging

3 participants