Skip to content

Conversation

@rcseacord
Copy link
Collaborator

No description provided.

@netlify
Copy link

netlify bot commented Dec 17, 2025

Deploy Preview for scrc-coding-guidelines failed.

Name Link
🔨 Latest commit 7f00973
🔍 Latest deploy log https://app.netlify.com/projects/scrc-coding-guidelines/deploys/6942d6e8de7b9900083ef1b6

@rcseacord rcseacord requested a review from PLeVasseur December 17, 2025 15:21
@rcseacord rcseacord marked this pull request as draft December 17, 2025 15:21
@rcseacord rcseacord self-assigned this Dec 17, 2025
@felix91gr
Copy link
Collaborator

Interesting rule. Are we sure there aren't safety-critical systems which have at least one thread that loops forever? @rcseacord

@rcseacord
Copy link
Collaborator Author

rcseacord commented Dec 17, 2025

Interesting rule. Are we sure there aren't safety-critical systems which have at least one thread that loops forever? @rcseacord

@felix91gr quite possibly. the philosophy behind this rule (which is quite common in MISRA) is that this is pretty dangerous and so it should always be flagged by the analyzer. any time you have an infinite loop in your code will require a deviation permit, meaning that that infinite loops will always be scrutinized more carefully (presumably by a senior engineer who audits these things).

Presumably there aren't many of these in any given system (I would guess at most one) so the burden isn't that high.

@PLeVasseur PLeVasseur added the coding guideline An issue related to a suggestion for a coding guideline label Dec 17, 2025
@PLeVasseur PLeVasseur removed their request for review December 17, 2025 22:50
@PLeVasseur PLeVasseur added coding guideline An issue related to a suggestion for a coding guideline and removed coding guideline An issue related to a suggestion for a coding guideline labels Dec 17, 2025
@github-actions github-actions bot requested review from AlexCeleste and removed request for AlexCeleste December 17, 2025 22:57
@PLeVasseur PLeVasseur added coding guideline An issue related to a suggestion for a coding guideline and removed coding guideline An issue related to a suggestion for a coding guideline labels Dec 17, 2025
@github-actions github-actions bot requested review from PLeVasseur and removed request for PLeVasseur December 17, 2025 23:10
@github-actions github-actions bot added decidability: decidable A coding guideline which can be checked automatically and removed chapter: values labels Dec 17, 2025
@github-actions github-actions bot requested review from AlexCeleste and PLeVasseur and removed request for PLeVasseur December 17, 2025 23:44
@github-actions github-actions bot added decidability: undecidable A coding guideline which cannot be checked automatically and removed decidability: decidable A coding guideline which can be checked automatically labels Dec 17, 2025
@PLeVasseur PLeVasseur removed the request for review from AlexCeleste December 18, 2025 00:22
@github-actions github-actions bot requested review from PLeVasseur and removed request for PLeVasseur December 18, 2025 00:24
@PLeVasseur
Copy link
Collaborator

@guidelines-bot /commands

@github-actions
Copy link
Contributor

ℹ️ Available Commands

Pass or step away:

  • @guidelines-bot /pass [reason] - Pass this review to next in queue
  • @guidelines-bot /away YYYY-MM-DD [reason] - Step away from queue until a date
  • @guidelines-bot /release [reason] - Release your assignment (leaves issue/PR unassigned)

Assign reviewers:

  • @guidelines-bot /r? @username - Assign a specific reviewer
  • @guidelines-bot /r? producers - Request the next reviewer from the queue
  • @guidelines-bot /claim - Claim this review for yourself

Other:

  • @guidelines-bot /label +label-name - Add a label
  • @guidelines-bot /label -label-name - Remove a label
  • @guidelines-bot /queue - Show current queue status
  • @guidelines-bot /sync-members - Sync queue with members.md

@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
@rustfoundation rustfoundation deleted a comment from github-actions bot Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chapter: expressions coding guideline An issue related to a suggestion for a coding guideline decidability: undecidable A coding guideline which cannot be checked automatically

Development

Successfully merging this pull request may close these issues.

3 participants