Skip to content

map_v2.1.16 - #643

Merged
colby-nyce merged 3 commits into
map_v2.1from
colby-nyce/map_v2.1.16
Feb 1, 2026
Merged

map_v2.1.16#643
colby-nyce merged 3 commits into
map_v2.1from
colby-nyce/map_v2.1.16

Conversation

@colby-nyce

@colby-nyce colby-nyce commented Feb 1, 2026

Copy link
Copy Markdown
Contributor

Cherry picked:

commit b78c3eddf1ab404b2158ccb95a12a0a03becd842 (HEAD -> master, origin/master, origin/HEAD)
Author: colby-nyce <iheartridleyman@gmail.com>
Date:   Sun Feb 1 12:55:47 2026 -0600

    TreeNode extensions bug fixes (#642)

commit b8b1700e31f35c3066fb74467ac4eb46aecd5258
Author: colby-nyce <iheartridleyman@gmail.com>
Date:   Fri Jan 30 12:56:00 2026 -0600

    Add --simdb-file cmdline option (#641)

commit 62c38885ef6a699fce9624dc655b89e0bca9baaa
Author: colby-nyce <iheartridleyman@gmail.com>
Date:   Thu Jan 29 11:05:53 2026 -0600

    CommandLineSimulator: multiple app instances (#640)

This follow-up PR fixes the backwards compatibility issue discussed
here:

#621

The source of the bug boils down to this:
- specify extensions in extension/arch/config file
- run the simulation with `--write-final-config`
- at runtime, register an extension factory
- then create the extension with `getExtension()` (implicit) or
`createExtension()` (explicit)
- extension subclass `postCreate()` method is called
- in `postCreate()`, add some more parameters with default values

The bug as reported is that the final config YAML file only has the
extension parameters that were given in the input YAML files. The
default values added in `postCreate()` do not appear in the final config
YAML file. This is different than the first extensions implementation
where all parameters are written to the final config regardless.

These changes have been tested against Olympia and all regressions pass
with no changes required to the Olympia source code. I also manually
verified that all parameters show up the same way as before in the final
config using the ticket's repro command:

`./olympia --write-final-config baseline.yaml --no-run`

This was also qualified against internal simulators with the only source
changes outlined in an internal ticket.

I'll assign the ticket back to Zen to qualify/close it when this PR is
merged.
@colby-nyce
colby-nyce marked this pull request as ready for review February 1, 2026 19:14
@colby-nyce
colby-nyce merged commit 427b5b7 into map_v2.1 Feb 1, 2026
1 check passed
@colby-nyce
colby-nyce deleted the colby-nyce/map_v2.1.16 branch February 1, 2026 19:14
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.

1 participant