finish()
The `GSpanAttributeWriter` was missing a call to `finish()` to ensure the changes are tagged and saved.