Skip to content

google/boringssl

Mirror of BoringSSL

https://skillcdn.ai/gh/google/boringssl

Connect this address to your AI to use this skill. How to connect

  • Unverified
  • Default branchmain
  • Commit1008a51
  • LicenseApache-2.0
  • Searchwords
View on GitHub

run-pre-upload-checks

How to run local presubmit, formatting, filename, and documentation checks before uploading a BoringSSL change.

Path
_agents/skills/run_pre_upload_checks/SKILL.md
License
Apache-2.0

Warnings for the author

  • "name" should match the name of the directory that holds SKILL.md
  • Not listed through the skills extension: the directory must be named after the skill.

Running Pre-Upload Checks

Run the applicable local checks below before uploading a change, in addition to build_and_test.

CQ-Enforced Checks (Blocking)

  • Pre-generated files: Check that gen/ is up-to-date (see update_pregenerated_files, with clang on PATH).
  • Source filename uniqueness (when adding/renaming .c/.cc files): Run go run ./util/check_filenames.go (see util/check_filenames.go).
  • Public header docs (when modifying include/openssl/*.h): Run (cd util && go run doc.go -out /tmp/bssl-docs) (util/doc.go reads doc.config and doc.css from CWD and defaults -out to .).
  • Go unit tests (when modifying Go packages): Run go test $(cat util/go_tests.txt).

Style and Presubmit Checks (Non-Blocking on CQ)

These checks (including PRESUBMIT.py) are not enforced by CQ; run them when available locally, and treat missing local tools as non-blocking:

  • C/C++ formatting (outside third_party/ and gen/): git clang-format
  • Bazel formatting (*.bazel / *.bzl outside third_party/ and gen/): buildifier --mode=check <files...>
  • LUCI CQ config (when modifying infra/config/main.star): Follow infra/config/README.md.

Files of this skill

This skill has no supporting files.

Browse all supporting files