Skip to content

Conversation

@cjreynol
Copy link
Collaborator

@cjreynol cjreynol commented Jan 27, 2026

Bug: 442664611

@cjreynol cjreynol self-assigned this Jan 27, 2026
@cjreynol cjreynol added kokoro:force-run Trigger a presubmit build unconditionally. kokoro:run Run e2e tests. labels Jan 27, 2026
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed kokoro:run Run e2e tests. kokoro:force-run Trigger a presubmit build unconditionally. labels Jan 27, 2026
@cjreynol cjreynol requested a review from Databean January 27, 2026 18:43
@cjreynol cjreynol force-pushed the metrics_data_policy branch from cfdbbe9 to 0e57723 Compare January 29, 2026 02:43
@cjreynol cjreynol requested a review from Databean January 29, 2026 02:49
@cjreynol cjreynol force-pushed the metrics_data_policy branch 2 times, most recently from 37df759 to 0a652d8 Compare January 29, 2026 04:18
@cjreynol cjreynol added kokoro:force-run Trigger a presubmit build unconditionally. kokoro:run Run e2e tests. labels Jan 29, 2026
@cjreynol cjreynol enabled auto-merge January 29, 2026 04:18
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed kokoro:run Run e2e tests. kokoro:force-run Trigger a presubmit build unconditionally. labels Jan 29, 2026
To be used as a target for converting the flag's string value.
Also, remove the unused/unhandled `create_if_missing` option from the
`data_policy` flag help text.
Otherwise, the source file will need to explicitly instantiate the
templates for all types.  Since we want to expand the list (for instance
with the new `DataImagePolicy` enum, that will be inconvenient.

Keep the destructor pure-virtual to avoid `FlagBase` instantiation:
"Pure virtual destructors" section of https://en.cppreference.com/w/cpp/language/destructor.html

`extern template` common flag types, to avoid some amount of template
bloat.  This does not require future `FlagBase` instantiations to update
the `flag_base` header or source files like the previous version,
however.
To re-use the same parsing logic for metrics gathering.

Bug:442664611
Not yet converted for transmission, but available.

Bug: 442664611
@cjreynol cjreynol force-pushed the metrics_data_policy branch from 0a652d8 to 509ac5d Compare January 29, 2026 23:27
@cjreynol cjreynol disabled auto-merge January 31, 2026 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants