Implement credential-safe programs smoke gate (#97)
Some checks failed
Native code generation / deterministic (push) Failing after 2m12s
Imaging and meshing gate / native (push) Failing after 5m40s
JPEG 2000 feature / linux (push) Successful in 2m50s
Native Rust workspace compile / compile (push) Failing after 56s
Skia feature / linux (push) Successful in 31m24s

This commit is contained in:
2026-08-11 17:04:40 +00:00
parent 66f10baa1b
commit a9e2711447
18 changed files with 2216 additions and 25 deletions

View File

@@ -54,7 +54,7 @@ fn run(args: &[&str]) -> Output {
#[test]
#[allow(clippy::too_many_lines)]
fn full_offline_session_exercises_every_remaining_non_voice_command() {
fn full_offline_session_exercises_every_remaining_service_and_voice_command() {
let directory = TestDir::new();
let script = directory.write(&format!(
"!client\t{CLIENT}\tAlice\tBot\n\
@@ -106,6 +106,8 @@ fn full_offline_session_exercises_every_remaining_non_voice_command() {
invitegroup {AVATAR} {GROUP} {ROLE} --confirm\n\
joingroup Builders Guild --confirm\n\
leavegroup Builders Guild --confirm\n\
voiceparcel\n\
voiceaccount\n\
quit\n"
));
let output = run(&[
@@ -154,6 +156,8 @@ fn full_offline_session_exercises_every_remaining_non_voice_command() {
"invited",
"Joined the group Builders Guild",
"has left the group Builders Guild",
"Parcel voice info: region-name-present=true, parcel-local-id=42, channel=<redacted>",
"Voice account provisioned: credentials=<redacted>",
"CALL profile-clone",
"CALL generic-message",
"CALL animation-start",
@@ -162,6 +166,8 @@ fn full_offline_session_exercises_every_remaining_non_voice_command() {
"CALL group-invite",
"CALL group-join",
"CALL group-leave",
"CALL voice-parcel-info",
"CALL voice-provision-account credentials=<redacted>",
] {
assert!(stdout.contains(expected), "missing {expected:?}:\n{stdout}");
}
@@ -207,9 +213,6 @@ fn social_mutations_require_startup_and_per_command_confirmation() {
}
#[test]
fn command_inventory_leaves_only_explicit_voice_adapters() {
assert_eq!(
libremetaverse_programs::test_client::pending_test_client_commands(),
["ParcelVoiceInfo", "VoiceAcountCommand"]
);
fn command_inventory_has_no_pending_source_commands() {
assert!(libremetaverse_programs::test_client::pending_test_client_commands().is_empty());
}