Skip to content

chore: regenerate with fabrica v0.4.9#27

Merged
synackd merged 5 commits into
mainfrom
26-regenerate-with-fabrica-v049-to-incorporate-featuresfixes
Jul 22, 2026
Merged

chore: regenerate with fabrica v0.4.9#27
synackd merged 5 commits into
mainfrom
26-regenerate-with-fabrica-v049-to-incorporate-featuresfixes

Conversation

@synackd

@synackd synackd commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Description

Fixes #26

Note

.github/workflows/codegen-check.yaml needed to be modified to use the proper Fabrica version. That is, the one in go.mod.

Checklist

  • My code follows the style guidelines of this project
  • I have added/updated comments where needed
  • I have added tests that prove my fix is effective or my feature works
  • I have run make test (or equivalent) locally and all tests pass
  • DCO Sign-off: All commits are signed off (git commit -s) with my real name and email
  • REUSE Compliance:
    • Each new/modified source file has SPDX copyright and license headers
    • Any non-commentable files include a <filename>.license sidecar
    • All referenced licenses are present in the LICENSES/ directory

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Dependencies update

For more info, see Contributing Guidelines.

Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
@synackd synackd linked an issue Jul 20, 2026 that may be closed by this pull request
@synackd
synackd force-pushed the 26-regenerate-with-fabrica-v049-to-incorporate-featuresfixes branch 3 times, most recently from bf42f85 to 04ff103 Compare July 21, 2026 19:43
The:

  go run github.com/openchami/fabrica@<version>

invocation does not work because the "generated by" lines in the
generated files do not get the fabrica version populated.

Therefore, fabrica needs to be built locally using the local build
system to properly ingrain the version.

Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
@synackd
synackd force-pushed the 26-regenerate-with-fabrica-v049-to-incorporate-featuresfixes branch from bd8b37e to 6c8cea5 Compare July 21, 2026 21:11
@synackd
synackd marked this pull request as ready for review July 21, 2026 21:20
@synackd

synackd commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

This was tested with OpenCHAMI/release#50 using the following config file:

---
# boot-service config file

# boot-service listen port
port: 8081

# Toggles enablement of legacy, BSS-compatible boot API (/boot/v1)
enable_legacy_api: false

# Enable token authentication (requires tokensmith_url)
enable_auth: true
tokensmith_url: 'http://tokensmith:8080'
tokensmith_target_service: 'smd'

# URL to inventory service for syncing node/BMC data
hsm_url: 'http://smd:27779'
hsm_sync_enabled: true

This worked to boot a VM.

synackd added 3 commits July 21, 2026 17:24
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
Signed-off-by: Devon Bautista <17506592+synackd@users.noreply.github.com>
@synackd

synackd commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

Metrics enabled and tested enabling/disabling with enable_metrics in the config file and behavior was as expected. false returned a 404 when querying /metrics and true returned the expected metrics.

@davidallendj davidallendj 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.

Can confirm that the /metrics endpoint worked like expected when both enabled and disabled. I'll go ahead and approve.

@synackd
synackd merged commit a55a193 into main Jul 22, 2026
6 checks passed
@synackd
synackd deleted the 26-regenerate-with-fabrica-v049-to-incorporate-featuresfixes branch July 22, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regenerate with fabrica v0.4.9 to incorporate features/fixes

2 participants