Skip to content

Nira feature reorder - #123

Merged
nradakovic merged 2 commits into
mainfrom
nira_feature_reorder
Aug 24, 2026
Merged

nradakovic merged 2 commits into
mainfrom
nira_feature_reorder

Conversation

@nradakovic

Copy link
Copy Markdown
Member

No description provided.

Reorder feature list

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a QNX-specific coverage smoke test and updates toolchain feature ordering to support bazel coverage runs in QNX CI.

Changes:

  • Introduces qnx_coverage_test and wires it into Bazel targets/suites.
  • Updates QNX + Linux toolchain feature ordering; adds a QNX gcov_runtime link feature.
  • Extends the QNX GitHub Actions workflow to run a bazel coverage smoke step.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
tests/feature_verification/qnx_coverage_test.cpp New QNX-focused coverage smoke test binary (cc_test)
tests/feature_verification/BUILD Adds qnx_coverage_test cc_test target
tests/BUILD Adds qnx_coverage_test to the feature verification test suite
templates/qnx/cc_toolchain_config.bzl.template Reorders warning features; adds always-enabled gcov_runtime link feature and reorders it
templates/linux/cc_toolchain_config.bzl.template Reorders warning features in the features list
.github/workflows/qnx.yml Adds a bazel coverage smoke-test step for QNX toolchain

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/qnx.yml Outdated
Comment on lines +102 to +105
bazel coverage --config ${{ matrix.bazel-config }} \
--combined_report=lcov \
--credential_helper=*.qnx.com="${QNX_CREDENTIAL_HELPER}" -- \
//feature_verification:qnx_coverage_test
Comment on lines +796 to +800
# Linked unconditionally (not gated behind the coverage feature) so that code
# calling gcov runtime functions directly (e.g. __gcov_dump) resolves even
# outside bazel coverage runs. Must come after libraries_to_link_feature in
# the features list: libgcov is a static archive, and the linker only pulls
# in archive members for symbols that are already undefined at that point
Comment on lines +14 to +18
// Coverage smoke test dedicated to QNX CI runners.
//
// Unlike feature_verification:coverage_test (which only needs to build and run
// on any host), this target is meant to be executed with `bazel coverage` on
// real QNX hardware/CI, to confirm the full build -> link -> execute -> gcov
Comment thread tests/BUILD
Comment on lines 47 to 51
"//feature_verification:pic_test",
"//feature_verification:preprocessor_defines_test",
"//feature_verification:pthread_test",
"//feature_verification:qnx_coverage_test",
"//feature_verification:random_seed_test",
Add fix for QNX coverage

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Suppressed comments (1)

.github/workflows/qnx.yml:105

  • The aarch64 matrix entry explicitly raises test timeouts because execution under QEMU is slow, but this new bazel coverage invocation does not forward matrix.extra-bazel-test-flags. Coverage executes the same emulated test with added instrumentation/gcov work, so the aarch64 job falls back to Bazel's default timeout and can fail even though the regular test step receives the required override. Pass the matrix flags to this command as well.
          bazel coverage --config ${{ matrix.bazel-config }} \
            --combined_report=lcov \
            --credential_helper=*.qnx.com="${QNX_CREDENTIAL_HELPER}" -- \
            //feature_verification:coverage_test

Comment on lines +1027 to +1030
minimal_warnings_feature,
strict_warnings_feature,
all_wall_warnings_feature,
warnings_as_errors_feature,
Comment on lines +811 to +814
minimal_warnings_feature,
strict_warnings_feature,
all_wall_warnings_feature,
warnings_as_errors_feature,

@AlexanderLanin AlexanderLanin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please judge AI feedback yourself

@nradakovic
nradakovic merged commit fb3c265 into main Aug 24, 2026
16 of 17 checks passed
@nradakovic
nradakovic deleted the nira_feature_reorder branch August 24, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants