Complete source 6 engineering workflows and preserve release validation evidence
This commit is contained in:
@@ -157,7 +157,17 @@ fn cross_file_typed_ports_global_forward_references_and_stable_ids() {
|
||||
assert_eq!(again.decoded.project, result.decoded.project);
|
||||
assert_eq!(again.bundle, result.bundle);
|
||||
assert_eq!(again.index, result.index);
|
||||
assert!(result.decoded.migration.is_none());
|
||||
let migration = result.decoded.migration.as_ref().unwrap();
|
||||
assert_eq!(
|
||||
(migration.from_schema, migration.to_schema),
|
||||
(5, oa_core::SCHEMA_VERSION)
|
||||
);
|
||||
assert!(input.files[&input.entry].contains("arcadia 5;"));
|
||||
assert!(result.bundle.files[&result.bundle.entry].contains("arcadia 6;"));
|
||||
assert!(
|
||||
again.decoded.migration.is_none(),
|
||||
"stabilized current source must not migrate twice"
|
||||
);
|
||||
let project = &result.decoded.project;
|
||||
assert_eq!(
|
||||
project.relations[&id(project, "message")].source(),
|
||||
|
||||
Reference in New Issue
Block a user