Skip to content

Conversation

@pb8o
Copy link
Contributor

@pb8o pb8o commented Oct 21, 2024

Changes

Ensure the gdb feature is not enabled in releases.

Reason

We want to prevent accidentally running a gdb/debug build in production.

License Acceptance

By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md.

PR Checklist

  • If a specific issue led to this PR, this PR closes the issue.
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this
    PR.
  • API changes follow the Runbook for Firecracker API changes.
  • User-facing changes are mentioned in CHANGELOG.md.
  • All added/changed functionality is tested.
  • New TODOs link to an issue.
  • Commits meet
    contribution quality standards.

  • This functionality cannot be added in rust-vmm.

pb8o added 2 commits October 21, 2024 10:05
While the gdb feature can be optionally enabled, we want to ensure that
in the future it is not enabled by mistake in a release build.

Signed-off-by: Pablo Barbáchano <[email protected]>
Document that the 06:00 MAC prefix is just a locally defined one so it
should not conflict with other devices. Also the choice seems arbitrary.

Signed-off-by: Pablo Barbáchano <[email protected]>
@pb8o pb8o added Priority: Medium Indicates than an issue or pull request should be resolved ahead of issues or pull requests labelled Status: Awaiting author Indicates that an issue or pull request requires author action Release Indicates that an issue or pull request is part of the next release labels Oct 21, 2024
@pb8o pb8o self-assigned this Oct 21, 2024
@codecov
Copy link

codecov bot commented Oct 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.05%. Comparing base (1881187) to head (ebea47f).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4861   +/-   ##
=======================================
  Coverage   84.05%   84.05%           
=======================================
  Files         251      251           
  Lines       28061    28061           
=======================================
  Hits        23588    23588           
  Misses       4473     4473           
Flag Coverage Δ
5.10-c5n.metal 84.68% <ø> (ø)
5.10-m5n.metal 84.66% <ø> (-0.01%) ⬇️
5.10-m6a.metal 83.97% <ø> (ø)
5.10-m6g.metal 80.67% <ø> (ø)
5.10-m6i.metal 84.66% <ø> (-0.02%) ⬇️
5.10-m7g.metal 80.67% <ø> (ø)
6.1-c5n.metal 84.68% <ø> (ø)
6.1-m5n.metal 84.67% <ø> (+<0.01%) ⬆️
6.1-m6a.metal 83.97% <ø> (ø)
6.1-m6g.metal 80.66% <ø> (-0.01%) ⬇️
6.1-m6i.metal 84.67% <ø> (ø)
6.1-m7g.metal 80.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pb8o pb8o added Status: Awaiting review Indicates that a pull request is ready to be reviewed and removed Status: Awaiting author Indicates that an issue or pull request requires author action labels Oct 21, 2024
@pb8o pb8o marked this pull request as ready for review October 21, 2024 08:35
@pb8o pb8o merged commit a0f1c6f into firecracker-microvm:main Oct 21, 2024
11 checks passed
@pb8o pb8o deleted the test-no-gdb-in-release branch October 21, 2024 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Medium Indicates than an issue or pull request should be resolved ahead of issues or pull requests labelled Release Indicates that an issue or pull request is part of the next release Status: Awaiting review Indicates that a pull request is ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants