Skip to content

fix(aggregator): collector egress proxy env (projects section was silently omitted under the systemd unit) - #992

Merged
dezren39 merged 1 commit into
mainfrom
fix/collector-egress-proxy
Oct 26, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fix/collector-egress-proxy

Conversation

@dezren39

@dezren39 dezren39 commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

Under the fleet-feed-collector unit's minimal env, push-fleet-feed.sh ran the collector before any proxy was configured: the collector's Bitwarden fetch (github.project-token) and GitHub GraphQL read failed fail-soft, omitting the #910 stage-5 projects section from every unit-produced feed. This exports the same proxy credential the push already uses (env only, never argv, per #948) plus NO_PROXY for loopback/tailnet reads, before the collector runs. Guard script passes; clean-env end-to-end run yields 'projects 27 items' and a successful push.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Under the fleet-feed-collector systemd unit's minimal env, the
collector ran with no proxy: its Bitwarden fetch (GitHub Project
token) and api.github.com GraphQL read both failed fail-soft, so
the projects section (#910 stage 5) was silently omitted from
every unit-produced feed. Export the same proxy credential the
push uses (env only, never argv — #948) plus NO_PROXY for
loopback/tailnet reads, before invoking the collector.

Verified: clean-env run (env -i, HOME pinned) produces
'projects 27 items' and pushes; push-fleet-feed.guard.sh passes.
@dezren39
dezren39 requested a review from a team as a code owner October 26, 2026 16:54
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T16:55:35.315326Z af2bc9f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39
dezren39 merged commit 8debcac into main Oct 26, 2026
3 of 4 checks passed
@dezren39
dezren39 deleted the fix/collector-egress-proxy branch October 26, 2026 16:54
@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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