Add cross-platform Maester action smoke test#1986
Conversation
📝 WalkthroughWalkthroughChangesMaester tenant smoke testing
Estimated code review effort: 3 (Moderate) | ~25 minutes Sequence Diagram(s)sequenceDiagram
participant Trigger
participant Preflight
participant SmokeJob
participant MaesterAction
participant ResultsJson
participant ReportPublisher
participant PrivateReports
Trigger->>Preflight: Start workflow
Preflight->>SmokeJob: Permit trusted successful run
SmokeJob->>MaesterAction: Execute MT.1068 with approved credentials
MaesterAction->>ResultsJson: Write results
SmokeJob->>ResultsJson: Validate output and metadata
SmokeJob->>ReportPublisher: Publish HTML report
ReportPublisher->>PrivateReports: Create release and upload asset
Suggested labels: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Up to standards ✅🟢 Issues
|
Deploying maester with
|
| Latest commit: |
341197b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://f5025750.maester.pages.dev |
| Branch Preview URL: | https://codex-add-maester-action-smo.maester.pages.dev |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/maester-action-smoke-test.yaml:
- Line 31: Update publish-module-preview to emit the exact published
tag/version, then have the smoke workflow retrieve and use that value at job
start for workflow_run executions instead of inputs.maester_version; retain
preview only for manual or scheduled runs. Apply this in
.github/workflows/maester-action-smoke-test.yaml at lines 31 and 106, and update
.github/workflows/maester-action-smoke-test.md lines 73-75 to describe testing
the newly published preview after the protected workflow completes rather than
immediately.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 9710202a-14a0-4962-b058-041b3fe91388
📒 Files selected for processing (2)
.github/workflows/maester-action-smoke-test.md.github/workflows/maester-action-smoke-test.yaml
Summary
maester-smoke-testenvironment and verify Maester resultsSecurity
pull_requestorpushtriggercontents: readandid-token: writerepo:maester365/maester:environment:maester-smoke-testmaester365/maester-smoke-reports, reduced tocontents: writemaester365/core-module(plus unavoidable organization-owner administration) and deletes reports after 30 daysDeployment configuration
The protected GitHub Environment, dedicated Entra application, private report repository, and repository-scoped GitHub App have been provisioned following the setup guide.
none; the existing private.githubreaders were preserved explicitlymaester-smoke-reportshascore-moduleas its only explicit team and no direct collaboratorsdo-not-delete-maester-reportsis installed using Only select repositories with only the report repository selected and onlyContents: write/Metadata: readMAESTER_REPORTS_APP_CLIENT_IDandMAESTER_REPORTS_APP_PRIVATE_KEYare stored in the protected EnvironmentThe first manual smoke run after merge will still require approval from an authorized core maintainer.
Validation
actionlint .github/workflows/maester-action-smoke-test.yamlSummary by CodeRabbit