Skip to content

Prefer the successful update receipt over stale environment version - #6142

Closed
0xacee wants to merge 5 commits into
Osmantic:mainfrom
0xacee:fix/dashboard-version-source-order
Closed

0xacee wants to merge 5 commits into
Osmantic:mainfrom
0xacee:fix/dashboard-version-source-order

Conversation

@0xacee

@0xacee 0xacee commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Read the authoritative successful update receipt before stale environment version values, retaining JSON and plain-text receipt compatibility. The dashboard then reports the installed version after an update.

Closes #7304

Updated this existing PR onto upstream main b4f015a921c59eeb20317c5f48adf2dfb43b1430, preserving its original commits and attribution. Exact published candidate: 39b6a3de991aa4c15569d08611d0c5be9a25375d. This contains a content-empty CI snapshot refresh commit; its file tree is identical to independently reviewed and natively tested 9cdd13e3032ab784e20ace9a844ed2d64cb4d923 (c3acf2619d10eab585fe156e2ebddca226c7971d).

AI Assistance

0xacee and Codex collaborated on this PR. The contributor provided project direction, scope decisions and environment setup; Codex assisted with analysis, implementation or reconstruction, tests, review and PR preparation. The validation commands were executed by Codex, with results and limitations documented in this PR. The human contributor remains responsible for the final changes and validation claims. Maintainer review and applicable release gates remain required before merge.

Release Lane

  • Mainline change targeting main

Changed Surface

  • Dashboard API / host agent

Risk And Validation

  • Risk level: Medium

  • git diff --check

  • Focused tests listed below

  • Commit identity gate and CI test-inventory gate

pytest tests/test_update_detection.py — 30 passed; fresh main: 4 failed, 26 passed

Execution environment: isolated ODS-QA WSL Linux, Python 3.12 / Node 22 as applicable. Tested exported source trees are identical to this candidate tree. New shell suites are wired into ods/tests/ci-suite.txt; existing API/UI/service jobs retain their execution wiring. Independent agent reviewed the exact candidate; this is not human release approval. GitHub CI on this updated head is pending.

Operational Change Check

  • Operational or user-facing validation intentionally deferred as described below.

Native Python 3.12 endpoint tests exercise persisted version selection. No complete live self-update/restart performed on this exact candidate; release fleet validation deferred.

Notes For Reviewers

This PR addresses one independently useful outcome; it does not claim the separate full-product installation validates this candidate. Original historical validation remains in prior PR history; only the receipts described above were freshly rerun.

@0xacee
0xacee changed the base branch from public-beta to main October 3, 2026 04:33
Preserve the existing PR scope and original head ancestry. Include executing CI inventory for new shell regressions; qualify against fresh upstream main with isolated native Linux tests.
@0xacee 0xacee changed the title fix(dashboard-api): prefer the post-update version receipt over stale .env Prefer the successful update receipt over stale environment version Oct 4, 2026
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.

Version endpoint reports stale environment version after update

1 participant