ossf / ossf/package-analysis

Move the scheduler's PubSub messages from metadata to body

Open
#505 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
912
Forks
74
PR merge metrics
No merged PRs in 30d

Description

The messages published by the scheduler for the workers are inside metadata rather than body.
They should be moved to body to be more consistent with convention and because JSON offers more structure

This would require defining a PkgIdentifier struct.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the scheduler's PubSub publishing path and the worker message handling code, then inspect how message metadata and body are defined. Define the requested PkgIdentifier struct and trace both producer and consumer paths to confirm the messages use body consistently. No specific files or tests are named in the issue, so identify the relevant validation or test coverage before starting.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
distributed-systems
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.