Update milestone audits for release surfaces (#107)
Some checks failed
First release candidate / non-fuzz-release-gate (push) Has been cancelled
Dependency and supply-chain audit / audit (push) Has been cancelled
Native code generation / deterministic (push) Has been cancelled
Native Rust workspace compile / compile (push) Has been cancelled
Some checks failed
First release candidate / non-fuzz-release-gate (push) Has been cancelled
Dependency and supply-chain audit / audit (push) Has been cancelled
Native code generation / deterministic (push) Has been cancelled
Native Rust workspace compile / compile (push) Has been cancelled
This commit is contained in:
@@ -2462,8 +2462,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "tools/check_milestone_09.py",
|
"path": "tools/check_milestone_09.py",
|
||||||
"bytes": 8936,
|
"bytes": 9044,
|
||||||
"sha256": "db647b53fa55e3b8abed40ee540c4cc7707afbf7f4a48e64873b000e3e32a599"
|
"sha256": "8119dbafc4f36a25dd26ab699666389a48aaa57aa62c26b3a86a84fad1f5363a"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "tools/check_milestone_09_issue_59.py",
|
"path": "tools/check_milestone_09_issue_59.py",
|
||||||
@@ -2492,8 +2492,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "tools/check_milestone_09_issue_64.py",
|
"path": "tools/check_milestone_09_issue_64.py",
|
||||||
"bytes": 3062,
|
"bytes": 3229,
|
||||||
"sha256": "5fc28b61b260d44ba8f9f4e542512f9fb9cd221b9f7e27f4b19c5d5433624e26"
|
"sha256": "eb806e12f7c23793b3c6d6d66ae31965711fe65a38aa68fa9bf6c54b8126c83f"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "tools/check_milestone_09_issue_65.py",
|
"path": "tools/check_milestone_09_issue_65.py",
|
||||||
@@ -2507,8 +2507,8 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "tools/check_milestone_10.py",
|
"path": "tools/check_milestone_10.py",
|
||||||
"bytes": 8977,
|
"bytes": 9122,
|
||||||
"sha256": "a41e9744757399048f5cda7caf51bb9e9f7c5d96d2830989229aaf5c45b32c72"
|
"sha256": "da1dba171d8f234e6d9234e70296f82a7eb87c943111ffd59be7d802d08e76bb"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "tools/check_milestone_10_issue_76.py",
|
"path": "tools/check_milestone_10_issue_76.py",
|
||||||
|
|||||||
@@ -225,8 +225,10 @@ def check_docs_and_program_prerequisites() -> None:
|
|||||||
if len(projects) != 9:
|
if len(projects) != 9:
|
||||||
raise SystemExit("milestone 09 expected all nine program prerequisite inventories")
|
raise SystemExit("milestone 09 expected all nine program prerequisite inventories")
|
||||||
manifest = (ROOT / "programs" / "Cargo.toml").read_text()
|
manifest = (ROOT / "programs" / "Cargo.toml").read_text()
|
||||||
if manifest.count("[[bin]]") != 9:
|
if manifest.count("[[bin]]") != len(projects) + 1 or 'name = "live-grid-smoke"' not in manifest:
|
||||||
raise SystemExit("milestone 09 expected all nine Rust program targets")
|
raise SystemExit(
|
||||||
|
"milestone 09 expected nine translated targets plus the release smoke target"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ SOURCES = tuple(
|
|||||||
ROOT / "crates" / "libremetaverse" / "src" / name
|
ROOT / "crates" / "libremetaverse" / "src" / name
|
||||||
for name in (
|
for name in (
|
||||||
"asset_cache.rs", "asset_manager.rs", "asset_material.rs",
|
"asset_cache.rs", "asset_manager.rs", "asset_material.rs",
|
||||||
"asset_models.rs", "object_material.rs", "transfers.rs",
|
"asset_models.rs", "mesh_asset.rs", "object_material.rs", "transfers.rs",
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
DOC = ROOT / "docs" / "assets.md"
|
DOC = ROOT / "docs" / "assets.md"
|
||||||
@@ -51,8 +51,9 @@ def main() -> None:
|
|||||||
raise SystemExit(f"issue 64 owned Rust stubs remain in {source.name}")
|
raise SystemExit(f"issue 64 owned Rust stubs remain in {source.name}")
|
||||||
require_markers(SOURCES[0], ("create_new(true)", "fs::rename", "CACHE_TARGET_PERCENT", "maybe_begin_prune"))
|
require_markers(SOURCES[0], ("create_new(true)", "fs::rename", "CACHE_TARGET_PERCENT", "maybe_begin_prune"))
|
||||||
require_markers(SOURCES[1], ("ViewerAsset", "TransferRequest", "TransferAbort", "UploadBakedTexture", "AssetUploadRequest"))
|
require_markers(SOURCES[1], ("ViewerAsset", "TransferRequest", "TransferAbort", "UploadBakedTexture", "AssetUploadRequest"))
|
||||||
require_markers(SOURCES[3], ("MAX_ASSET_BYTES", "VorbisEncoderBuilder", "J2kCodec", "serialize_llsd_binary"))
|
require_markers(SOURCES[3], ("MAX_ASSET_BYTES", "VorbisEncoderBuilder", "J2kCodec", "crate::mesh_asset::decode_asset_map"))
|
||||||
require_markers(NATIVE_TESTS, ("sound_and_texture_codecs_produce_real_valid_payloads", "cache_writes_are_atomic_and_corruption_is_typed", "cache_pruning_reclaims_old_entries"))
|
require_markers(SOURCES[4], ("deserialize_llsd_binary_prefix", "ZlibDecoder", "MAX_SECTION_BYTES"))
|
||||||
|
require_markers(NATIVE_TESTS, ("sound_codec_produces_real_valid_payload", "texture_codec_produces_real_valid_payload", "cache_writes_are_atomic_and_corruption_is_typed", "cache_pruning_reclaims_old_entries"))
|
||||||
require_markers(HTTP_TESTS, ("deduplicated_subscriber_cancellation_is_independent", "attempts.load(Ordering::Acquire), 1"))
|
require_markers(HTTP_TESTS, ("deduplicated_subscriber_cancellation_is_independent", "attempts.load(Ordering::Acquire), 1"))
|
||||||
require_markers(DOC, ("64 MiB", "independent cancellation", "out-of-order", "atomically rename", "90%"))
|
require_markers(DOC, ("64 MiB", "independent cancellation", "out-of-order", "atomically rename", "90%"))
|
||||||
print("issue 64 audit: native models/codecs, bounded LLUDP and capability transfers, independent dedup cancellation, atomic cache, documentation, and focused tests are present")
|
print("issue 64 audit: native models/codecs, bounded LLUDP and capability transfers, independent dedup cancellation, atomic cache, documentation, and focused tests are present")
|
||||||
|
|||||||
@@ -96,7 +96,12 @@ def check_catalog_ownership() -> None:
|
|||||||
raise SystemExit(
|
raise SystemExit(
|
||||||
f"{name}: non-native types={missing_types}, members={missing_members}"
|
f"{name}: non-native types={missing_types}, members={missing_members}"
|
||||||
)
|
)
|
||||||
if generate_api_shims.NATIVE_GENERATED_TYPES != RLV_GENERATED_TYPES:
|
generated_rlv_types = {
|
||||||
|
doc_id
|
||||||
|
for doc_id in generate_api_shims.NATIVE_GENERATED_TYPES
|
||||||
|
if doc_id.startswith("T:LibreMetaverse.RLV.")
|
||||||
|
}
|
||||||
|
if generated_rlv_types != RLV_GENERATED_TYPES:
|
||||||
raise SystemExit("milestone 10 generated-native RLV declaration set changed")
|
raise SystemExit("milestone 10 generated-native RLV declaration set changed")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user