-
Notifications
You must be signed in to change notification settings - Fork 21
feat(remote-config)!: agentless RC fetcher #2112
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
Open
paullegranddc
wants to merge
78
commits into
main
Choose a base branch
from
paullgdc/remote_config/agentless_fetcher
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
6b761fb
feat: agentless RC fetcher
paullegranddc 1b42d8a
fix: cleanup code
paullegranddc b88902e
fix: typos
paullegranddc d4767a3
fix: trim rc target path
paullegranddc 02bb2ad
fix: respect agent refresh interval
paullegranddc d7468ec
feat: add extra TUF trust root
paullegranddc f1c5785
remove extra file
paullegranddc d734ac0
feat: get agent uuid from host
paullegranddc 2ac515a
fix: always emit a lowercased uuid
paullegranddc 1baa6e1
fix: remove intermediary cache
paullegranddc 45eac96
fix: remove debug statemements
paullegranddc f16100e
remove unduplicated deps
paullegranddc 348afbd
Merge branch 'main' into paullgdc/remote_config/agentless_fetcher
paullegranddc d263f05
fix:feature gate agntless and fix ubunut tests
paullegranddc 98e2d48
fix: feature gate more thngs
paullegranddc f716774
fix: feature gate the right way
paullegranddc 54b4e97
fix: path import
paullegranddc 66a32a1
fix: add timeout
paullegranddc 14997c6
Merge branch 'main' into paullgdc/remote_config/agentless_fetcher
paullegranddc 368ddab
feat: macro bench example
paullegranddc 1a812da
Merge branch 'main' into paullgdc/remote_config/agentless_fetcher
paullegranddc 3871300
feat: check delegations
paullegranddc b4ccbf4
fix: agent numeric type compatibility
paullegranddc 34ed6cd
fix: try to survive rc root rotation
paullegranddc 66d6572
fix: ignore path that we cant parse
paullegranddc 03d034f
fix: check that all paths match
paullegranddc 443ee87
fix: reduce comment velocity
paullegranddc 1f0cee1
fix: fmt
paullegranddc 97c7e24
feat: bump rust-tuf to get 64 bits integers
paullegranddc 610ba14
feat: cross check ourg uuid
paullegranddc c27c02a
fix: use host for agentles endpoint rather than authority
paullegranddc 16c27f8
Merge branch 'main' into paullgdc/remote_config/agentless_fetcher
paullegranddc 60463a2
fix: remove leftover debug statements
paullegranddc 6aeae54
fix: only reset backoff after successful apply
paullegranddc 26384f1
fix: enable git longpaths on windows to solve tuf rust download problems
paullegranddc ca8ab6d
Merge branch 'main' into paullgdc/remote_config/agentless_fetcher
paullegranddc 2c675ad
nit: add test instantiating with the site root
paullegranddc ad5693c
fix: remove unused return root version
paullegranddc abf56c4
fix: clippy lint
paullegranddc 2eea5a9
foix: update license-3rd party
paullegranddc c9e5623
fix: make agentless a non default feature
paullegranddc 1e35d18
fix: comments
paullegranddc c2ce920
fix: remove buggy special casing
paullegranddc 4da27df
fix: lints
paullegranddc 9f19208
nit: refactor comments
paullegranddc b4899ef
nit: use `rand` for jitter
paullegranddc dbfceeb
fix: backoff test
paullegranddc 99d4893
Merge branch 'main' into paullgdc/remote_config/agentless_fetcher
paullegranddc ed1963d
Merge branch 'main' into paullgdc/remote_config/agentless_fetcher
paullegranddc 53b7d74
fix: inherit fetcher http client
paullegranddc 453c998
refactor(remote-config): use checked conversions on lengths casts
paullegranddc bbe448b
style(remote-config): apply reviewer nits
paullegranddc ae2db99
style(agentless-rc): address more nits
paullegranddc bfb601e
fix: read exactly the correct number of bytes in the trusted target
paullegranddc 6dd5c2f
fix: clippy lint
paullegranddc 28f6733
style(remote-config): use inline format args in anuhow::bail calls
paullegranddc edf6200
feat(remote-config)!: enforce agentless invariants in AgentlessConfig…
paullegranddc 2eff6a2
fix: skip miri tests
paullegranddc fd9cd45
fix: set fake agent version to easily checkable value
paullegranddc be688a5
fix: address minor comments
paullegranddc 7d02f34
fix: use latest open source roots
paullegranddc c0b4091
refactor(remote-config): preserve TUF roots across reset()
paullegranddc 90716b0
refactor(remote-config)!: drop filesystem root override from Agentles…
paullegranddc bb6671e
nit(agentless-rc): make comment less verbose
paullegranddc 96144f6
fix: tests
paullegranddc 318d6a2
Merge branch 'main' into paullgdc/remote_config/agentless_fetcher
paullegranddc d58a58d
nit(agentless-rc): add todo comments
paullegranddc 1a13d95
fix: lint
paullegranddc 191cc25
refactor(remote-config)!: use parsed path directly in agentless imple…
paullegranddc b6b5e2b
fix: keep the lock around the cache while we feth and verify config …
paullegranddc 9e97eda
fix: use miri ignore attributes on actual tests
paullegranddc 166ea59
feat: add integrity check integration tests
paullegranddc 345c6fe
fix: remove agentless from default features
paullegranddc de53d77
fix: feature gate compilation errors
paullegranddc ca6226e
fix: make target file mutex public onoly to submodule
paullegranddc 8f6508e
fix: fmt
paullegranddc 18074d7
Merge branch 'main' into paullgdc/remote_config/agentless_fetcher
paullegranddc 57704bc
Merge branch 'main' of github.com:DataDog/libdatadog into paullgdc/re…
bwoebi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needed because the dependency on the rut-tuf git repo causes paths to be longer than what github supports by default and this breaks cargo fetching deps 😢