-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metaschema Doc Generator Marks Certain Assemblies Empty When They Aren't #225
Comments
We need to do further testing on this but there was only a slight model change so it is not clear what is happening but as of now on develop it seems to be that lots of assemblies are marked |
@wendellpiez, I brought this up in a weekly status update as a potential blocker, but not confirmed yet. @david-waltermire-nist asked Wendell and I sync up. I will move this along in the triage progression to "Further Analysis Needed" and determine if it is in fact a bug and prioritize it. |
It appears whatever was reported and was happening reliably when I was using the current commit for usnistgov/OSCAL develop branch module[0] has now gone away when updating a few commits to current develop commit in the submodule[1], ahead of usnistgov/OSCAL check-in. It appears it was maybe fixed between the following commit range. [0] https://github.com/usnistgov/metaschema/tree/f28a588f0e9ac013125ed0f118f0fcaef4d1a6e2 [1] usnistgov/metaschema@a11515b Can attempt to do `git blame` or further analysis at a later date.
It appears whatever was reported and was happening reliably when I was using the current commit for usnistgov/OSCAL develop branch module[0] has now gone away when updating a few commits to current develop commit in the submodule[1], ahead of usnistgov/OSCAL check-in. It appears it was maybe fixed between the following commit range. [0] usnistgov/metaschema@f28a588 [1] usnistgov/metaschema@a11515b Can attempt to do `git blame` or further analysis at a later date.
Per the above commit message in the rules feature branch of OSCAL at usnistgov/OSCAL@6a134f0, this may be fixed. Can bring this up during the next triage meeting tomorrow or Tuesday of next week and determine a resolution state. 🤷 |
We discussed this in our sprint planning. Dave pointed out it is not entirely resolved. At a11515b in my rules branch, it does still show |
I think I need to do more digging because it appears the recursive definition terminating with |
OK, @wendellpiez and I paired this afternoon, and I learned a lot will be able to commit a fix shortly. So, here is a quick write-up of When is
|
Wendell and I did some further asynchronous debugging and he recommended a more optimal fix where we tighten an existing template in the element map to HTML builder. This original template match of |
See more details about analysis and PR changes below: usnistgov#225 (comment) usnistgov#225 (comment)
See more details about analysis and PR changes below: usnistgov#225 (comment) usnistgov#225 (comment) Co-authored-by: Wendell Piez <[email protected]>
See more details about analysis and PR changes below: #225 (comment) Co-authored-by: Wendell Piez <[email protected]>
Per discussion in status meeting, we intend for this to bubble from |
See more details about analysis and PR changes below: #225 (comment) Co-authored-by: Wendell Piez <[email protected]>
See more details about analysis and PR changes below: usnistgov#225 (comment) Co-authored-by: Wendell Piez <[email protected]>
See more details about analysis and PR changes below: usnistgov#225 (comment) Co-authored-by: Wendell Piez <[email protected]>
See more details about analysis and PR changes below: usnistgov#225 (comment) Co-authored-by: Wendell Piez <[email protected]>
See more details about analysis and PR changes below: usnistgov#225 (comment) Co-authored-by: Wendell Piez <[email protected]>
See more details about analysis and PR changes below: usnistgov#225 (comment) Co-authored-by: Wendell Piez <[email protected]>
See more details about analysis and PR changes below: usnistgov#225 (comment) Co-authored-by: Wendell Piez <[email protected]>
See more details about analysis and PR changes below: #225 (comment) Co-authored-by: Wendell Piez <[email protected]>
See more details about analysis and PR changes below: usnistgov/metaschema#225 (comment) Co-authored-by: Wendell Piez <[email protected]>
Describe the bug
During development in usnistgov/OSCAL#1160, we were running the generate-model-documentation.
Who is the bug affecting?
NIST OSCAL developers working on model updates.
What is affected by this bug?
Proper documentation generation for model reference docs.
When does this occur?
Consistently
How do we replicate the issue?
docs
directorycd path/to/OSCAL/docs
docker-compose
container and dev environment is up to date:docker-compose down -v
anddocker-compose build
docker-compose run docs /oscal/build/ci-cd/generate-schema.sh -v
docker-compose run docs /oscal/build/ci-cd/generate-model-documentation.sh -v
hugo server --enableGitInfo=false --verbose --minify --bind 0.0.0.0
Expected behavior (i.e. solution)
Per usnistgov/OSCAL#1365, it was working before and the assemblies are properly filled out and not empty.
Other Comments
N/A
The text was updated successfully, but these errors were encountered: