Skip to content

Conversation

@FuhuXia
Copy link
Member

@FuhuXia FuhuXia commented May 21, 2025

For GSA/data.gov#5253

  • bring in session fix code from ckanext-datagovtheme
  • allow 15 mins idle time

@FuhuXia FuhuXia requested a review from Copilot May 21, 2025 20:34
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the session configuration to integrate the session fix code from ckanext-datagovtheme and implements a 15-minute idle timeout while upgrading the datagovtheme dependency.

  • Integrates new session settings using SESSION_PERMANENT and PERMANENT_SESSION_LIFETIME
  • Upgrades ckanext-datagovtheme from version 0.3.7 to 0.3.8
  • Adds commented .env entries for potential cloud.gov session behavior

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
ckan/setup/ckan.ini Removes legacy beaker session options and introduces new session settings
ckan/requirements.txt Updates the datagovtheme dependency version
.env Adds commented-out session configuration options for cloud.gov behavior
Comments suppressed due to low confidence (1)

ckan/setup/ckan.ini:36

  • Removal of legacy beaker session options could confuse readers; consider adding a comment to explain how the new SESSION_PERMANENT and PERMANENT_SESSION_LIFETIME settings integrate with the existing session configuration.
-beaker.session.type=ext:database

@FuhuXia FuhuXia requested a review from a team May 21, 2025 20:47
@FuhuXia FuhuXia marked this pull request as draft May 22, 2025 14:00
@FuhuXia FuhuXia marked this pull request as ready for review May 22, 2025 16:39
Copy link
Contributor

@jbrown-xentity jbrown-xentity left a comment

Choose a reason for hiding this comment

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

LGTM

@FuhuXia FuhuXia merged commit 00badfe into main May 22, 2025
24 checks passed
@FuhuXia FuhuXia deleted the refresh-session branch May 22, 2025 22:18
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.

3 participants