[codex] Add environment-aware artifact fetching#63
Draft
n30nex wants to merge 1 commit into
Draft
Conversation
a3a18e6 to
6810b85
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--env tdeck|tdeck-meshcoretoscripts/fetch_tdeck_artifact.pyFLASH_MANIFEST.txtagainst the requested artifact environment, treating missing env as standardtdeckscripts/release_evidence.pyto generate matching standard or MeshCore evidence commands and detect stale manifest/env mismatchesValidation
git diff --checkpython -m py_compile scripts\\fetch_tdeck_artifact.py scripts\\release_evidence.py scripts\\tdeck_smoke.py scripts\\tdm_airtime_smoke.pypython scripts\\tdm_airtime_smoke.py --selftestpython scripts\\fetch_tdeck_artifact.py --env tdeck --repo ItsLimitlezz/LimitlezzOS --run-id 27872850182 --commit 378bde99cf23ebd35e123d0d2759b945f91dca92 --out .pio\\ci-artifacts\\fetch-env-standard-testpython scripts\\fetch_tdeck_artifact.py --env tdeck-meshcore --repo ItsLimitlezz/LimitlezzOS --run-id 27872850182 --commit 378bde99cf23ebd35e123d0d2759b945f91dca92 --out .pio\\ci-artifacts\\fetch-env-meshcore-test--env tdeck-meshcorewith the standard artifact name fails withDownloaded artifact environment mismatch: manifest has tdeck, expected tdeck-meshcore.python scripts\\release_evidence.py --env tdeck-meshcore --repo ItsLimitlezz/LimitlezzOS --branch codex/display-safe-chat-text --commit 378bde99cf23ebd35e123d0d2759b945f91dca92 --artifact-dir .pio\\ci-artifacts\\fetch-env-meshcore-test --port COM8Firmware CIrun27873369637passed for head6810b85e2c4f1d1407ddaacf7bbf747410d9d6f3python scripts\\fetch_tdeck_artifact.py --env tdeck-meshcore --repo ItsLimitlezz/LimitlezzOS --run-id 27873369637 --commit 6810b85e2c4f1d1407ddaacf7bbf747410d9d6f3env=tdeck-meshcore,meshcore_enabled=1,budget_status=pass,firmware_bytes=1578368,static_ram_bytes=230196Hardware
USB Serial Device (COM8), VID/PID303A:1001, statusOKtdeck-meshcoreartifact from run27873369637to COM8 with direct no-stub esptool; ESP32-S3 rev v0.2, MACcc:8d:a2:0d:14:28, all write hashes verifiedpython scripts\\tdeck_smoke.py --port COM8 --env tdeck-meshcore --skip-upload --open-timeout 60 --boot-timeout 90 --timeout 45 --no-expect --commands id sys net rf stats wifi "companion test"-> PASS!a20d1428 "limitlessdeck" (LIMI), battery 100% USB, RAM 42/151KB, Meshtastic on, MeshCore on, companion test PASSpython scripts\\tdm_airtime_smoke.py --port COM8 --open-timeout 60 --boot-timeout 60 --timeout 30-> PASS