~/talk

Embracing the Replace: Our Journey to Fixing the Plugin System in HashiCorp Packer

Talkat GopherCon 2024 · 2024-07-07..07-10· [go]
links:none on file
slides:none on file

Fixes a broken Gob-based serialization in the shared cty type library by forking cty, reinstating Gob, backporting features and automating propagation to 40+ plugins using Go’s replace directive and a new packer sdk fix command; rollout runs over eight weeks with CI checks, Dependabot upgrade notes, and nightly internal builds; result: plugins keep working while a longer-term migration to protobuf and msgpack for serialization is developed and staged for release.

AI-written summary · about

  1. 0:00Introduction to Packer
  2. 0:30Packer architecture
  3. 1:14The critical dependency issue
  4. 1:50Impact of breaking changes
  5. 5:56Evaluating solutions
  6. 6:31The plan to fork cty
  7. 6:53Using go replace
  8. 7:29Automating the solution
  9. 7:47The packer-sdc tool
  10. 8:45Tooling and testing
  11. 9:40Dependabot rollout
  12. 10:08Current state and future
  13. 10:24Key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.