Restore develop firebolt-open-rpc.json - #96
Open
swethasukumarr wants to merge 3 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Firebolt OpenRPC specification JSON to match the intended “develop” state by reformatting portions of the schema, updating example payloads, and restoring missing method entries.
Changes:
- Reformats
intentschemas (requiredandproperties) to a multi-line style without changing semantics. - Updates the
Stats.memoryUsageexample payload to byte-based field names/values. - Adds/restore spec entries for
Device.dolbyAtmosExperienceAvailableandLocalization.timeZone.
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 6 changed files in this pull request and generated no new comments.
Suppressed comments (3)
include/firebolt/actions.h:67
- This header is marked as auto-generated ("AUTO-GENERATED by fb-gen — DO NOT EDIT"). Manual formatting changes here are likely to be overwritten and can drift from generator output; please regenerate via fb-gen (or revert this change) instead of editing the generated file by hand.
virtual Result<void> start(const IntentData& intent, std::optional<std::string> handlerAppId = std::nullopt) const = 0;
fmt.sh:8
- fmt.sh runs a pipeline (git ls-files | xargs clang-format) under
set -ebut withoutpipefail, so a failure ingit ls-filescould be masked by a successfulxargs/clang-format run. Consider enabling-uandpipefailfor more robust failure propagation.
set -e
fmt.sh:42
- Even with stricter options in the outer script, the actual formatting command runs inside a separate
bash -c(local or in Docker). Addpipefailinside thatbash -csnippet so failures ingit ls-filesare not masked by the pipeline exit status.
if [[ "${1:-}" == "--fix" ]]; then
$RUN "set -e && git ls-files -- '*.cpp' '*.h' | xargs clang-format -i"
echo "Done. Files reformatted."
else
$RUN "set -e && git ls-files -- '*.cpp' '*.h' | xargs clang-format --dry-run --Werror"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.