Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

librarian: standardize owl-bot-staging directory resolution  #7011

Copy link
Copy link

Description

@quirogas
Issue body actions

Currently, multiple languages (nodejs, java, php, python) construct intermediate staging subdirectories named owl-bot-staging prior to running post-processing and code combination tools.
While all generators share the need to stage generated artifacts before finalizing output, each language package independently defines hardcoded string constants and custom directory nesting logic.
Standardizing owl-bot-staging creation, path formatting, and cleanup lifecycle under a common internal pattern will reduce duplicated code, prevent parallel-build race conditions during cleanup, and maintain consistent staging directory layouts across all SDK generators.

Language Code Locations (at time of issue)

1. Node.js Generator

2. Java Generator

3. PHP Generator

4. Python Generator

ngDir := filepath.Join(generationRoot, "owl-bot-staging", library.Name, stagingChildDirectory)

          
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.