Skip to content

feat: drop separate status db copies in workdir - #3602

Merged
mkoura merged 1 commit into
masterfrom
rm_status_db_copy
Aug 11, 2026
Merged

feat: drop separate status db copies in workdir#3602
mkoura merged 1 commit into
masterfrom
rm_status_db_copy

Conversation

@mkoura

@mkoura mkoura commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

The status database of each pytest run is included in the testing_artifacts dir (and in the testing_artifacts.tar.xz artifact) together with the rest of the pytest temp dir content, so there is no need to copy the databases separately to the workdir and upload them in the testrun-files artifact. Point the failure analysis prompts to the database copies in the testing_artifacts dir.

@mkoura
mkoura requested a review from saratomaz as a code owner August 11, 2026 11:59
@mkoura
mkoura requested a lite review from Copilot and removed request for saratomaz August 11, 2026 12:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 removes the extra “workdir copy” of cluster-management status SQLite databases and instead relies on the copies already present in testing_artifacts/ (and testing_artifacts.tar.xz). It also updates the failure-analysis prompts and CI artifact lists to point to the databases inside testing_artifacts/pytest-*/cm-status.db.

Changes:

  • Delete runner/status_dbs.sh and stop copying cm-status-*.db* into run_workdir/.
  • Update regression/upgrade runner scripts and reusable workflows to stop uploading cm-status-*.db* in the testrun-files artifact.
  • Update failure-analysis prompt templates to reference testing_artifacts/pytest-*/cm-status.db instead of cm-status-N.db.

Reviewed changes

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

Show a summary per file
File Description
runner/status_dbs.sh Removes the standalone script that copied status DBs into the workdir.
runner/regression.sh Stops invoking status_dbs.sh; relies on testing_artifacts only.
runner/node_upgrade.sh Stops invoking status_dbs.sh; always saves testing_artifacts at end.
agent_docs/upgrade_failure_analysis_prompt.md Points analysts to testing_artifacts/pytest-*/cm-status.db and explains ordering by mtime.
agent_docs/failure_analysis_prompt.md Points analysts to testing_artifacts/pytest-*/cm-status.db.
.github/workflows/upgrade_reusable.yaml Removes cm-status-*.db* from testrun-files artifact upload.
.github/workflows/regression_reusable.yaml Removes cm-status-*.db* from testrun-files artifact upload.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread runner/node_upgrade.sh Outdated
The status database of each pytest run is included in the
testing_artifacts dir (and in the testing_artifacts.tar.xz artifact)
together with the rest of the pytest temp dir content, so there is no
need to copy the databases separately to the workdir and upload them
in the testrun-files artifact. Point the failure analysis prompts to
the database copies in the testing_artifacts dir.
@mkoura
mkoura force-pushed the rm_status_db_copy branch from 4d1a308 to 5124a3e Compare August 11, 2026 12:15
@mkoura
mkoura merged commit 7c447f3 into master Aug 11, 2026
1 check passed
@mkoura
mkoura deleted the rm_status_db_copy branch August 11, 2026 12: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.

2 participants