Skip to content

Do not keep sessions if project is paused or ended#1267

Merged
luhmirin-s merged 1 commit into
release/2025.2.0from
hotfix/delete-session-fix
Jul 17, 2025
Merged

Do not keep sessions if project is paused or ended#1267
luhmirin-s merged 1 commit into
release/2025.2.0from
hotfix/delete-session-fix

Conversation

@luhmirin-s
Copy link
Copy Markdown
Contributor

JIRA ticket
Will be released in: 2025.2.0

Root cause analysis (for bugfixes only)

First known affected version: 2025.2.0?

  • When the project is in ending or paused state, sessions are still being kep,t which can result in an "alert-only" session being uploaded on the final sync attempt from the device.

Notable changes

  • When returning error response from the app, delete any session events if the project is not in the RUNNING state.

Testing guidance

  • Create a project, create some sessions, mark the project as ending, update the config on the device, but do not up-sync the data.
  • Try running some workflows and wait until the upsync.

Additional work checklist

  • Effect on other features and security has been considered
  • Design document marked as "In development" (if applicable)
  • External (Gitbook) and internal (Confluence) Documentation is up to date (or ticket created)
  • Test cases in Testiny are up to date (or ticket created)
  • Other teams notified about the changes (if applicable)

@luhmirin-s luhmirin-s requested review from a team, BurningAXE, TristramN, alex-vt, alexandr-simprints, meladRaouf and ybourgery and removed request for a team July 16, 2025 14:30
@cla-bot cla-bot Bot added the ... label Jul 16, 2025
@sonarqubecloud
Copy link
Copy Markdown

@luhmirin-s luhmirin-s merged commit 50e6eda into release/2025.2.0 Jul 17, 2025
12 checks passed
@luhmirin-s luhmirin-s deleted the hotfix/delete-session-fix branch July 17, 2025 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants