Draft: Add policy bypass column to siphon_ci_pipeline_metadata

What does this MR do and why?

Adds a security_policy_protected_branch_bypassed Bool column to the siphon_ci_pipeline_metadata ClickHouse table.

The Postgres table ci_pipeline_metadata gains this column in a follow-up MR to record approval policy bypass decisions. Since the table is replicated to ClickHouse via Siphon, spec/db/clickhouse_siphon_tables_spec.rb enforces column parity, so the ClickHouse column must merge first.

No data is written to the column by this MR.

References

How to set up and validate locally

  1. Run bundle exec rake gitlab:clickhouse:migrate
  2. Verify the column exists: SHOW CREATE TABLE siphon_ci_pipeline_metadata

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist.

Merge request reports

Loading