Commit 634ac96
## Summary
Removes the optional GCP Secret Manager build mode in `bin/gravity_node`
and reverts the workflow split that #713 forced as a band-aid.
- **`bin/gravity_node/Cargo.toml`** — drop the local
`gcp-secret-manager` forwarding feature. Instead pull the `gaptos` dep
with that feature always enabled (`features =
[\"gcp-secret-manager\"]`). `reqwest` + `base64` become a permanent part
of every `gravity_node` build.
- **`.github/workflows/release.yml`** — collapse the two-step
`gravity_node` / `gravity_cli` build back to the single pre-#713 step.
With the feature permanently on at the dep level, the explicit
`--features` flag (and the `-p gravity_node` scoping it required) is
redundant.
No upstream `gravity-aptos` change: the feature flag on `aptos-config`
is left in place; we just unconditionally enable it from this side.
`cargo` pin is unchanged at `e9544c8`.
## Why
The feature was a footgun. v1.6.0 shipped with `default = []` and the
Staging Mainnet VFNs auto-restart-looped on the panic in
`aptos-config/.../network_config.rs:281` because their identity source
is `gcp_secret`. #713 patched the workflow but the underlying design —
an optional build flag that every production deploy must remember to
enable — is what should go.
`reqwest` is already in the workspace via `gravity_cli`'s upload-side
`secret_manager.rs`, so making it unconditional in `aptos-config` (via
the gaptos feature being always on) does not introduce a new transitive
dep at workspace scope.
## Test plan
- [x] Local \`cargo check -p gravity_node --profile=quick-release\`
(with `RUSTFLAGS=\"--cfg tokio_unstable\"`) passes — finished in 2m27s.
Confirms `gaptos = { features = [\"gcp-secret-manager\"] }` resolves and
pulls `reqwest` + `base64` into the build graph.
- [ ] CI release workflow dry-run (PR-trigger) — the workflow attaches
\`release-dryrun-<sha>\` artifact when triggered on a PR. Single \`Build
gravity_node and gravity_cli\` step should succeed.
- [ ] After merge: cut a new release tag (e.g.
\`gravity-mainnet-v1.6.2\`), then verify on a Staging Mainnet VFN that
the panic at \`network_config.rs:281\` is gone and \`journalctl -u
gravity-vfn-1.service\` advances past the identity-load step.
## References
- #713 — the workflow-level fix this supersedes
- #710 — original release workflow that shipped without the feature
- #688 / #695 — the cluster.toml-side wiring that originally introduced
the optional build mode
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent cc982ac commit 634ac96
2 files changed
Lines changed: 3 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 67 | + | |
82 | 68 | | |
83 | 69 | | |
84 | 70 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 71 | + | |
92 | 72 | | |
93 | 73 | | |
94 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | 16 | | |
22 | 17 | | |
23 | 18 | | |
| |||
47 | 42 | | |
48 | 43 | | |
49 | 44 | | |
50 | | - | |
| 45 | + | |
51 | 46 | | |
52 | 47 | | |
53 | 48 | | |
| |||
0 commit comments