fffiloni commited on
Commit
b967caf
Β·
verified Β·
1 Parent(s): cbd2104

Upload 6 files

Browse files
Files changed (3) hide show
  1. CHANGELOG.md +16 -37
  2. README.md +11 -0
  3. pyproject.toml +0 -4
CHANGELOG.md CHANGED
@@ -1,44 +1,23 @@
1
- # v184 β€” Compact Model Pre-scan Card
2
 
3
- - Refined the default Model pre-scan card to be more visible without adding heavy borders.
4
- - Reworked successful model pre-scan results into a compact premium summary with metadata icon chips, inline signal pills, and a single recommendation line.
5
- - Reduced the visual footprint of safe scans while preserving pipeline, library, expected output, good signals, and recommendations.
6
 
7
- # v176 β€” startup import fix for eval archive build
8
 
9
- - Fixed a syntax error in `src/bucket.py` caused by nested quotes inside the launch summary `artifacts_url` f-string.
10
- - Verified that the app imports/compiles cleanly again and that the full test suite passes.
11
 
12
- # v174 β€” Bucket run-prefix mount and robust worker bootstrap writes
 
 
 
 
 
 
 
 
13
 
14
- - Mounted the `runs/` Storage Bucket prefix explicitly into Jobs using `Volume(type="bucket", source=..., path="runs", mount_path="/output/runs")`.
15
- - Preserved the worker contract: `OUTPUT_ROOT=/output`, `run_dir=/output/runs/<run_id>`, and remote objects under `runs/<run_id>/`.
16
- - Hardened API-side `_worker.py` persistence with `HfFileSystem.write_text`, `pipe_file`, `open(..., "wb")`, and a final `sync_bucket` fallback.
17
- - Removed virtual-directory creation for Bucket prefixes and kept deletion/listing/document links aligned with the configurable run prefix.
18
- - Raised the minimum `huggingface_hub` requirement to `>=1.11.0`.
19
 
20
- # v173 β€” Bucket path separation fix
21
 
22
- - Reverts the v172 API-side `makedirs` workaround for fresh run prefixes.
23
- - Keeps a strict distinction between remote bucket object URIs (`hf://buckets/<namespace>/<bucket>/runs/<run_id>/...`) and Job mount paths (`/output/runs/<run_id>/...`).
24
- - Writes API-side bucket objects directly with `HfFileSystem.pipe_file(...)`, with `open(..., "w")` as a compatibility fallback.
25
- - Adds tests to prevent treating virtual `runs/` prefixes as directories/repositories.
26
-
27
- # v172 β€” fresh bucket writes and pre-scan polish
28
-
29
- - Keeps Hugging Face Space metadata at the very top of `README.md` so the app archive cannot boot with a configuration error.
30
- - Makes fresh Bucket run-prefix writes more robust by creating parent prefixes before writing `_worker.py`, `launch.json`, `summary.json`, `state.json`, and other API-authored artifacts.
31
- - Restyles the Model pre-scan card into a calmer premium status panel with compact metadata chips and less oversized success treatment.
32
-
33
- # v171 β€” delete Space option, ghost-run cleanup, storage polish
34
-
35
- - Added an opt-in checkbox in the premium delete modal to delete the associated generated Space for build runs.
36
- - Kept validation runs protected from accidental associated Space deletion.
37
- - Made ghost/unknown run prefixes deletable from Run Explorer.
38
- - Compacted the Run Storage setup error card.
39
- - Preserved the v170 real recursive bucket deletion behavior.
40
-
41
- # v120 β€” Agent recovery UI
42
-
43
- - Added the Agent recovery section to summarize Pi recovery decisions, blockers, evidence, and repair/revalidation status.
44
- - Kept detailed source files in Run traces instead of duplicating raw recovery logs in the summary card.
 
1
+ # Changelog
2
 
3
+ ## v188.8 β€” deploy-clean release
 
 
4
 
5
+ This deployable package consolidates the v188.1 β†’ v188.8 fixes into a clean runtime archive.
6
 
7
+ ### Highlights
 
8
 
9
+ - Partial validation states no longer render as full success.
10
+ - `/health` validation is correctly reflected in inference gate records.
11
+ - Generation smoke tests are schema-aware and can use `INFERENCE_CONTRACT.json` smoke payloads.
12
+ - Smoke-test failures are classified by owner/type, including validator request errors vs generated app runtime errors.
13
+ - Anonymous eval records include explicit verdict, outcome, and validation fields.
14
+ - Backend eval archive publication is observable via `eval_publish_status.json`.
15
+ - Active Run UI better reflects post-run states, recovery, fallback hardware, latency, documents, and eval archive status.
16
+ - Space log collection is more robust, with SDK/REST fallbacks and structured diagnostics.
17
+ - Runtime versioning is centralized in `src/version.py`.
18
 
19
+ ### Sanitization notes
 
 
 
 
20
 
21
+ The deploy-clean archive removes development-only tests, old version-specific changelog files, Python caches, and temporary files.
22
 
23
+ Operational/debug assets are preserved, including `worker/hello_worker.py`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md CHANGED
@@ -13,6 +13,17 @@ hf_oauth_scopes:
13
  - read-billing
14
  ---
15
 
 
 
 
 
 
 
 
 
 
 
 
16
  ## v181 β€” Backend-published private eval archive
17
 
18
  - Keeps the operator eval bucket private and mounted only on the ASF Space, not on per-user Jobs.
 
13
  - read-billing
14
  ---
15
 
16
+ ## v188.8 β€” Space logs collection consolidation
17
+
18
+ - Finalizes the v188 sequence after the live `universal-20260606-181620-5f6004b8` diagnostic run.
19
+ - Treats health-only/full-inference-candidate outcomes as partial validation rather than full success.
20
+ - Uses schema-aware and contract-aware generation smoke tests so required Gradio arguments such as `negative_prompt` are supplied.
21
+ - Enriches anonymous eval records with explicit `verdict`, `outcome`, `validation`, `failure_owner`, and `failure_reason` fields.
22
+ - Separates run-local `eval_record.json` creation from backend publication to the operator eval archive via `eval_publish_status.json`.
23
+ - Polishes Active Run post-run UI for partial validation, recovery, documents, hardware fallback and terminal actions.
24
+ - Centralizes the default app/eval version in `src/version.py` so Job env and eval records no longer drift across releases.
25
+ - Consolidates Space build/runtime log collection with `logs/space_logs_index.json`, runtime snapshots and explicit unavailable states.
26
+
27
  ## v181 β€” Backend-published private eval archive
28
 
29
  - Keeps the operator eval bucket private and mounted only on the ASF Space, not on per-user Jobs.
pyproject.toml CHANGED
@@ -9,7 +9,3 @@ dependencies = [
9
  "pydantic>=2.0.0",
10
  "python-dateutil>=2.9.0",
11
  ]
12
-
13
- [tool.pytest.ini_options]
14
- pythonpath = ["."]
15
- testpaths = ["tests"]
 
9
  "pydantic>=2.0.0",
10
  "python-dateutil>=2.9.0",
11
  ]